unable to reinstall grub

Thomas Kaiser thomas at kaiser.linux-site.net
Thu Mar 17 22:54:11 UTC 2005


grub starts counting by 0. That means:
grub		linux
hd(0,0)		/dev/hda1
hd(0,1)		/dev/hda2
.....		.....
hd(1,0)		/dev/hdb1

As far as i know ;-)

Regards, Thomas


Bertrand Haut wrote:
>>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
> 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