On 4/30/06, Mark Knecht <[EMAIL PROTECTED]> wrote:
When this was complete I ran grub using the commands
grub
root (hd0,8)
setup (hd0)
quit
My understand of the above is that the root (hd0,8) says place the
second part of grub on /dev/sda9 (drive 0, partition 8) while the
second says place the first part of grub in the MRB.
Looks like you solved your problem, but I think I can briefly explain
what the above commands really mean:
root (hd0,8): In this context, this tells grub that it can find the
files required for installation on the first drive, 9th partition.
This partition should contain [/boot]/grub/stage1 [/boot]/grub/stage2,
[/boot]/grub/grub.conf, and also a stage1_5 for the filesystem.
setup (hd0): This tells grub to install itself onto the first hard
drive. Normally it writes the stage1 file to the MBR, and the
stage1_5 to the blocks between the MBR and the start of the first
partition. It also records the size of the stage1_5 and the root
device (hd0,8) in the MBR.
This is done so that at boot, the stage1 is loaded by the BIOS and
begins executing. That in turn loads the stage1_5 from the known
physical location on the disk, and passes control to the stage1_5
loader. That in turn looks at the filesystem (since it understands
how to read the filesystem) to load the stage2 and grub.conf files.
When stage2 is executed, that is when you see the menu appear with the
entries from the grub.conf.
HTH,
-Richard
--
gentoo-user@gentoo.org mailing list