aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/grub.xml
diff options
context:
space:
mode:
authorManuel Canales Esparcia <manuel@linuxfromscratch.org>2005-01-30 12:51:22 +0000
committerManuel Canales Esparcia <manuel@linuxfromscratch.org>2005-01-30 12:51:22 +0000
commitd72e04ae7c868b734e3ad39982b169c71444f541 (patch)
tree8009bd8eb42c8b44e5c78decfd41c579e74a2c3b /chapter08/grub.xml
parentbce08efc719e0824225490272cefa848a2313b24 (diff)
Added <literal> tags.
Added NEW comments to commands that differs from testing. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4599 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter08/grub.xml')
-rw-r--r--chapter08/grub.xml12
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 &gt; /boot/grub/menu.lst &lt;&lt; "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 &gt;&gt; /boot/grub/menu.lst &lt;&lt; "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 &gt;&gt; /boot/grub/menu.lst &lt;&lt; "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