manjaro manjaro]# mount /dev/sda2 /mnt/
[manjaro manjaro]# cd /mnt/
[manjaro mnt]# ls
EFI
[manjaro mnt]# cd EFI/
[manjaro EFI]# ls
Boot Manjaro Microsoft
[manjaro EFI]# ls
Boot Manjaro Microsoft
[manjaro EFI]# grub-install --target=x86_64-efi --efi-directory=/mnt --bootloader-id=Manjaro
Installing for x86_64-efi platform.
grub-install: error: failed to get canonical path of `overlay'.
[manjaro EFI]# grub-install --target=x86_64-efi --efi-directory=/mnt --bootloader-id=Grub
Installing for x86_64-efi platform.
grub-install: error: failed to get canonical path of `overlay'.
[manjaro mnt]# mount /dev/sda4 /mnt/
[manjaro mnt]# for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done
[manjaro ~]# cd /mnt/
[manjaro mnt]# mkdir efi
[manjaro mnt]# mount /dev/sda2 /mnt/efi/
[manjaro mnt]# chroot /mnt/
[manjaro /]# grub-install --target=x86_64-efi --efi-directory=/efi --bootloader-id=Manjaro
Installing for x86_64-efi platform.
EFI variables are not supported on this system.
EFI variables are not supported on this system.
Installation finished. No error reported.