LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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?

Notices

Reply
 
Search this Thread
Old 06-20-2008, 11:04 PM   #1
kinetic
Member
 
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
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
udev rules

http://reactivated.net/writing_udev_rules.html

http://gentoo-wiki.com/HOWTO_Customizing_UDEV

http://wiki.debian.org/udev

These posts are about Hard drive rules..

http://www.linuxquestions.org/questi...rd+drive+rules

Last edited by farslayer; 06-21-2008 at 01:12 AM.
 
Old 06-22-2008, 07:37 PM   #3
kinetic
Member
 
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
elliott678
Member
 
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.
http://wiki.archlinux.org/index.php/..._device_naming

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


Reply


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/Novell 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 08:47 AM.

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