Hi. So, I decided to install Manjaro KDE alongside my Windows 10 and did exactly what this topic said.
And I typed efibootmgr on my Terminal (Live Manjaro) and I found out that my Manjaro is the second.
So as @gohlip mentioned I typed the following commands (sda8 my boot media and sda10 my root media)
sudo mount /dev/sda10 /mnt
sudo mount /dev/sda2 /mnt/boot/efi
sudo cp /mnt/boot/grub/x86_64-efi/core.efi /mnt/boot/efi/EFI/boot/bootx64.efi
sudo efibootmgr -c -d /dev/sda -p 2 -L "manjaro" -l "\EFI\Manjaro\grubx64.efi"
And when I typed efibootmgr I got the same result
So after a reboot I saw the error: "No bootable media found" (So I'm not sure but I might have used mount /dev/sda8 /mnt as well)
I re-inserted the USB again and booted the live OS and tried to re-install grub as this topic mentions.
I got the "EFI variables are not supported on this system." error so I did the following:
pacman -S efibootmgr dosftools grub
yet the same error so I went chroot and did:
mount -t efivarfs efivarfs /sys/firmware/efi/efivars
(I executed the command before it in non-chroot)
So now I get "mount point does not exist" for that path.
I also tried the alternate route and I get "efibootmgr failed to register the boot entry: No such file or directory."
Can someone help me with this? I'm currently without access to both Windows 10 and non-Live Manjaro.
btw, will deleting Manjaro boot partition and the OS save my Windows?