Systemd boot windows on different drive

Hello everyone,

I got a new bigger ssd and instead of migrating the whole OS, I swapped the disk to do a fresh installation. My previous installation used grub and osprober and could just select windows without doing anything. The fresh install used systemd as default and a tutorial to get the windows entry in the menu [Tutorial] Add a systemd-boot loader Menu entry for a Windows installation using a separate ESP Partition

Well this did not work, I do get the entry but it just gets back on the menu. I assume this is because I have my windows and eos on separate drives. So, the bootmgf file is on the drive which is not mounted at that point. [Tutorial] Add a systemd-boot loader Menu entry for a Windows installation using a separate ESP Partition - #46 by Brqzen

Unfortunately I have not gotten anywhere from this point. I do not know how to correctly tell systems where the windows file is.

I have found topics where people tell it is possible without actually even get a hint how to do it, while other say it’s impossible.

Edit: fyi the default fresh instal with grub and with prober enabled also doesn’t see the windows os, witch is what I did in the past.

Have a look at the following link:

It seems you could alternatively copy the files from your Windows’ EFI directory to your /efi/EFI.

So, it took me 3 hours to find it.
Using systemd with eos and windows on seperate disks. Edit efi/loader/loader.conf and add auto-entries true.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.