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!