Dual Boot Windows and Omarchy (using systemd-boot) Configuration Guide #354
Replies: 7 comments 2 replies
-
I set it up almost the same before I found out your discussion post. It's great you wrote it!:) I have a question to that - do you know if it will last as long as there is the source Windows installation available on disk? In other words, does the original Windows Bootloader change, e.g. during OS updates or not? |
Beta Was this translation helpful? Give feedback.
-
Thank you soo much! |
Beta Was this translation helpful? Give feedback.
-
I followed the guide at https://forum.endeavouros.com/t/tutorial-add-a-systemd-boot-loader-menu-entry-for-a-windows-installation-using-a-separate-esp-partition/37431 and it worked perfectly for me. The only downside is that it involves a couple of reboots. It seems to use something generic in |
Beta Was this translation helpful? Give feedback.
-
this issue was dual boot related. i think i will write a manual-installation manual. (which is what you will need if you have both systems on the same disk) |
Beta Was this translation helpful? Give feedback.
-
I used the guide 👉🏼 https://wiki.archlinux.org/title/Limine. Specifically editing the
And finally executing I didn't go through any updates yet, but it shouldn't be a problem. |
Beta Was this translation helpful? Give feedback.
-
I had the Windows installed in another disk so I had to go through a few more steps. Adding to the
After this the Windows option appeared in the bootloader but choosing windows failed yet. I had to boot a Windows USB and in the CMD run the following commands.
And after rebooting i was able to go into windows. |
Beta Was this translation helpful? Give feedback.
-
I wrote a thread on Omarchys official discord server, since this was a bit related, I'll post the thread, this is how you do it with Limine (First time using, seems like a solid bootloader) I also overwrite my EFI boot since it was on my linux drive (Boot partition) and since omarchy overwrites the whole drive you can guess what happened. Fix: Omarchy/Limine Overwrote Windows Bootloader (Dual-Boot Restore) 1️⃣ Identify partitions in Linux nvme1n1p1 → vfat = Omarchy EFI For you it might say sdaXY instead. I use NVME SSDs. sudo mount /dev/nvme1n1p1 /mnt/esp 2️⃣ Create Windows installer USB 3️⃣ Boot into Windows recovery diskpart EFI (FAT32, 100–500 MB): select vol X Windows (NTFS, large, contains \Windows): select vol Y Exit: exit 4️⃣ Rebuild Windows boot files Should say: Boot files successfully created. 5️⃣ Back in Linux 6️⃣ Add Windows to Limine sudo limine-scan Option B – Manual: /Windows 7️⃣ Adjust boot order (optional) (change numbers to match your IDs) Done! Windows boots again and is selectable in Limine. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This guide walks you through adding a Windows boot option to
systemd-boot
on a dual-drive setup where Windows is installed on a separate hard drive.Prerequisites
systemd-boot
as the bootloader1. Identify the Windows EFI System Partition
Run the following command to list disks and partitions:
Look for the Windows EFI System Partition. It will typically:
/dev/sdb2
)FSTYPE
asvfat
For example, you might see a line:
2. Mount the Windows EFI Partition
Create a temporary mount point and mount the Windows EFI partition. Make sure to mount the drive based on step 1 (
sdb2
in our example, but yours might be different).Verify that it contains the Microsoft bootloader:
ls /mnt/windows-efi/EFI # You should see a "Microsoft" folder
3. Copy the Windows Bootloader to Your Linux ESP
Copy the Microsoft bootloader folder into your Linux EFI system partition (usually mounted at
/boot
):Then unmount the Windows EFI partition:
Delete the temporary mount point
4. Reboot and Test
Restart your machine and you should see a new entry:
You should now see "Windows 11" as a boot option in
systemd-boot
.Done
You are should now be able to dual boot between Windows and Arch Linux with
systemd-boot
.Beta Was this translation helpful? Give feedback.
All reactions