Blkid Command to Learn the UUID

by Scott, Revised on October 25, 2009 (Linux)

Get the ID of a block device. When partition changes are made, distros that list the UUID in their /etc/fstab (Ubuntu, Kubuntu) now have the old UUID causing a fsck error upon booting. Using this command, learn the new UUID and make changes to the /etc/fstab file.

blkid /dev/sda[1,2,3...]

Tags: Linux