Every now and then after I upgrade my system the efi boot order is changed and the system won't boot. I have to go to the bios and reselect the ubuntu efi entry. I am guessing it is one of those packages (at least it always happens when I see one of those being upgraded):
grub-common grub-efi grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-
signed grub2-common shim shim-signed
When I run efibootmgr I get this:
efibootmgr
No BootOrder is set; firmware will attempt recovery
I ran:
[ -d /sys/firmware/efi ] && echo UEFI || echo BIOS
UEFI
I am unable to find any answers to efibootgmr not running. Please help. Thanks!
Update:
I tried adding an EFI boot variable with:
efibootmgr --create --disk /dev/sda --part 1 --label "Ubuntu" --loader
\\EFI\\ubuntu\\grubx64.efi
Which returns:
BootOrder: 0000
Boot0000* Ubuntu
On restart the system won't boot.
Now the working entry is labeled Ubuntu. When I select it Ubuntu boots. After running efibootmgr again I get the same result as before:
efibootmgr
No BootOrder is set; firmware will attempt recover
In case it is relevant shim and shim-signed were also updated when the boot order was changed by the update.
Update:
The computer is a Gigabyte Brix GB-BXBT-1900 with the newest bios revision.
I think my initial question was why efigootmgr is not working and that has been answered. Thank you for your input.