On Thu, 2005-11-03 at 14:19 +0100, Gerhard den Hollander wrote:
Ok, first, I was not clear enough.
Disk numbering is based on where the disk is w.r.t. your controller (assuming we use IDE) Primary Master -> hda (hd0) Primary Slave -> hdb (hd1) Secondary Master> hdc (hd2) Secondary Slave-> hdd (hd3)
So if your only disk is a secondary slave (unlikely, but possible) the first disk (quantity 1) would be hd3/hdd
You are right about quantity though ;)
However, to confuse matters even more, partitions start at 1
So the first partition on the first drive is hda1
(and to confuse it even more, if you use extended partitions, the first partition is hda5 )
This is good as far as it goes but it doesn't address the last word in the title: GRUB! And that's what seems to be causing some confusion. GRUB does NOT number disks in this way, though its numbers sometimes come out the same and sometimes don't and can even sometimes change half-way through a boot (depending on BIOS settings and mobo). Here is a place to start to understand how GRUB does it: http://www.gnu.org/software/grub/manual/html_node/Naming-convention.html And here are some sample quotes to get the saliva going: "The number `0' is the drive number, which is counted from zero." "Once again, please note that the partition numbers are counted from zero, not from one." "Note that GRUB does not distinguish IDE from SCSI" "Normally, any IDE drive number is less than any SCSI drive number, although that is not true if ..." Cheers, Dave