I have two drives, a 120GB SSD and a 2TB HD. I set the BIOS to boot from the SSD, and an the Drives window of Ubuntu it tells me the SSD is SDB and the HD is SDA. I would expect the SSD to be SDA because it is being boote
1 Answer
Boot order doesn't define devices names and the names can change if you add or remove disks.
If you change the disks frequently (add or remove fixed disks or use external disks), it is better to mount the disks using their UUID instead of device names in /etc/fstab
(use UUID=xxxxxxx
instead of /dev/sdx
). UUIDs are fixed for each disk or partition.
You can find the UUIDs of your disks using blkid
or ls -l /dev/disk/by-uuid
/dev/sda, sdb, ...
is independent from the boot order. The important criterion is, which SATA port is used for which drive. I cannot give the criterion (which has higher priority) if you have multiple SATA controllers, hence I only comment your question.