diff options
Diffstat (limited to 'chapter08/grub.xml')
-rw-r--r-- | chapter08/grub.xml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chapter08/grub.xml b/chapter08/grub.xml index 3ccad5339..970194b57 100644 --- a/chapter08/grub.xml +++ b/chapter08/grub.xml @@ -38,7 +38,7 @@ files -- you can use the Tab key everywhere to make Grub show the alternatives:< boot menu:</para> <screen><userinput>cat > /boot/grub/menu.lst << "EOF" -# Begin /boot/grub/menu.lst +<literal># Begin /boot/grub/menu.lst # By default boot the first menu entry. default 0 @@ -52,26 +52,26 @@ color green/black light-green/black # The first entry is for LFS. title LFS &version; root (hd0,3) -kernel /boot/lfskernel-&linux-version; root=/dev/hda4 +kernel /boot/lfskernel-&linux-version; root=/dev/hda4</literal> EOF</userinput></screen> <para>You may want to add an entry for your host distribution. It might look like this:</para> <screen><userinput>cat >> /boot/grub/menu.lst << "EOF" -title Red Hat +<literal>title Red Hat root (hd0,2) kernel /boot/kernel-2.4.20 root=/dev/hda3 -initrd /boot/initrd-2.4.20 +initrd /boot/initrd-2.4.20</literal> EOF</userinput></screen> <para>Also, if you happen to dual-boot Windows, the following entry should allow booting it:</para> <screen><userinput>cat >> /boot/grub/menu.lst << "EOF" -title Windows +<literal>title Windows rootnoverify (hd0,0) -chainloader +1 +chainloader +1</literal> EOF</userinput></screen> <para>The FHS stipulates that Grub's menu.lst file should be symlinked to |