Help answer threads with 0 replies.
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-20-2008, 11:04 PM   #1
Registered: Aug 2007
Location: Fort Collins, Colorado
Distribution: Gentoo
Posts: 64

Rep: Reputation: 17
How do I keep sda from changing its name to sdb?

Is there a kernel option to hard code a harddrive onto a specific device name? I am using a 2.6 kernel with udev. Thank you!
Old 06-21-2008, 01:07 AM   #2
LQ Guru
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
udev rules

These posts are about Hard drive rules..

Last edited by farslayer; 06-21-2008 at 01:12 AM.
Old 06-22-2008, 07:37 PM   #3
Registered: Aug 2007
Location: Fort Collins, Colorado
Distribution: Gentoo
Posts: 64

Original Poster
Rep: Reputation: 17
Cool. Thank you. But will this have any effect on the order GRUB finds the hard drives and the "real_root" parameter?
Old 06-22-2008, 08:01 PM   #4
Registered: Mar 2005
Location: North Carolina
Distribution: Arch
Posts: 977

Rep: Reputation: 72
You may want to look into defining drives by UUID instead of device name, the UUID never changes.

I know it is an Arch tutorial, but I don't see anything specific to Arch in there, the same principles should apply to Gentoo.

Last edited by elliott678; 06-22-2008 at 08:05 PM.


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
sda sdb sdc drives not consistent ufmale Linux - Newbie 6 05-27-2008 06:38 PM
Changing sda to sdb mickeyboa Fedora 4 04-21-2008 12:22 AM
New disk presentation allows sdb but not sda to be partitioned sbf132 Linux - Hardware 0 02-12-2008 07:21 PM
sda or sdb? stevest SUSE / openSUSE 7 12-18-2007 11:57 AM
zip drive alternately mounts on /sda and /sdb timsch75 Linux - Hardware 6 09-26-2004 10:00 AM

All times are GMT -5. The time now is 07:27 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