5 Oct
2006
5 Oct
'06
00:45
Sunny wrote:
(hd0,4)+1
Grub (not the chainloader) number the hard drives from 0, i.e. hd0 for hda, hd1 for hdb, etc. and the partition counting starts from 0 as well, thus hda1 is hd0,0 in GRUB terms. As hdb4 will be hd1,3.
Cheers
Thanks, Sunny. Now I see why for hda there is always hd0 in Grub. AFAIK (hd0) does not always have to be /dev/hda1, because grub does not distinguish between SCSI and ATA devices. You have to look in /boot/grub/device.map to see how grub interprets your storage devices. I seem to recall someone reporting in this list that Linux labels an SATA device as a SCSI, so if you are booting off one of those, it is possible
On 04/10/06 16:21, Sergey Mkrtchyan wrote: that (hd0) would be /dev/sda.