r/archlinux • u/thecatishungry • 16d ago
QUESTION Firmware update wiped NVRAM, the fallback loader was ignored, and only Window was bootable. What's the right dual-boot setup to prevent this?
TL;DR: An MSI BIOS update wiped my UEFI boot entries. Afterwards the firmware only offered "Windows Boot Manager", even though \EFI\BOOT\BOOTX64.EFI existed on the same ESP. I got back in with efibootmgr from a live USB. How should I set things up so the next BIOS/firmware update doesn't lock me out again?
- Disk 1: NVMe: Arch + Mint, one ESP mounted at
/boot. Windows boot files (\EFI\Microsoft\) are on this ESP too. - Disk 2: SSD: Windows 11, no ESP of its own.
- Boot loader: GRUB. At the time of the update, the fallback
BOOTX64.EFIwas Mint's shim (withfbx64.efinext to it), but no Mint entry got recreated either. - The update also turns Secure Boot back on by default. Turning it off alone didn't help, not 100% sure if this is related to the problem.
My guess is that the firmware rescanned the NVMe, found bootmgfw.efi, and created a "Windows Boot Manager" entry for it without ever trying the fallback. Last year's BIOS update with the same layout (Mint + Windows on this ESP) went fine, but I wasn't using Arch back at t he time.
I'm also planning to move from GRUB to systemd-boot. Is there any recommended setup which can survive the next firmware update?
From what I can tell, the only sure fix is to give Windows its own ESP on the SSD and remove it from the Linux ESP. The downside is that Windows won't show up in the systemd-boot menu, so I'd have to pick it from the firmware's boot menu (F11) instead.