Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-14-2008, 06:14 PM   #1
LQ Newbie
Registered: Jun 2008
Location: UK
Posts: 5

Rep: Reputation: 0
Hard drive detection order

I recently re-installed debian etch onto a machine i have running as a server.

I setup software raid 1 on two drives connected directly to the motherboard SATA controller. The install went completely sucessfully, the machine boots, runs and disk redundancy works 100%.

I then inserted a PCI SATA controller with 3 drives connected which i plan use in JBOD for some extra storage.

When Linux boots, it recognises the PCI card first and hence assigns the three hard drives as sda, sdb and sdc, this offsets the two main hard drives to sdd+sde which stops the raid array being created properly and makes the machine unbootable.

If i unplug the drives from the PCI card, boot the machine and then hot-plug the drives, they show up as sdc, sdd and sde. This is what i want.

Is there a way of making linux use the onbord SATA controller first or disabling the PCI SATA card during boot?

I would rather not re-assign the raid array to use sdd and sde.
Old 06-14-2008, 06:17 PM   #2
LQ Newbie
Registered: Jun 2008
Location: UK
Posts: 5

Original Poster
Rep: Reputation: 0
Sorry, this is more of a hardware issue, i should have probably put it in the hardware thread.
Old 06-14-2008, 06:53 PM   #3
Senior Member
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
This is an issue with the BIOS; the kernel has nothing to do with the enumeration. If it can't be 'fixed' in BIOS, the simplest thing to do is remove the PCI SATA card, set up the system to assemble the RAID in the new configuration (a bit tricky since the initrd image must also be correctly updated), then plug in the SATA, etc etc. Keep a boot CD handy for fixing things.


detection, drive, sd

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
hard drive detection problem jaywolf Linux - Newbie 6 02-04-2006 10:03 AM
hard drive detection problem on fresh Debian 3.1 r5d Linux - Hardware 1 06-16-2005 03:30 PM
RH9 Installation killed hard drive detection! HELP!?! jcubed Red Hat 2 04-21-2004 09:49 AM
hard drive detection flump Linux - Hardware 2 08-01-2003 06:15 AM
hard drive detection problems flump Linux - Newbie 4 01-16-2003 01:18 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:49 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration