diff --git a/nixos/doc/manual/administration/boot-problems.xml b/nixos/doc/manual/administration/boot-problems.xml index 5fa0b29e6d6..badc374ebcf 100644 --- a/nixos/doc/manual/administration/boot-problems.xml +++ b/nixos/doc/manual/administration/boot-problems.xml @@ -19,9 +19,9 @@ - Start a root shell if something goes wrong in stage 1 of the boot process - (the initial ramdisk). This is disabled by default because there is no - authentication for the root shell. + Allows the user to start a root shell if something goes wrong in stage 1 + of the boot process (the initial ramdisk). This is disabled by default + because there is no authentication for the root shell. @@ -49,6 +49,22 @@ + + + boot.debug1mounts + + + + Like boot.debug1 or + boot.debug1devices, but runs stage1 until all + filesystems that are mounted during initrd are mounted (see + + ). As a motivating example, this could be useful if you've forgotten to set + + on a file system. + + + boot.trace @@ -90,6 +106,15 @@ 1. + + Notice that for boot.shell_on_fail, + boot.debug1, boot.debug1devices, and + boot.debug1mounts, if you did not + select "start the new shell as pid 1", and you exit from + the new shell, boot will proceed normally from the point where it failed, as + if you'd chosen "ignore the error and continue". + + If no login prompts or X11 login screens appear (e.g. due to hanging dependencies), you can press Alt+ArrowUp. If you’re lucky, this will start