unable to reinstall grub

Bertrand Haut bertrand.haut at brutele.be
Thu Mar 17 22:38:41 UTC 2005

> with a grub-install /dev/hda, I obtain :
> root at neptune:/boot/grub # grub-install /dev/hda
> The file /boot/grub/stage1 not read correctly.
I reply to myself : 
with a 

grub> root (hd0,2)
grub> setup (hd0)

It works. Why not with the grub-install script ?

Now I'm noticing something strange.

In my menu.lst file, I need to put :
root            (hd0,2)
kernel          /boot/vmlinuz root=/dev/hda3 ro console=tty0 quiet splash

But in my /etc/fstab :
/dev/hda4       /               ext3    defaults,errors=remount-ro 0       1

why (hd0,2) in grub correspond to /dev/hda4 for Linux ????????????????


More information about the ubuntu-users mailing list