I can confirm this bug. It is e.g. triggered if the there are two drives, one
s-ata and one p-ata and the boot order of the bios is set to s-ata the p-ata disk.
The problem is that grub will assume that p-ata "hda" if exists comes before the
"sda". This is hardcoded into grubs lib/device.c:init_device_map() code. This
may be a unsolvable problem unless we are able to ask the bios about the
assigned drive numbers at boot-time in some way.
I can confirm this bug. It is e.g. triggered if the there are two drives, one
s-ata and one p-ata and the boot order of the bios is set to s-ata the p-ata disk.
The problem is that grub will assume that p-ata "hda" if exists comes before the c:init_ device_ map() code. This
"sda". This is hardcoded into grubs lib/device.
may be a unsolvable problem unless we are able to ask the bios about the
assigned drive numbers at boot-time in some way.