aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/grub.xml
diff options
context:
space:
mode:
authorGreg Schafer <greg@linuxfromscratch.org>2003-10-09 23:22:07 +0000
committerGreg Schafer <greg@linuxfromscratch.org>2003-10-09 23:22:07 +0000
commit21ba4e3570c1c2524b0733d492ced9634b259353 (patch)
treef5124d2e6106d2e29e5b32f79b56a90defabdbd9 /chapter08/grub.xml
parent1a7aecc6119f540e24a4e8da1b583a625b5690c1 (diff)
Internal markup reworking to fix the extraneous whitespace problem in the "tidy generated" web site pages. Essentially replace all ocurrences of <para><screen> with <screen> (and of course the matching closing tags).
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2958 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter08/grub.xml')
-rw-r--r--chapter08/grub.xml20
1 files changed, 10 insertions, 10 deletions
diff --git a/chapter08/grub.xml b/chapter08/grub.xml
index 426457deb..af69909b6 100644
--- a/chapter08/grub.xml
+++ b/chapter08/grub.xml
@@ -6,7 +6,7 @@
we need to ensure we can boot it. To do this, we will run the
<userinput>grub</userinput> program.</para>
-<para><screen><userinput>grub</userinput></screen></para>
+<screen><userinput>grub</userinput></screen>
<para>Grub uses its own naming structure for drives and partitions, in the form
of (hdn,m), where <emphasis>n</emphasis> is the hard drive number, and
@@ -24,22 +24,22 @@ partition is <filename>hda4</filename>.</para>
<para>First, tell Grub where to search for its <filename>stage{1,2}</filename>
files -- you can use Tab everywhere to make Grub show the alternatives:</para>
-<para><screen><userinput>root (hd0,3)</userinput></screen></para>
+<screen><userinput>root (hd0,3)</userinput></screen>
<para>Then tell it to install itself into the MBR (Master Boot Record) of
<filename>hda</filename>:</para>
-<para><screen><userinput>setup (hd0)</userinput></screen></para>
+<screen><userinput>setup (hd0)</userinput></screen>
<para>If all is well, Grub will have reported finding its files in
<filename>/boot/grub</filename>. That's all there was to it:</para>
-<para><screen><userinput>quit</userinput></screen></para>
+<screen><userinput>quit</userinput></screen>
<para>Now we need to create the <filename>menu.lst</filename> file, which
defines Grub's boot menu:</para>
-<para><screen><userinput>cat &gt; /boot/grub/menu.lst &lt;&lt; "EOF"</userinput>
+<screen><userinput>cat &gt; /boot/grub/menu.lst &lt;&lt; "EOF"</userinput>
# Begin /boot/grub/menu.lst
# By default boot the first menu entry.
@@ -55,26 +55,26 @@ color green/black light-green/black
title LFS 5.0
root (hd0,3)
kernel /boot/lfskernel root=/dev/hda4 ro
-<userinput>EOF</userinput></screen></para>
+<userinput>EOF</userinput></screen>
<para>You may want to add an entry for your host distribution. It might look
like this:</para>
-<para><screen><userinput>cat &gt;&gt; /boot/grub/menu.lst &lt;&lt; "EOF"</userinput>
+<screen><userinput>cat &gt;&gt; /boot/grub/menu.lst &lt;&lt; "EOF"</userinput>
title Red Hat
root (hd0,2)
kernel /boot/kernel-2.4.20 root=/dev/hda3 ro
initrd /boot/initrd-2.4.20
-<userinput>EOF</userinput></screen></para>
+<userinput>EOF</userinput></screen>
<para>Also, if you happen to dual-boot Windows, the following entry should
allow booting it:</para>
-<para><screen><userinput>cat &gt;&gt; /boot/grub/menu.lst &lt;&lt; "EOF"</userinput>
+<screen><userinput>cat &gt;&gt; /boot/grub/menu.lst &lt;&lt; "EOF"</userinput>
title Windows
rootnoverify (hd0,0)
chainloader +1
-<userinput>EOF</userinput></screen></para>
+<userinput>EOF</userinput></screen>
<para>If <userinput>info grub</userinput> doesn't tell you all you want to
know, you can find more information regarding Grub on its website, located at: