[Tutorial] Add a systemd-boot loader Menu entry for a Windows installation using a separate ESP Partition

Why not but systrm difconfigured

its okay but you need to give the info right away as if not assuming its EndeavourOS will cause confusion for every one, EndeavourOS does some convenience changes on the way boot works.
Dracut instead of mkinitcpio and EFI mountpoint setup plus using scripts on generating initrd.

Followed all the steps and i get the β€œWindows” entry on systemd but if i chose it, nothing happens.

did you dound a solution for this? same thing happened to me.

Followed everything and when i select windows i see the windows boot manager and it just freezes only thing i can do is click ctrl+alt+del and reboot

another thing i tried doing is changing the efi file to this and i got the same thing
HD0b:EFI\Boot\bootx64.efi

Tree
.
β”œβ”€β”€ EFI
β”‚ β”œβ”€β”€ BOOT
β”‚ β”‚ └── BOOTX64.EFI
β”‚ β”œβ”€β”€ Linux
β”‚ └── systemd
β”‚ └── systemd-bootx64.efi
β”œβ”€β”€ initramfs-linux-fallback.img
β”œβ”€β”€ initramfs-linux.img
β”œβ”€β”€ initramfs-linux-lts-fallback.img
β”œβ”€β”€ initramfs-linux-lts.img
β”œβ”€β”€ intel-ucode.img
β”œβ”€β”€ loader
β”‚ β”œβ”€β”€ entries
β”‚ β”‚ β”œβ”€β”€ 2025-08-09_02-22-18_linux.conf
β”‚ β”‚ β”œβ”€β”€ 2025-08-09_02-22-18_linux-fallback.conf
β”‚ β”‚ β”œβ”€β”€ 2025-08-09_02-22-18_linux-lts.conf
β”‚ β”‚ β”œβ”€β”€ 2025-08-09_02-22-18_linux-lts-fallback.conf
β”‚ β”‚ └── windows.conf
β”‚ β”œβ”€β”€ entries.srel
β”‚ β”œβ”€β”€ keys
β”‚ β”œβ”€β”€ loader.conf
β”‚ └── random-seed
β”œβ”€β”€ shellx64.efi
β”œβ”€β”€ vmlinuz-linux
β”œβ”€β”€ vmlinuz-linux-lts
└── windows.nsh

windows.nsh

HD0b:EFI\Microsoft\Boot\Bootmgfw.efi

windows.conf

title Windows
efi /shellx64.efi
options -nointerrupt -noconsolein -noconsoleout windows.nsh

This method has been working well for me, thank you, until a recent Windows update.
The systemd-boot Windows entry created does nothing. Booting into Linux and mounting the Windows boot partition, I can see that there is no Bootmgfw.efi
I can use the UEFI to select the Windows boot partition. This leads to Windows saying something like, β€œSomething went wrong, we’re undoing it.”. After doing this, I can then use the systemd-boot entry created to enter Windows. I then use Linux once again to check the Windows boot partition, and Bootmgfw.efi has been restored.

Thank you my GOAT. had to mess with the location of the edk2-shell, but I got it working.