I need some guidance in figuring out what changes lately have caused every grub rebuild by grub-mkconfig to put the UEFI Firmware Setting menu entry first in the grub.cfg file.
This causes the next reboot to boot straight to the BIOS since the boot order in /etc/default/grub is still the normal GRUB_DEFAULT=“0”
I have to manually edit the /boot/grub/grub.cfg file every time to put it last in the file.
This all seemed to change back around August when the new grub scripts were added by updates.
But I can’t find which script is putting the UEFI Firmware entry first in the grub.cfg file. I rather change that one file that is causing this reorder every time grub gets updated by kernel updates than having to manually edit grub.cfg every time.
Has anyone else seen this new behavior and know the fix?