I needed to increase the size of my boot partition (I already removed old kernels with autoremove).
I increased the size of my drive (VM), and created a new partition. I did all things wonderful to make the new partition /boot. Blkid shows sda1 UUID=1234 PARTUUID=5678-01 and the new partition sda3 UUID=1234 PARTUUID=5678-03.
I tried adding PARTUUID="5678-03" /boot to my fstab but it didn't boot (it works with /dev/sda3 /boot).
Since partitions 1 and 3 are on the same disk (and the same UUID) how can I enter that in fstab?
Ubuntu – How to use a PARTUUID in fstab
bootpartitioning
Best Answer
As @mook765 mentions in comments, I think you can use PARTUUID, but just without quotes.
Also, failing that, I think you can use the
/dev/disk/by-partuuid/*
symlinks that udev creates.You may also want to use 'UUID', not 'PARTUUID'. Here's an example of the boot section of my fstab (this is the default of Ubuntu):
To get the UUID of a block device:
Just for example on another machine, you'll notice that each filesystem on the disk has a different UUID:
Note the UUID comes with the filesystem. So, if you have cloned the partition, the UUID will come with it. You should probably change it if you want to mount it, or refer to it distinctly:
From this blog:
To change:
References