Allow starting a shell on stage 1 failure

When people copy the ISO to USB it can happen that the root device isn't known. Having a shell greatly improves that situation.
This commit is contained in:
wmertens 2014-11-15 00:14:26 +01:00
parent 5cad555ab1
commit 0b34eb1493

View File

@ -176,7 +176,10 @@ in
# UUID of the USB stick. It would be nicer to write
# `root=/dev/disk/by-label/...' here, but UNetbootin doesn't
# recognise that.
boot.kernelParams = [ "root=LABEL=${config.isoImage.volumeID}" ];
boot.kernelParams =
[ "root=LABEL=${config.isoImage.volumeID}"
"boot.shell_on_fail"
];
fileSystems."/" =
{ fsType = "tmpfs";