Grub disk: something automatic?

Dotan Cohen dotancohen at
Mon Jan 25 22:14:51 UTC 2010

>        Good luck! And I know you must find the partition which has
> the grub on it at /boot/grub/ and call it in grub numbers.
> /dev/sda5 = (hd0,4).

Actually, it looks like Grub2 starts numbering disks from 0, just like
Grub did. However, Grub2 seems to number partitions from 1 for some
reason. Therefore sda5 would be (0,5). Can someone else confirm that
this is the case with Grub2?

Dotan Cohen

More information about the ubuntu-users mailing list