Today I ran
sudo apt-get update
sudo apt-get upgrade
After the upgrade, my HP EliteBook 840 G1 was stuck in a bootloop, with an error message appearing for the blink of an eye:
System BootOrder not found. Initializing defaults.
Creating boot entry "Boot000B" with label "ubuntu" for file "\EFI\ubuntu\shimx64.erf"
Reset System
Luckily, I'm still able to boot into Ubuntu by using the manual boot device option of my UEFI BIOS, where I can select "ubuntu" and boot it. However, if I'm advising my BIOS to use "OS Boot Manager", the error message appears again.
Is there a way to fix this and make my Notebook boot normally again, instead of having to boot up Ubuntu manually?