Go to ...


A Better Technical Repository

RSS Feed

Linux: Searching for a UUID

I ran into a situation where after restoring a linux filesystem and fixing grub the UUID for the swap partition was no longer being recognized.

Using blkid and the partition dev location I was able to retrieve the new UUID and replaced the incorrect one in /etc/fstab

eg. blkid /dev/sda4
UUID=”2db3acb7-cfe7-455c-8d88-da4f00011b3d” TYPE=”swap”