Bugzilla – Bug 1210969
"grub2-reboot uefi-firmware" leaves box unbootable
Last modified: 2023-05-14 14:32:47 UTC
After grub2-reboot uefi-firmware grub directly boots the bios without even briefly showing the menu. grub2-reboot did give a warning, but i bravely presumed that after i'd adjusted bios settings i could boot by grabbing the boot menu. But boot_once doesn't show the menu and sets timeout=0, leaving no way to grab the boot menu. Looks like a design bug to me, why should next_entry/boot_once prevent access to the grub menu? That sets up a classic case of catch 22, can't boot until next_boot is cleared, which can't happen because it can't boot.
as mentioned grub2-reboot did give a warning, but (1) the warning is weak, and (2) there's no need to setup an unbootable situation to boot_once into the bios. grub is clearly capable of modifying grubenv, and, there's no reason boot_once should even temporarily deny access to the grub menu.