Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 06-07-2007, 07:57 PM   #1
Registered: Jun 2006
Posts: 40

Rep: Reputation: 15
How do I change the /dev/sdx number of a drive ?

Hi there,

I am running Kubuntu, and I have just wiped all my disks clean for a fresh install. However the disks don;t have /dev/sdx numbers to my liking.

I currently have the following disks this is how they appear in the BIOS under Hard Drives.

1st SATA: 250 GB - 1st SATA Master
2nd SATA: 80GB - 2nd SATA Master
3rd SATA: 320 GB - 3rd SATA master
4th SATA: 500 GB 4th SATA Master

They however appear on my computer when I try to install as

/dev/sdc = 250 GB
/dev/sdd = 80GB
/dev/sda = 320 GB
/dev/sdb = 500 GB

However I would like them to look like this.

/dev/sda = 250 GB
/dev/sdb = 80GB
/dev/sdc = 320 GB
/dev/sdd = 500 GB

Does anyone know how to accoplish this without changing the order in the BIOS ? Id like the sdx numbers to match the order in the BIOS.

Any help greatly appreciated.

Old 06-08-2007, 03:29 PM   #2
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
You would need to change the other they are plugged into the SATA controller, not the order they appear in the BIOS (Linux largely ignores the BIOS, and generates it's own hardware information).

The device nodes are designed so that they don't arbitrarily change like drive letters under Windows, so to get them to change you would need to physically move around the drives.


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
change order sdx DLGandalf Linux - Newbie 13 05-17-2007 06:22 PM
USB Drive - Static /dev/sdx Nodes in 2.4.x? Ruler2112 Linux - Hardware 1 01-26-2007 10:20 AM
Lock different external drives to a set device name ? (/dev/sdX) Dark Carnival Linux - Hardware 5 10-20-2006 10:42 PM
new SDX-500 tape drive: DOA or me? bdp Linux - Hardware 2 11-07-2004 01:56 PM
USB hard drive rejects dev number mad2physicist Linux - Hardware 16 12-15-2003 12:11 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:46 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration