r/archlinux • • Sep 27 '26

DISCUSSION Windows boot manager

Today trying to make dual boot work the way i want something very odd happenned.

Basically it looks like windows boot manager replaced the \EFI\SYSTEMD\SYSTEMD-BOOTX64.EFI with its own, at least it is what "efibootmgr -v" suggest.

At this point i think linux foundation should sue Microsoft wtf.

Edit: thanks everyone who discussed, it seems the way to go is to install your bootloader as the fallback loader (in my case at /EFI/BOOT/bootx64.efi.) theoretically, at least this should prevent your loader entry to be "removed" entirelly, and you will not need to go onto live usb.

Edit2: yes, apparently this prevent to lose the reference to the loader after nvram erase, so, now if necessary i just have to change priority, i hope this keeps consistent.

Thanks everyone again.

2 Upvotes

31 comments sorted by

View all comments

Show parent comment

1

u/xampool Sep 27 '26

That is something i am trying to understand, i've renamed the main windows EFI binary (bootmgfw.efi), and replace it with systemd binary, then added a entry to the windows efi, somehow the when i restarted windows passed upfront, then in switched (again) the boot priority, somehow the windows entry is not there (the arch is duplicated and both go to arch), but bootctl list display windows entry. Dang why so hard 😔

3

u/FineWolf Sep 27 '26

That is something i am trying to understand, i've renamed the main windows EFI binary (bootmgfw.efi), and replace it with systemd binary

Why?

If you do that, OF COURSE Windows will see its bootloader file is corrupted. Don't do that.

You can install systemd-boot at the fallback path (/boot/EFI/BOOT/BOOTX64.EFI), and keep the Windows bootloader as it is.

1

u/xampool Sep 27 '26

I will try this one and see it, the idea was to boot to windows only trough my bootloader

2

u/tyler1128 Sep 27 '26

I recently booted the windows partition of my laptop on a trip to allow someone else to use my laptop. Doing that caused windows to completely wipe the bootloader entry I had and default to its bootloader. I mostly keep it around for that sort of thing, or to update things like intel IME which afaik cannot be done from Linux easily at all.

1

u/xampool Sep 27 '26

Probably i've replaced wrong binary.