Comment 14 for bug 6367

Revision history for this message
Marten Klencke (mklencke) wrote : Re: IDE enumeration differs between docked and undocked on ThinkPad T42

I probably have the same problem here on my desktop and haven't figured out yet how to work around it correctly.

I have an onboard IDE controller and a PCI one for extra devices. On all my Linux systems (including Ubuntu, Slackware, Fedora) so far, the onboard one is the first, so the drives become hda-d and the ones of the PCI IDE card become hde-h.

Dapper is the only system that gets it wrong. hdg, on which I wanted to install dapper, is suddenly hdc in the Dapper installer. I tried to go for it, installing grub on hdg1 (or hdc1 according to Dapper) (which is being chainloaded from LILO on hda), but unfortunately that didn't work out. LILO successfully loaded Grub, but Grub wasn't able to boot Dapper.

On my Slackware system again, I checked the IDE order and it was still correct. Then I chrooted into hdg1 and executed 'mount' without argument to see what's up. This told me that in the chrooted environment too, the drive order is incorrect:

/dev/hdc1 on / type reiserfs (rw)
/dev/hdg on /media/cdrom0 type iso9660 (ro)

Out of the chroot environment, hdc is the cdrom and hdg1 is the Dapper partition.

I'm puzzled here, and I've never experienced this before... shouldn't the BIOS drive order be used? According to lspci (on Slackware), my onboard IDE comes first:

00:09.0 IDE interface: nVidia Corporation nForce2 IDE (rev a2)
00:1e.0 PCI bridge: nVidia Corporation nForce2 AGP (rev c1)
01:07.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 04)
01:07.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 01)
01:08.0 RAID bus controller: CMD Technology Inc PCI0680 (rev 02)

Finally: if the Dapper installer thinks that hde is hda, and Grub gets installed to the first hard drive for booting, this will be incorrect. The BIOS will try to start with what Dapper thinks is hde, which will then not have a boot loader. Confusing :-)

Sorry for me not pinning this down, I'm not sure where the problem is exactly. But I know that the previous versions of Ubuntu, as well as other distributions, are fine. If you need any more info, please ask!