So, I might have done a wee mistake by installing Manjaro first on my new PC. From what I could gather online, Windows has a tendency to break the bootloader and cause the Linux partition to be unbootable. I looked for solutions to this on the old forum, but all I could find are suggestions to use another drive and disconnect the Linux drive, but I have only one SSD, so I can’t do so.
Is there anyway to install Windows on the same drive without breaking the bootloader? If that isn’t possible, I would appreciate if someone could point me to a detailed guide on how to fix the bootloader (with a Live CD I presume) afterwards.
Let’s assume you have installed Manjaro in UEFI mode on a gpt parted disk. After installing Windoze make sure Secure boot is disabled (in firmware), fully shutdown Windoze (switch off Fastboot) to avoid it’s remaining in a kind of hibernate state, then boot into a Manjaro LIVE iso (in UEFI mode) and enter some commands to let us know how your system is configured:
sudo parted -l
lsblk -f
Most likely you only need to chroot into your system and reinstall grub afterwards, the command(s) depend on your system configuration (deducted from the output of the above commands).
The only thing I miss is the boot flag for nvme0n1p1. When you install Windoze your EFI partition most likely will be overwritten by Windoze. As I said after installing Windoze make sure Secure boot is disabled (in firmware), fully shutdown Windoze (switch off Fastboot) to avoid it’s remaining in a kind of hibernate state, then boot into a Manjaro LIVE iso (in UEFI mode) and enter:
Thanks for the detailed response. How do I disable secure and fast boot though? I have only one thumb drive, so I’ll need to download the Manjaro image while in windows.