So I followed this guide to dual booting windows in systemd-boot arch Linux.
https://dev.to/je12emy/setting-up-dual-boot-with-windows-and-arch-linux-using-systemd-boot-2c24
Now suddenly I can only boot into windows. Both my boot partitions in the bios have become Windows boot manager 😭
How to fix this and how to actually dual boot. Can’t seem to find.
#Tried dual booting in systemd boot, now can only boot into windows.
23 messages · Page 1 of 1 (latest)
Copying the Windows EFI into your Linux one is a bad idea
How many EFI partitions do you have? Two?
It's not that straightforward to make systemd-boot detect Windows, it would be much easier to use something like GRUB or not use a dedicated bootloader at all, and use something Unified Kernel Images to make your UEFI be the bootloader so you can just pick your OS from the boot menu
Windows might eat the contents of your Linux EFI any time it wants, usually with every major update
Ok so I’ll do that I guess, but how do I fix it now? I have two separate efi partitions sposed to be one each for windows and Linux 🥲
So you wanna go with grub then?
Yeah gruf or no bootloader is fine for me
I used grub before but this install I couldn’t be bothered to change it during install so I stuck with default systemd
I know how to configure grub for dual boot
But I want to be able to boot into my Linux first 🥲
and grub allows you to do that
Ok please tell me how to do that from windows 😭🙏
Or from some place else cause I can’t seem to boot into my Linux
You can't
You can do it from a USB though
Cause I think windows efi has overwritten everything in my Linux efi partition and I’m not getting bootloader option also, it’s booting straight to windows
Ok I’ll try
How to do that exactly? Should I format my broken Linux-windows fat partition and then mount it to a boot point of the Linux installation then install grub?
Don't format it because then you'll need to recreate the windows EFI and it can be really tricky
Just use the EFI that Windows doesn't use
So I had two boot partitions one for windows only one for Linux only. Following the tutorial i copied the windows efi into the Linux boot partition and now it became another windows boot partition, I guess the Linux partition broke. So I think I can safely format the broken one while keeping the normal windows partition? I hope I’m right