How to dual boot Windows and Linux?
This article will focus on Arch specifically. I'm not interested in covering cases for other distros.
This article assumes you succesfully installed the system, have Windows already installed, and that you have chosen to chroot into the system.
- Create a directory in
/mntfor the WindowsC:drive.
mkdir /mnt/win
- Mount the block device
<NAME>where theC:drive is.
mount /dev/<NAME> /mnt/win
- Change the working directory to Windows'
EFI/directory.
cd /mnt/win/EFI
- Copy the whole
Microsoft/directory to Linux'sEFI/directory.
cp -r Microsoft /boot/EFI/
- Create the file
/boot/loader/entries/windows.conf, and write into it:
title Windows
efi /boot/EFI/Microsoft/Boot/bootmgfw.efi
That's it! Don't forget to set proper boot orders in your BIOS.