A Universally Unique Identifier (UUID) is an identifier standard used in software construction whose intent is to enable distributed systems to uniquely identify information without significant central coordination.
Typically, a UUID consists of 32 hexadecimal digits, displayed in 5 groups separated by hyphens, e.g.:
To get a list of the UUIDs for your partitions:
- open a terminal window
- become root (type su and then enter your root password at the prompt)
- use the command blkid
- example of return:
/dev/sda2: UUID="15e1a70e-1d2a-47f5-a96a-a83d0c3fdc91" TYPE="ext4" /dev/sda1: UUID="d671e415-0aee-4e18-9b7a-bcc8a6e0f3d3" TYPE="ext4" /dev/sdb1: LABEL="swap" UUID="6d4cc0e2-fcd4-46aa-890b-7671103ce9ca" TYPE="swap"
/dev/sdb2: LABEL="data" UUID="8a0b19d0-3672-4c55-80da-645b08183f55" TYPE="ext4"
/dev/sdc1: LABEL="Backup" UUID="387DB7D1242D8864" TYPE="ntfs"
The primary reason for using UUIDs is to avoid problems with device locators changing (e.g., sdc1 might become sdc2 whe another device is plugged in). See this discussion for more.