You are not logged in.
So when I was not chrooted I did
mkdir /mnt/efi
then I mounted my efi partition to /mnt/efi with
mount /dev/sdb1 /mnt/efi
I then chrooted and attempted to install grub like this
grub-install --target=x86_64-efi --efi-directory=/efi --bootloader-id=GRUB"
but it says
grub-install : error : failed to get canonical path of '/efi'
What is going wrong?
Last edited by highfrequencyhertz (2021-09-21 04:15:31)
Offline
So when I was not chrooted I did
mkdir /mnt/efi
then I mounted my efi partition to /mnt/efi with
mount /dev/sdb1 /mnt/efi
Did you mount your new root partition to /mnt prior to the above?
Eenie meenie, chili beanie, the spirits are about to speak -- Bullwinkle J. Moose
It's a big club...and you ain't in it -- George Carlin
Registered Linux user #149839
perl -e 'print$i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10); '
Offline
No, I mounted the efi system partition first, then the root partition.
Last edited by highfrequencyhertz (2021-06-10 22:30:11)
Offline
No, I mounted the efi system partition first, then the root partition.
Mounting /mnt after /mnt/efi hides /mnt/efi beneath the new /mnt.
Offline
Oh, thanks! I guess I have to REALLY follow the installation guide.
Offline