My setup:
- 1 hdd with Windows 10 installed
- 1 ssd with Archlinux using systemd-boot installed
- Motherboard: MSI X470 Gaming Pro
I first installed Arch, then Windows 10 and the dual boot worked like a charm, but after a BIOS-update, my Motherboard keeps automatically booting to Windows without going though systemd-boot first.
When checking the boot order in the bios, my ssd is still first but it now says Windows Boot Manager instead of UEFI OS (for Linux).
I can verify that the Linux drive still has all of my stuff on it and seems to be untouched.
Can someone please explain to me why this happened?
In case someone is wondering how I solved it:
I booted from a USB-stick and mounted my ssd directories and moved the Microsoft
directory from /boot/EFI/
to somewhere else.
Afterwards the bios label for my ssd correctly said UEFI OS again and booted to systemd-boot again (which obviously didn't show the Windows option anymore).
Finally I moved the Microsoft
directory back to /boot/EFI/
and everything works again.
My question still is why it happened in the first place and how it can be avoided during future bios upgrades.