Adding Windows 10 Entry to systemd-boot

Hello, I’m having trouble adding a Windows 10 entry to the systemd-boot menu at boot after a fresh reinstall of EndeavourOS. I had used grub in the past to manage my dual-boot, but I defaulted to systemd-boot for this fresh install.

The Windows 10 install was untouched during this reinstall and is on a different disk from my EndeavourOS install.

I cannot boot into Windows using my motherboard as it seems to be undetected there. I cannot ensure if Windows 10 is in EFI mode in the System Information.

I tried following this tutorial
https://forum.endeavouros.com/t/tutorial-add-a-systemd-boot-loader-menu-entry-for-a-windows-installation-using-a-separate-esp-partition/37431

And the one on the Arch wiki.
https://wiki.archlinux.org/title/Systemd-boot#UEFI_Shells_or_other_EFI_applications

From the forum post, I tried
# sudo cp /usr/share/edk2-shell/x64/Shell.efi efi/shellx64.efi

From the Arch Wiki entry, I tried
# sudo cp /usr/share/edk2-shell/x64/Shell.efi /boot/shellx64.efi

In either situation for the location of shellx64.efi, I don’t see any new entry in systemd-boot’s menu when I reboot.

i don’t know if you have a typo or your copy paste has an error but there is no / in front of efi so the copy command probably created the file elsewhere.

1 Like

Ah, the typo was the solution to getting the file in the right place. :sweat_smile:

The issue I’m running into now is not being able to find the appropriate PARTUUID through sudo blkid | grep vfat. The output only lists my efi partition for EndeavourOS.

I have checked the full list without filtering for vfat and I do see my disk that has my Windows installation.
/dev/sdc1: PARTLABEL=“Microsoft reserved partition” PARTUUID=“280dd225-b773-4c2d-87e1-36f34ec9c24f”

I cannot however see it listed as a FS Alias when I’m in the EFI shell. Maybe that means Windows was not set on EFI mode?

I can’t really help with Windows Issues as I haven’t used Windows since Windows 7.

1 Like

You can just use lsblk -f this should show if there is another /efi partition or not for your windows

Running lsblk -f looks like there isn’t an efi partition for my Windows 10 disk.
I wonder if there’s a workaround to get systemd-boot to recognize Windows 10 or I may have to reinstall Windows 10 with an efi partition.