![](https://seccdn.libravatar.org/avatar/f4b646bcb019be5752e5aa1023edc8b8.jpg?s=120&d=mm&r=g)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 28 January 2004 13:31, Brian Curtis wrote:
Hello Dave,
Wednesday, January 28, 2004, 9:51:09 AM, you wrote:
...
DH> PIIX-4 ... DH> ide0: ... hda:DMA ... DH> ide1: ... hdc:DMA ... DH> ICH5-SATA ... DH> ide2: ... hde:DMA ... DH> ide3: ... hdg:DMA ... DH> hda: ST3120022A, ATA DISK drive [ this is the PATA model number ] DH> hdc: SAMSUNG DVD-ROM ... DH> hde: ST3120026AS, ATA DISK drive [ this is the SATA model number ] DH> hdg: ST3120026AS, ATA DISK drive [ this is the SATA model number ]
This would be correct. You have 2 PATA channels (4 devices) and 2 SATA channels (2 devices):
PATA: IDE 0,0 = hda IDE 0,1 = hdb IDE 1,0 = hdc IDE 1,1 = hdd
SATA: SATA0 = hde SATA1 = hdg
DH> If I edit my /etc/fstab to refer to /dev/hde1 then reiserfs is detected, DH> fsck'ed and mounted OK (the system then locks up but that's another DH> subject!)
As I would expect (not the lock up) when you disable "Legacy" mode on the SATA interfaces.
DH> I'm confused!!! (hair being pulled out)
DH> It seems as though (hd0) is the SATA drive when GRUB starts but somehow DH> /dev/hde (hd2?) becomes the SATA drive. Looking at the dmesg, I'd kind DH> of expect SATA0 to be (hd2) from the get go.
DH> Can anybody explain what's happening?
When you enable "Legacy" mode in bios, SATA0 & SATA1 are mapped to IDE 0,0 and IDE 0,1 (unless your bios offers additional mapping options), and ignores whatever may be connected to your primary PATA interface.
This maybe helpful or not. it shows that grub see sata as hd0 and then fstab see it as hde. two things: 1) try ide=reverse, my get a message that it cant find the root fs, 2) it's either fstab/mtab problem or the instructions to grub need to be reconfigure. The drive map my point to things in the wrong order. Have a look at "/boot/grub/device.map". HTH, Curtis.
So, when you install with your bios in compatibility mode, GRUB sees SATA0 as IDE 0,0. Once you disable compatibility mode, GRUB sees your primary drive on IDE channel 1 as IDE 0,0, and adds your SATA interfaces to the end of the list.
I'm only going by my single experience with installing Suse to an SATA interface (I didn't have to use compatibility mode), so I hope someone corrects me if I'm wrong with the following recommendation...
I'd say try this for a GRUB entry:
kernel (hd2,0)/boot/vmlinuz root=/dev/hde0 initrd (hd2,0)
I'm far from a "knowledgeable" user, but I think there are also some drive remapping options in GRUB. Unfortunately, I cannot tell you what they are. I'm sure one of the more knowledgeable users here can correct my mistakes and guide you further.
HTH and good luck!
-- Best regards, Brian Curtis
- -- Spammers Beware: Tresspassers will be shot, survivors will be shot again! Warning: Individuals throwing objects at the crocodiles will be asked to retrieve them! If pro is the opposite of con, then the opposite of progress must be congress! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQFAF0yxN9r/ngHXpykRAhQoAJwNVvGXwjl7Nrj0QiWzQ4s+2Drv8ACgzm2D 7oAD+nak1eeddWscxT2fAA0= =TSwn -----END PGP SIGNATURE-----