I'm trying to upgrade my system from a pair of IDE drives to a single SATA drive, with the intention of removing the old drives when I'm done. I'd like to have the old drives on the system, until I've copied over everything I need. With the old drives plugged in, they always come up as sda & sdb, with the new drive sdc. Is there any way to force the new drive to be sda? I'm running 13.1. tnx jk -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2014-03-16 04:05, James Knott wrote:
I'm trying to upgrade my system from a pair of IDE drives to a single SATA drive, with the intention of removing the old drives when I'm done. I'd like to have the old drives on the system, until I've copied over everything I need. With the old drives plugged in, they always come up as sda & sdb, with the new drive sdc. Is there any way to force the new drive to be sda? I'm running 13.1.
Certainly not. Which is why you must not use device names such as sda, sdb, etc, for your work. Use the appropriate link from /dev/disk/by-*/ instead. - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iF4EAREIAAYFAlMlFnoACgkQja8UbcUWM1x65QEAnSdd/xxmbs7/s0twy6uxmliI Ej8gXVGCgQC2l5Cr3iABAJB9SJ3g5m8kkUYMKka+6vI0NvKoyGa1aoCuBSgo/5l3 =leHF -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
El 16/03/14 00:05, James Knott escribió:
I'm trying to upgrade my system from a pair of IDE drives to a single SATA drive, with the intention of removing the old drives when I'm done. I'd like to have the old drives on the system, until I've copied over everything I need. With the old drives plugged in, they always come up as sda & sdb, with the new drive sdc. Is there any way to force the new drive to be sda? I'm running 13.1.
tnx jk
Hi James.. nope.. the linux kernel device names are generally assigned based on the "order of discovery", for all practical purposes, you have to consider them unpredictable. (this is why udev now renames network interfaces at boot with a predictable name) What "order of discovery" means is "implementation defined" :-), it might change across kernel versions or even depending on the kernel configuration. It is recommended you mount the partitions by UUID. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2014-03-15 23:05 (GMT-0400) James Knott composed:
I'm trying to upgrade my system from a pair of IDE drives to a single SATA drive, with the intention of removing the old drives when I'm done. I'd like to have the old drives on the system, until I've copied over everything I need. With the old drives plugged in, they always come up as sda & sdb, with the new drive sdc. Is there any way to force the new drive to be sda? I'm running 13.1.
Sometimes there is via BIOS, by setting NONE for the PATA devices, and/or by changing the IDE controller handling between Compatible and Enhanced, and/or changing the boot device priority to include SATA first and/or PATA not at all. To get past POST, the BIOS needs to know only about the device with the boot loader you want to use. It's still best to set everything up do be independent of device names as Carlos wrote. I use labels on cmdlines and in fstabs for all native partitions, as I get to pick and thus remember and type without error whatever they are. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (4)
-
Carlos E. R.
-
Cristian Rodríguez
-
Felix Miata
-
James Knott