LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-25-2013, 03:52 PM   #1
SiliconBadger
Member
 
Registered: May 2002
Location: Houston
Distribution: Gentoo
Posts: 32

Rep: Reputation: 15
Adding HD changes root drive


Hello all! I have done some searching on this but I haven't found anything relevant to my question, so I'm hoping someone here can help out. It used to be no problem for me to know what device names my drives would be showing up as in Linux under the /dev/hd[a,b,c,d] configuration. But now I'm using SATA drives and they seem to be named kind of willy-nilly.

I've had my Gentoo system running for about a year now but I'm needing to connect an old hard drive to get some data off, and doing so is apparently changing the device filename for my root drive, causing kernel panic when trying to boot. I can't see enough information on the kernel startup messages to find out what's what, and I can't scroll through it or interact in any other way, so I'm not sure what I'm supposed to do.

I tried guessing at the names. It used to be /dev/sdc1, so I tried /dev/sdd1 and /dev/sde1, but no luck there. I haven't changed the cables around or even opened the case; there's a nice little SATA dock on top of the case where I can connect the drive without messing with any of that.

How the heck am I supposed to know ahead of time what device filename the kernel is going to give to a disk? It is really frustrating for me to think that there's no way of knowing. Thanks in advance for any help!
 
Old 08-25-2013, 04:05 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,806
Blog Entries: 2

Rep: Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202
Usually thinks like that are a cabling issue. I guess that the cable that connects the dock to the motherboard is connected to a SATA port with a lower number than your internal disk. I would check that first, make sure that the dock uses the last port.
 
Old 08-25-2013, 05:10 PM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 28,187
Blog Entries: 54

Rep: Reputation: 3143Reputation: 3143Reputation: 3143Reputation: 3143Reputation: 3143Reputation: 3143Reputation: 3143Reputation: 3143Reputation: 3143Reputation: 3143Reputation: 3143
Something with using old school device names in /etc/fstab instead of partition UUIDs or labels?
 
Old 08-25-2013, 05:43 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,806
Blog Entries: 2

Rep: Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202
Man, just forgot about that. Would be of course the better solution.
 
  


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
[SOLVED] Adding another hard drive changes drive id's in /dev/sd* explorer Slackware 11 04-01-2011 10:09 AM
Adding a root mirror drive to existing RHEL5 system wkrossman Red Hat 5 11-11-2010 09:31 AM
Adding / removing drive renames drive names (name shift) ramsky Linux - Hardware 1 09-30-2010 05:51 PM
Adding root privaliges to user accounts or auto login as root Val-Ent Linux - General 15 03-02-2010 05:27 PM
root fs is mounted read only after adding new drive PPaladin Linux - Hardware 0 03-02-2004 11:25 AM


All times are GMT -5. The time now is 12:20 PM.

Main Menu
Advertisement
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