Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Changing drive controller boot order
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
Entropy42
n00b
n00b


Joined: 05 Mar 2004
Posts: 56

PostPosted: Thu Feb 02, 2006 5:06 am    Post subject: Changing drive controller boot order Reply with quote

I'm in the process of installing Gentoo on a new fileserver box. It will be running RAID 5, but the root partition will not be RAIDed for simplicity.

I'm having a problem with drive ordering though - My motherboard is an EPoX EP-9NPA+ SLI, which has a total of 6 SATA ports. 4 are supplied by the NForce4, 2 are supplied by a Silicon Image controller. In both my BIOS and the Gentoo Install LiveCD for AMD64, the NForce controller was detected first, and hence the drive connected to the first port on that controller (SATA 1 on my new mobo) was mapped to /dev/sda

Now for the problem - after rebooting with a freshly compiled kernel, the Silicon Image controller is now getting detected first, and as a result, what SHOULD be /dev/sde on my system is now /dev/sda, and what SHOULD be /dev/sda is currently /dev/sdb

How can I change the order that Linux assigns the drives in?

I used to know how to do this, but it's been years since I've done something like this and I've forgotten where to look. :(

Edit: Oh, one other thing - GRUB thinks the drives are in the correct order (hd0 = first drive on the NV controller). It's just the kernel that is getting confused.
Back to top
View user's profile Send private message
Zaventh
n00b
n00b


Joined: 30 Jan 2006
Posts: 16

PostPosted: Thu Feb 02, 2006 2:01 pm    Post subject: Reply with quote

Can't you just write down what the new drive assignments are in /dev, boot into the gentoo install cd enviroment, edit your fstab with the proper values and reboot?
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Thu Feb 02, 2006 5:48 pm    Post subject: Reply with quote

Some info here: https://forums.gentoo.org/viewtopic-p-3044402.html#3044402
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Entropy42
n00b
n00b


Joined: 05 Mar 2004
Posts: 56

PostPosted: Thu Feb 02, 2006 10:10 pm    Post subject: Reply with quote

Zaventh wrote:
Can't you just write down what the new drive assignments are in /dev, boot into the gentoo install cd enviroment, edit your fstab with the proper values and reboot?

When the BIOS drive order and Linux drive order differ, the potential for Very Bad Things can occur.

widan's post which nixnut linked to is exactly the solution I need. Thanks nixnut! I'm recompiling my kernel now.
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