From d72e04ae7c868b734e3ad39982b169c71444f541 Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Sun, 30 Jan 2005 12:51:22 +0000 Subject: Added 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 --- chapter08/grub.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'chapter08/grub.xml') 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: cat > /boot/grub/menu.lst << "EOF" -# Begin /boot/grub/menu.lst +# 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 EOF You may want to add an entry for your host distribution. It might look like this: cat >> /boot/grub/menu.lst << "EOF" -title Red Hat +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 EOF Also, if you happen to dual-boot Windows, the following entry should allow booting it: cat >> /boot/grub/menu.lst << "EOF" -title Windows +title Windows rootnoverify (hd0,0) -chainloader +1 +chainloader +1 EOF The FHS stipulates that Grub's menu.lst file should be symlinked to -- cgit v1.2.3-54-g00ecf