aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2009-11-30 04:30:48 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2009-11-30 04:30:48 +0000
commit312e7ddeb4da7ca55e4f02b8207a31e75688d627 (patch)
treeb884791741a9da619bbad3d76b7c70d6b55f99b7 /chapter08
parentf4e157affe3d4a1927ed79e3d98a90364f574a25 (diff)
Provided more information about grub configuration.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9122 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter08')
-rw-r--r--chapter08/grub.xml16
1 files changed, 14 insertions, 2 deletions
diff --git a/chapter08/grub.xml b/chapter08/grub.xml
index 355a7eea3..1284360e1 100644
--- a/chapter08/grub.xml
+++ b/chapter08/grub.xml
@@ -193,7 +193,11 @@ grub> boot</userinput></screen>
<para>Update the MBR with:</para>
-<screen role="nodump"><userinput>grub-setup</userinput></screen>
+<screen role="nodump"><userinput>grub-setup '&lt;DEVICE&gt;'</userinput></screen>
+
+ <para>Change the DEVICE above to your boot disk, normally '(hd0)' or /dev/sda.
+ If using (hd0) be sure to escape the parentheses with backslashes or single
+ quotes to prevent the shell from interpreting them as a sub-shell.</para>
<para>This program uses the following defaults and are correct if you did not
deviate from the instructions above:</para>
@@ -203,9 +207,17 @@ grub> boot</userinput></screen>
<listitem><para>core image - core.img </para></listitem>
<listitem><para>directory - /boot/grub</para></listitem>
<listitem><para>device map - device.map</para></listitem>
- <listitem><para>root device - guessed </para></listitem>
+ <listitem><para>default root setting - guessed</para></listitem>
</itemizedlist>
+ <note><para>The root setting is the default value if a 'set root'
+ instruction is not found in grub.cfg. This is the partition that is
+ searched for the kernel and other supporting files. It is different from
+ the 'root=' parameter on the 'linux' line in the configuration line. The
+ later is the partition the kernel mounts as '/'. In the example grub.cfg
+ above, both values point to /dev/sda2, but if there is a separate boot
+ partition, they will be different.</para></note>
+
</sect2>
</sect1>