#Tried dual booting in systemd boot, now can only boot into windows.

23 messages · Page 1 of 1 (latest)

pulsar crescent
#

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.

DEV Community

This guide explains how to set up dual booting between Windows and Arch Linux using systemd-boot, allowing you to easily manage both operating systems from a single, unified boot menu.

latent pawn
#

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

pulsar crescent
#

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 🥲

pulsar crescent
#

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 🥲

latent pawn
#

and grub allows you to do that

pulsar crescent
#

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

latent pawn
#

You can do it from a USB though

pulsar crescent
# latent pawn Why?

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

pulsar crescent
#

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?

latent pawn
#

Just use the EFI that Windows doesn't use

pulsar crescent
#

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