On 2018-10-07 00:25, Theodore Driscoll wrote:
Hi

my daily-use machine runs openSuse. To experiment with LFS I added a
second SATA HDD.

Initially the Suse  drive was /dev/sda, the new, unpartitioned, drive
/dev/sdb.

But I rebooted once more. Now Suse has swapped the names, so what used
to be /dev/sda is now /dev/sdb and vice-versa. If I reboot again, the
names sometimes swap back, sometimes do not.

Section 2.4, Creating a New Partition, doesn't allow for this
situation - it assumes the drive names are persistent.

Has anyone else encountered this situation, and found a way around it?


Cheers
Ted

Hello Ted,

Is it possible that the first hard drive was in SATA port1 (or however your motherboard labels them) rather than port0, and when you added the second drive it was in port0, so when the drives are enumerated by the system that the port0 drive is now sda, and the port1 drive which you used all this time is now sdb?

What happens if you swap the SATA cables between the two drives or the two motherboard SATA ports?

Sincerely,

William Harrington
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to