efibootmgr

You can examine the boot entries with

# efibootmgr

But keep in mind it displays PARTUUIDs and not UUIDs (blkid shows UUIDs). So to figure out which is the entry you want to delete, you should first confirm that the entry corresponds to the device and partition that contains EFI. To check:

# blkid -p -o value -s PART_ENTRY_UUID /dev/nvme0n1p1

To delete a boot entry:

# efibootmgr -b 1 -B

1 because $ efibootmgr showed Boot0001* Linux Boot Manager.


Comments