Linux and Windows Dual-Boot Bootloader Override Issue
This article describes a way to address the problem of the firmware repeatedly setting “Windows Boot Manager” as the first boot option. It uses UEFI’s automatic recognition of `EFI/Microsoft/Boot/bootmgfw.efi`: first, back up the original Windows boot file, then copy the grub EFI file and rename it to `bootmgfw.efi`, so the system enters grub first. Next, modify the grub configuration in Linux to point Windows’ chainloader entry to the backed-up original EFI file. This way, even if Windows Boot Manager remains first in the boot order, the system enters grub first and can then boot Windows or Linux as usual.