To find the UUID, use 'blkid' as root. This will generate a list of
devices and their respective UUID's. Like so:
#blkid
/dev/mapper/sda5_crypt: UUID="DLkZz4-D3rH-dODr-eaO3-h1Oa-MLe2-9OVQMz"
TYPE="LVM2_member"
/dev/mapper/ubuntu--vg-root: UUID="d05b055d-032c-4f91-88d1-f8983d3474f6"
TYPE="ext4"
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/sda1: UUID="3f4ce798-b0c8-4c04-a83d-3628838cb6ca" TYPE="ext2"
PARTUUID="68d8d639-01"
/dev/sda5: UUID="a0497c16-a3ae-4610-820c-3bb61b52af1f"
TYPE="crypto_LUKS" PARTUUID="68d8d639-05"
/dev/sdb1: UUID="e3284314-1258-cac3-1b6c-243c748be2fe"
UUID_SUB="f30caf8e-a9f4-672c-eb72-113d4520fc53" LABEL="desktop:0"
TYPE="linux_raid_member" PARTUUID="8e34b25a-01"
/dev/sdc1: UUID="e3284314-1258-cac3-1b6c-243c748be2fe"
UUID_SUB="fa3fadd3-be1d-9195-489a-f52ad5392fa8" LABEL="desktop:0"
TYPE="linux_raid_member" PARTUUID="1e02b459-01"
/dev/sdd1: UUID="e3284314-1258-cac3-1b6c-243c748be2fe"
UUID_SUB="7aaf10aa-aa0f-e6f3-78fc-b27d21901954" LABEL="desktop:0"
TYPE="linux_raid_member" PARTUUID="1b0cf221-01"
/dev/md0: UUID="ueXOJC-T7SH-8udq-3Ezs-XrHN-fiIj-lvlL0Y" TYPE="LVM2_member"
/dev/mapper/ubuntu--vg-swap_1:
UUID="9295b9f3-e8dc-4411-b717-29e960b735b6" TYPE="swap"
/dev/mapper/ubuntu--vg-Music--lv:
UUID="8ea3af6e-2aab-4f03-8850-2eb475743fc9" TYPE="ext4"
/dev/mapper/ubuntu--vg-Videos--lv:
UUID="924cdfea-58bd-42ff-8bf6-a4796bf5b584" TYPE="ext4"
Copy and paste the UUID when referring to the device they point to.
devices and their respective UUID's. Like so:
#blkid
/dev/mapper/sda5_crypt: UUID="DLkZz4-D3rH-dODr-eaO3-h1Oa-MLe2-9OVQMz"
TYPE="LVM2_member"
/dev/mapper/ubuntu--vg-root: UUID="d05b055d-032c-4f91-88d1-f8983d3474f6"
TYPE="ext4"
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/sda1: UUID="3f4ce798-b0c8-4c04-a83d-3628838cb6ca" TYPE="ext2"
PARTUUID="68d8d639-01"
/dev/sda5: UUID="a0497c16-a3ae-4610-820c-3bb61b52af1f"
TYPE="crypto_LUKS" PARTUUID="68d8d639-05"
/dev/sdb1: UUID="e3284314-1258-cac3-1b6c-243c748be2fe"
UUID_SUB="f30caf8e-a9f4-672c-eb72-113d4520fc53" LABEL="desktop:0"
TYPE="linux_raid_member" PARTUUID="8e34b25a-01"
/dev/sdc1: UUID="e3284314-1258-cac3-1b6c-243c748be2fe"
UUID_SUB="fa3fadd3-be1d-9195-489a-f52ad5392fa8" LABEL="desktop:0"
TYPE="linux_raid_member" PARTUUID="1e02b459-01"
/dev/sdd1: UUID="e3284314-1258-cac3-1b6c-243c748be2fe"
UUID_SUB="7aaf10aa-aa0f-e6f3-78fc-b27d21901954" LABEL="desktop:0"
TYPE="linux_raid_member" PARTUUID="1b0cf221-01"
/dev/md0: UUID="ueXOJC-T7SH-8udq-3Ezs-XrHN-fiIj-lvlL0Y" TYPE="LVM2_member"
/dev/mapper/ubuntu--vg-swap_1:
UUID="9295b9f3-e8dc-4411-b717-29e960b735b6" TYPE="swap"
/dev/mapper/ubuntu--vg-Music--lv:
UUID="8ea3af6e-2aab-4f03-8850-2eb475743fc9" TYPE="ext4"
/dev/mapper/ubuntu--vg-Videos--lv:
UUID="924cdfea-58bd-42ff-8bf6-a4796bf5b584" TYPE="ext4"
Copy and paste the UUID when referring to the device they point to.
Comments