Changing name & label of the root partition possible?

I have a vague recollection that I read somewhere that PARTUUID is identifier for the partition itself and not the filesystem which is identified by UUID. When the partition is formatted, the filesystem will get a new UUID but the PARTUUID remains the same.

Take this with a grain of salt :wink:

PS. I am gonna test it on a partition and report back.

Update: Looks like my memory still serves me right sometimes :sweat_smile:

Before formatting (ext4):

$ sudo blkid /dev/sda6
/dev/sda6: UUID="a9b2cd1f-5080-48df-afff-48afe2c9db8e" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="63444f18-cc49-46d8-8cc7-22cbc020c584"

After formatting (ext4):

$ sudo blkid /dev/sda6
/dev/sda6: UUID="6c7c6fc3-d247-4fd1-85a0-ce11e928d73b" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="63444f18-cc49-46d8-8cc7-22cbc020c584"

After formatting to another filesystem (btrfs):

$ sudo blkid /dev/sda6
/dev/sda6: UUID="ddba58bc-ce57-4b2e-a8b3-13c904bf9d33" UUID_SUB="a394e4c3-fd62-4199-901d-c637f8e035ed" BLOCK_SIZE="4096" TYPE="btrfs" PARTUUID="63444f18-cc49-46d8-8cc7-22cbc020c584"

Looks like PARTUUID remains the same.

2 Likes