aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/nixos/doc/manual/administration/boot-problems.xml
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/nixos/doc/manual/administration/boot-problems.xml')
-rw-r--r--nixpkgs/nixos/doc/manual/administration/boot-problems.xml31
1 files changed, 28 insertions, 3 deletions
diff --git a/nixpkgs/nixos/doc/manual/administration/boot-problems.xml b/nixpkgs/nixos/doc/manual/administration/boot-problems.xml
index 5fa0b29e6d6..e0f66284010 100644
--- a/nixpkgs/nixos/doc/manual/administration/boot-problems.xml
+++ b/nixpkgs/nixos/doc/manual/administration/boot-problems.xml
@@ -19,9 +19,9 @@
</term>
<listitem>
<para>
- 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.
</para>
</listitem>
</varlistentry>
@@ -51,6 +51,22 @@
</varlistentry>
<varlistentry>
<term>
+ <literal>boot.debug1mounts</literal>
+ </term>
+ <listitem>
+ <para>
+ Like <literal>boot.debug1</literal> or
+ <literal>boot.debug1devices</literal>, but runs stage1 until all
+ filesystems that are mounted during initrd are mounted (see
+ <option><link linkend="opt-fileSystems._name_.neededForBoot">neededForBoot</link></option>
+ ). As a motivating example, this could be useful if you've forgotten to set
+ <option><link linkend="opt-fileSystems._name_.neededForBoot">neededForBoot</link></option>
+ on a file system.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
<literal>boot.trace</literal>
</term>
<listitem>
@@ -91,6 +107,15 @@
</para>
<para>
+ Notice that for <literal>boot.shell_on_fail</literal>,
+ <literal>boot.debug1</literal>, <literal>boot.debug1devices</literal>, and
+ <literal>boot.debug1mounts</literal>, if you did <emphasis>not</emphasis>
+ select "start the new shell as pid 1", and you <literal>exit</literal> from
+ the new shell, boot will proceed normally from the point where it failed, as
+ if you'd chosen "ignore the error and continue".
+ </para>
+
+ <para>
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
rescue mode (described above). (Also note that since most units have a