If you are using the fwupdmgr, you might have noticed the UEFI ESP partition not detected or configured -warning.
For us, it meant that the UEFI partition wasn’t labeled correctly and here is how to fix that.
First check all the partitions with the following command:
sudo blkid
You should see something like this:
/dev/nvme0n1p1: UUID="XXXX-XXXX" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="something"
Start gdisk with the following command:
sudo gdisk /dev/nvme0n1
- Press
pto printout your partition table and verify your EFI partition. - Press
tto change type - When asked for partition number, type the number of your EFI partition
- When asked the hex code, type:
ef00. - Press
wto write changes and exit. - Reboot.