Colin wrote:

>This is really annoying.  I just finished a Gentoo install on my
>computer and rebooted after installing GRUB with the command
>"grub-install --root-directory=/boot /dev/hde" as stated in the
>Handbook.  Right after GRUB loads the stage1.5 file, the system
>reboots.
>  
>

What does /boot/grub/device.map contain?

Assuming that it has a line that reads "(hd0) /dev/hde", then everything
should be correct. 

I guess your next step would be to get dirty with grub.  Start with the
following:

# grub --device-map=/boot/grub/device.map
grub> root (hd0,0)
 Filesystem type is ext2fs, partition type 0x83

grub> setup (hd0)
 Checking if "/boot/grub/stage1" exists... no
 Checking if "/grub/stage1" exists... yes
 Checking if "/grub/stage2" exists... yes
 Checking if "/grub/e2fs_stage1_5" exists... yes
 Running "embed /grub/e2fs_stage1_5 (hd0)"...  16 sectors are embedded.
succeeded
 Running "install /grub/stage1 (hd0) (hd0)1+16 p (hd0,0)/grub/stage2
/grub/menu.lst"... succeeded



The command we are looking for is that final 'install' command.  We need
to run that again, adding a 'd' after stage1:

grub> install /grub/stage1 d (hd0) (hd0)1+16 p (hd0,0)/grub/stage2
/grub/menu.lst

grub> quit


The 'd' option is a workaround for BIOSs that get confused about which
drive is being used to boot.

HTH

-Richard

-- 
gentoo-user@gentoo.org mailing list

Reply via email to