Artix Linux Forum

Artix Linux => Installation / Migration / Configuration => Topic started by: NickStone on 16 May 2021, 17:38:26

Title: [SOLVED] grub install
Post by: NickStone on 16 May 2021, 17:38:26
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
Code: [Select]
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
Title: Re: grub install
Post by: RIA77 on 17 May 2021, 16:13:25
grub-mkconfig -o /boot/grub/grub.cfg

grub-install --recheck /dev/sda


 (dev/sda is my hard drive.  Change /dev/sda with your drive)
Title: Re: grub install
Post by: alium on 17 May 2021, 17:32:39
https://fasterland.net/how-to-install-grub-on-arch-linux-uefi.html
try this:
Code: [Select]
# os-prober
# grub-mkconfig -o /boot/grub/grub.cfg
# grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB
Title: Re: grub install
Post by: NickStone on 22 May 2021, 19:27:49
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.