#Grub-install: error: cannot find EFI directory

21 messages · Page 1 of 1 (latest)

shadow pond
#

I'm stuck at grub-install, please help me

languid gorge
#

the efi partition looks to be sda1

#

but it's mounted in 3 different places, strangely

#

should just be set to mount at /boot/efi

#

should also be FAT16 or FAT32

#

run parted -l or fdisk -l to check

#

unmount sda1, remount it to /boot/efi then use that path in the grub install command

shadow pond
#

just in case, I will send this here

languid gorge
#

unfortunately, drive sda scrolled up, off screen

#

though, you could do parted -l | less

shadow pond
languid gorge
#

ctrl-c

#

you might need to flag sda1 with the esp, and boot flags

#

similar to how sdb1 is

shadow pond
#

Umm how am I gonna do that

languid gorge
#

im not sure how parted or fdisk work

#

but see how this guy did it:
https://www.youtube.com/watch?v=rebJqWEiFvg

UPDATE: Since the kernel 5.7 the allocate command is not anymore working. Use the dd command instead as explained in the Wiki.

In this video I am installing Arch Linux with a Swap file instead of a Swap partition on a UEFI laptop and KDE. This is the base OS installation with a Swap file, the advantage being a Swap file can be resized and offer...

▶ Play video
#

around 4:05 for a bit

#

at 12:59 for a few minutes, he shows some stuff, and the grub thing

shadow pond
#

sorry at the moment I'm working on a group project so I switched back to Mint

#

I will try installing Arch someday