Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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!
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.