Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
hd's on IDE 0,0 and 0,1 listed as hdi and hdj
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
blacksheep
n00b
n00b


Joined: 04 Aug 2006
Posts: 25

PostPosted: Mon Aug 28, 2006 4:32 pm    Post subject: hd's on IDE 0,0 and 0,1 listed as hdi and hdj Reply with quote

Ok am installing Gentoo to be used as a fileserver and am following the gentoo-luks wiki however on initial boot (from live cd) the drive on the first ide channel is being labeled as /dev/hdi and the one being labled /dev/hda is a drive that my bios won't let me choose to boot from. I can install and get most things working on hdi but its causing a few quirks as when the system is installed and rebooted hdi then becomes hda. So my question (and its probably something simple I'm missing) is how on initial boot from the install cd can I get hdi to be hda?

Thanks for any help.
Back to top
View user's profile Send private message
Suer7reus
Tux's lil' helper
Tux's lil' helper


Joined: 26 Nov 2003
Posts: 106

PostPosted: Mon Aug 28, 2006 5:55 pm    Post subject: Reply with quote

Holy cow, hehe. Off the top of my head, you could either learn a lot about udev (the Right way), or you might simply be able to move, delete, rename, copy, and/or symlink your device node files in /dev/ until the one that was hda is gone and the one that was hdi is called hda (same with the partitions). I think that ought to work, since the nodes only mean as much as their major and minor device numbers anyway...
Back to top
View user's profile Send private message
davascript
l33t
l33t


Joined: 07 Apr 2004
Posts: 618
Location: Pennsylvania

PostPosted: Mon Aug 28, 2006 6:22 pm    Post subject: Reply with quote

What kind of hard drive controller is in the system? I have had similar issues when I installed 2 scsi disks showed as hd1 and hd2 and the ide disk was hd0 in grub but when I tried to boot it made the scsi disks hd0 and hd1 and the ide disk hd2.
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Mon Aug 28, 2006 6:32 pm    Post subject: Reply with quote

Hi.

Do you have some kind of card-reader in your system? Do you have any PCI/ISA IDE controllers?
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
troymc
Guru
Guru


Joined: 22 Mar 2006
Posts: 553

PostPosted: Mon Aug 28, 2006 6:38 pm    Post subject: Reply with quote

Try passing ide=reverse on the boot line for the CD. This will reverse the detection order of your IDE interfaces.


troymc
Back to top
View user's profile Send private message
blacksheep
n00b
n00b


Joined: 04 Aug 2006
Posts: 25

PostPosted: Mon Aug 28, 2006 8:02 pm    Post subject: Reply with quote

wow loads of replies - thanks guys

ok yes at the moment there is a maxtor pci ide controller card, but it is not being used for any of the 5 hds in atm. The motherboard is a gigabyte k8vt800 pro with 4 ide channels on it comprising of 2 normal ide channels and 2 on a GigaRAID IT8212F so at the moment I have the 2 hds on ide 1 cdrom on ide 2 and 3hds on the gigaraid ide channels.

Even if I boot with only the disks on the first ide channel they are labled hdi and hdj
Back to top
View user's profile Send private message
davascript
l33t
l33t


Joined: 07 Apr 2004
Posts: 618
Location: Pennsylvania

PostPosted: Mon Aug 28, 2006 8:27 pm    Post subject: Reply with quote

try disabling the raid controller ide channels on your motherboad and see what happens.
I would also try the fix that troymc had
Quote:
Try passing ide=reverse on the boot line for the CD. This will reverse the detection order of your IDE interfaces.
Back to top
View user's profile Send private message
blacksheep
n00b
n00b


Joined: 04 Aug 2006
Posts: 25

PostPosted: Mon Aug 28, 2006 8:47 pm    Post subject: Reply with quote

ok guys will give those a go and see how it goes - cheers for all the replies so far
Back to top
View user's profile Send private message
blacksheep
n00b
n00b


Joined: 04 Aug 2006
Posts: 25

PostPosted: Tue Aug 29, 2006 12:06 am    Post subject: Reply with quote

ok so finally managed to get it to boot from the hd that was labeled hda (was called scsi in bios?!?) anyway on reboot it call the drives on channel one hda/hdb and so messes up. On dissabling the gigaraid controler it sorts everything out - many thanks to all who replied.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum