How can I list Ubuntu disks by a unique identifier?

Solution 1:

Try:

ls -la /dev/disk/by-uuid/

Also running the following (as root), will print the UUID of a certain partition:

blkid /dev/sda0