The easiest way to get UUID is to list the contents of /dev/disk/by-UUID using the ls command. The highlighted text in light blue color is the UUID of the partition highlighted with yellow color. If you have any other questions, feel free to let me know in the comments.
Sort: