r/archlinux • • 3d ago

SUPPORT Problems installing grub

I'm new and following a tutorial

So I tipped: mkdir /boot/EFI

mount /dev/sda1 /boot/EFI

grub-install --target=x86_64-efi --bootloader-id=grub_uefi --recheck

And it gave me error: cannot find EFI directionary

Can someone help

The tutorial was

https://youtu.be/U8uMmsJQTZM?is=K5CBhT3Zo9hc3X7X

At one hour

0 Upvotes

9 comments sorted by

View all comments

8

u/WhirlPloof 3d ago edited 3d ago

First of all you should mount to /boot not /boot/EFI. Second of all the error occurs because you need to supply the path to the directory to grub-install with the --efi-directory flag. So the correct command is: grub-install --target=x86_64-efi --bootloader-id=GRUB --efi-directory=/boot --recheck

-9

u/Lilanit77 3d ago

Okii I tried fixing the first mistake and am now in the void the whole [root@archiso /]# is just not at the beginning where I type I can still see what I done before tho

2

u/WhirlPloof 3d ago

What did you do exactly

-10

u/Lilanit77 3d ago

Fixed it I forgot to specify wich file I wanted to see with the cat command

-4

u/Lilanit77 3d ago

Lemme tell you I had the shock of my life