hd0,0
) is the first partition of the first hard disk. On a common desktop machine with a hard disk connected as primary master, the corresponding Linux device name is /dev/sda1
.The four possible primary partitions are assigned the partition numbers
0
to 3
. The logical partitions are numbered from 4
: (hd0,0) first primary partition of the first hard disk (hd0,1) second primary partition (hd0,2) third primary partition (hd0,3) fourth primary partition (usually an extended partition) (hd0,4) first logical partition (hd0,5) second logical partition
Being dependent on BIOS devices, GRUB does not distinguish between IDE, SATA, SCSI, and hardware RAID devices. All hard disks recognized by the BIOS or other controllers are numbered according to the boot sequence preset in the BIOS.
Unfortunately, it is often not possible to map the Linux device names to BIOS device names exactly. It generates this mapping with the help of an algorithm and saves it to the file
device.map
, which can be edited if necessary.
1 comments:
"Being dependent on BIOS devices, GRUB does not distinguish between IDE, SATA, SCSI, and hardware RAID devices. All hard disks recognized by the BIOS or other controllers are numbered according to the boot sequence preset in the BIOS."
I don't have multiple HDDs, but my friends who do claim that Grub sees the order of HDDs (other than the boot HDD) as different than the BIOS boot order. In other words, Grub always correctly sees the first HDD in the boot order as (hd0), but the order of the remaining HDDs is anyone's guess. Can anyone confirm the above article quote? Is Grub's HDD order exactly the same as BIOS's boot order? Thanks in advance.
Post a Comment