From 21ba4e3570c1c2524b0733d492ced9634b259353 Mon Sep 17 00:00:00 2001 From: Greg Schafer Date: Thu, 9 Oct 2003 23:22:07 +0000 Subject: Internal markup reworking to fix the extraneous whitespace problem in the "tidy generated" web site pages. Essentially replace all ocurrences of with (and of course the matching closing tags). git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2958 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter08/grub.xml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'chapter08/grub.xml') 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 grub program. -grub +grub Grub uses its own naming structure for drives and partitions, in the form of (hdn,m), where n is the hard drive number, and @@ -24,22 +24,22 @@ partition is hda4. First, tell Grub where to search for its stage{1,2} files -- you can use Tab everywhere to make Grub show the alternatives: -root (hd0,3) +root (hd0,3) Then tell it to install itself into the MBR (Master Boot Record) of hda: -setup (hd0) +setup (hd0) If all is well, Grub will have reported finding its files in /boot/grub. That's all there was to it: -quit +quit Now we need to create the menu.lst file, which defines Grub's boot menu: -cat > /boot/grub/menu.lst << "EOF" +cat > /boot/grub/menu.lst << "EOF" # 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 -EOF +EOF You may want to add an entry for your host distribution. It might look like this: -cat >> /boot/grub/menu.lst << "EOF" +cat >> /boot/grub/menu.lst << "EOF" title Red Hat root (hd0,2) kernel /boot/kernel-2.4.20 root=/dev/hda3 ro initrd /boot/initrd-2.4.20 -EOF +EOF Also, if you happen to dual-boot Windows, the following entry should allow booting it: -cat >> /boot/grub/menu.lst << "EOF" +cat >> /boot/grub/menu.lst << "EOF" title Windows rootnoverify (hd0,0) chainloader +1 -EOF +EOF If info grub doesn't tell you all you want to know, you can find more information regarding Grub on its website, located at: -- cgit v1.2.3-54-g00ecf