Cannot boot Arch Linux after installing it next to windows 10

3.5k views Asked by At

I have just succesfully installed Arch Linux on my Laptop that also runs windows 10. My problem is that there is no visible boot menu where I can choose my os, it always just starts windows. when I run

cfdisk

it lacks the option of adding a bootable flag to my linux partition.

Is there any way of adding a boot menu?

Thanks in advance

1

There are 1 answers

1
McGrady On BEST ANSWER

Check out Dual boot with windows

You can install system-boot

mount /dev/sda5 /mnt   
mkdir /mnt/boot  
mount /dev/sda2 /mnt/boot  #mount EFI 

run this command to install bootloader

bootctl install

And then

cp /usr/share/systemd/bootctl/arch.conf /boot/loader/entries/

Now just modify the arch.conf and enjoy your archlinux.