I tried grub-install --target=x86_64-efi --efi-directory=/b
I got output...
failed to get canonical path of /b
I don't know why this is happening? How can I fix it?
Actually, grub-install --target=x86_64-efi --efi-directory=/b
doesn't have access to run as a normal user. This only can be run as root user(arch-chroot). Here's the answer which helped me https://unix.stackexchange.com/a/261409/467213. And, not every user can run the code grub-install --target=x86_64-efi --efi-directory=/b
. I tried to run the code as a root user I got another issue. Here's the question which helped me https://bbs.archlinux.org/viewtopic.php?id=252598. I am unable to copy the answer(cause, I am using SE from mobile. I will edit my answer later.
/b
?