Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Linux by (9.5k points)

I’ve Arch Linux which runs Windows 10. When I run the code below: 

Cfdisk [It just starts the windows] 

Can anyone tell me how to get a visible boot menu to choose Arch Linux as my OS? 

1 Answer

0 votes
by (19.7k points)

Install system-boot with the code below:

 

mount /dev/sda5 /mnt   

mkdir /mnt/boot  

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

run this command to install bootloader

To install bootloader:

 bootctl install

To modify the arch.conf to get Arch Linux: 

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

Interested in Linux? Check out this Linux Certification by Intellipaat.  

 

Related questions

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...