I'm following the installation guide on the Artix wiki and have come to installing grub, using the commands on the wiki but I get the error
grub-install: error: failed to get canonical path of 'overlay'
I used the command
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=grub
grub-mkconfig -o /boot/grub/grub.cfg
grub-install --recheck /dev/sda
(dev/sda is my hard drive. Change /dev/sda with your drive)
https://fasterland.net/how-to-install-grub-on-arch-linux-uefi.html
try this:
# os-prober
# grub-mkconfig -o /boot/grub/grub.cfg
# grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB
I have just attempted to re-install Artix and grub and this time it worked.
Last time I committed a schoolboy error. I didn't chroot into the new system so that's why there was an error with installing grub.