I've finally built my new system, which new for me uses a UEFI bios. But I'm having some issues trying to install alongside windows 10.
Win 10 is already installed, with its own EFI partition, on /dev/sdc. This was also an upgrade from Win 7 to 10, so the partition layout is somewhat new. In the past I've always had problems with dual booting and windows, namely windows update would refuse to complete unless the BIOS was configured to boot from the windows drive (IE skipping the GRUB menu).
Windows 10 has created the following:
/dev/sdc1 -- Recovery
/dev/sdc2 -- EFI
/dev/sdc3 -- Reserved
/dev/sdc4 -- C:\ drive
I installed windows by first disabling my nvme drive in the BIOS.
My first attempt at installing Manjaro, to /dev/nvme0n1, prompted me to create a fat32 /boot/efi with a guid partition table. I did this and all seemed fine, windows was in the GRUB menu, but I had no mouse or keyboard upon booting into Manjaro.
I reinstalled Manjaro, which fixed the mouse problem, but now Windows is missing from the GRUB menu. Also, I get errors when trying to boot from the Linux EFI, but booting from the nvme drive itself works. I have a feeling EFI was not used during the second install. I manually set up the partitions and mount points:
/dev/nvmeOn1p4 -- /boot/efi (fat32)
/dev/nvmeOn1p2 -- / (ext4)
/dev/nvmeOn1p3 -- /home
/dev/nvmeOn1p1 -- swap
Did I miss something during the install to cause a non EFI boot loader? Would this also be the reason GRUB, and os-prober/grub-update, cannot find my Windows installation?
Ok, a few blog posts later, I managed to boot Manjaro using the EFI loader. Then ran
sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
which added Windows to the GRUB menu. But selecting the Windows option result in an error:
no such device: 6C01-0891
disk 'hd2,gpt2' not found.
Disable "Fast Boot" in the BIOS.