--- xml/htdocs/doc/en/handbook/hb-install-x86+amd64-bootloader.xml 2011/05/09 19:47:22 1.23 +++ xml/htdocs/doc/en/handbook/hb-install-x86+amd64-bootloader.xml 2012/03/27 17:47:19 1.24 @@ -4,7 +4,7 @@ - + @@ -187,24 +187,11 @@

-Now we are going to write up a grub.conf. Below you'll find two -possible grub.conf for the partitioning example we use in this -guide. We've only extensively commented the first grub.conf. Make +Now we are going to write up a grub.conf. Make sure you use your kernel image filename and, if appropriate, your initrd image filename.

- - Grub assigns device designations from the BIOS. If you change your BIOS settings, your device letters and numbers may change, too. For example, if you @@ -216,7 +203,7 @@ line since JFS needs to replay its log before it allows read-write mounting. -
+
 # Which listing to boot as default. 0 is the first, 1 the second etc.
 default 0
 # How many seconds to wait before the default listing is booted.
@@ -234,6 +221,8 @@
 # Partition where the kernel image (or operating system) is located
 root (hd0,0)
 kernel /boot/ root=/dev/sda3 init=/bin/bb
+# The initrd line is needed when you have built an initramfs (or used genkernel)
+initrd /boot/ 
 
 # The next four lines are only if you dualboot with a Windows system.
 # In this case, Windows is hosted on /dev/sda6.
@@ -243,23 +232,6 @@
 chainloader +1
 
-
-default 0
-timeout 30
-splashimage=(hd0,0)/boot/grub/splash.xpm.gz
-
-title Gentoo Linux 
-root (hd0,0)
-kernel /boot/ real_root=/dev/sda3
-initrd /boot/
-
-# Only in case you want to dual-boot
-title Windows XP
-rootnoverify (hd0,5)
-makeactive
-chainloader +1
-
-

If you used a different partitioning scheme and/or kernel image, adjust accordingly. However, make sure that anything that follows a GRUB-device (such @@ -475,18 +447,9 @@

Some sections ago we have asked you to remember the kernel-image name you have created. In the next example lilo.conf we use the -example partitioning scheme. There are two separate parts: +example partitioning scheme.

- -

Make sure you use your kernel image filename and, if appropriate, your initrd image filename. @@ -504,11 +467,12 @@ timeout=50 # Wait 5 (five) seconds before booting the default section default=gentoo # When the timeout has passed, boot the "gentoo" section -# For non-genkernel users image=/boot/ label=gentoo # Name we give to this section read-only # Start with a read-only root. Do not alter! root=/dev/sda3 # Location of the root filesystem +# The initrd line is only needed if you built an initramfs (or used genkernel) + initrd=/boot/ image=/boot/ label=gentoo.rescue # Name we give to this section @@ -516,13 +480,6 @@ root=/dev/sda3 # Location of the root filesystem append="init=/bin/bb" # Launch the Gentoo static rescue shell -# For genkernel users -image=/boot/ - label=gentoo - read-only - append="real_root=/dev/sda3" - initrd=/boot/ - # The next two lines are only if you dualboot with a Windows system. # In this case, Windows is hosted on /dev/sda6. other=/dev/sda6