You are not logged in.

#1 2018-05-27 18:16:39

Belph
Member
Registered: 2018-04-08
Posts: 26

[solved] Grub: Error: Cannot find EFI directory

Aloha,

I am currently on the brink of madness because I installed Arch many times on this exact Computer before without ever getting a Problem with grub.

The boot_mode in my bios is set to Legacy + UEFI

After using using pacstrap /mnt base I used arch-chroot /mnt and then instantly downloaded grub via pacman -S grub-bios (There is also the option of only typing grub instead of grub-bios but it seems to be the same thing).

The next step I usually do differs from what many people do I think since I only type "grub-install /dev/sda" I've seen other people type out longer commands but since that always work I tried it as well today.

I then get Grub: Error: Cannot find EFI directory


I don't get why I would get that error now after literally installing Arch over and over for practice like a month ago...



Regards and sorry if I forgot to post important information


<3  Belph

Last edited by Belph (2019-01-05 19:38:55)

Offline

#2 2018-05-27 18:22:32

zezu
Member
Registered: 2017-12-25
Posts: 16

Re: [solved] Grub: Error: Cannot find EFI directory

Is your disk using a dos partiton table or gpt?
Did you try this:
https://wiki.archlinux.org/index.php/GRUB#UEFI_systems

Offline

#3 2018-05-27 19:24:02

Belph
Member
Registered: 2018-04-08
Posts: 26

Re: [solved] Grub: Error: Cannot find EFI directory

zezu wrote:

Is your disk using a dos partiton table or gpt?
Did you try this:
https://wiki.archlinux.org/index.php/GRUB#UEFI_systems

It was set to "loop" but now I was able to set it to gpt by using mkfs /dev/sda
I still get the same error. I also don't have a little partition with FAT32 format on my list, when using parted /dev/sda print, I am actually having trouble creating one.

And I still don't get why I get this Problem now and didn't get it a month ago.

Offline

#4 2018-05-27 19:39:31

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: [solved] Grub: Error: Cannot find EFI directory

A month ago everything was the same?  Is the system booting in EFI or BIOS mode?

Offline

#5 2018-05-27 19:41:53

Belph
Member
Registered: 2018-04-08
Posts: 26

Re: [solved] Grub: Error: Cannot find EFI directory

loqs wrote:

A month ago everything was the same?  Is the system booting in EFI or BIOS mode?

UEFI

Offline

#6 2018-05-27 19:45:08

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: [solved] Grub: Error: Cannot find EFI directory

What is the output of `parted -l` and `findmnt`

Offline

#7 2018-05-27 20:23:28

zezu
Member
Registered: 2017-12-25
Posts: 16

Re: [solved] Grub: Error: Cannot find EFI directory

try to use dos partition table

Offline

#8 2018-05-27 21:14:09

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,718
Website

Re: [solved] Grub: Error: Cannot find EFI directory

zezu, while it is entirely possible to have an ESP on a disk with MBR (msdos) partition tables, it isn't generally very well supported, and it certainly isn't what the ArchWiki recommends. If you have a good reason for suggesting that Belph switch to a MBR partition table, please share it, otherwise please don't make random suggestions which will only serve to confuse the matter.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#9 2018-05-27 23:09:17

circleface
Member
Registered: 2012-05-26
Posts: 639

Re: [solved] Grub: Error: Cannot find EFI directory

I also don't have a little partition with FAT32 format on my list

If your system is booting in UEFI mode, you will have to have a partition with FAT32 for the EFI partition.

Offline

#10 2018-05-28 06:24:24

Belph
Member
Registered: 2018-04-08
Posts: 26

Re: [solved] Grub: Error: Cannot find EFI directory

I thought I succeeded in changing the partition table to gpt but it still is loop. I would like to post the output to make it easier for you guys but I don't know how this works.

Offline

#11 2018-05-28 06:28:54

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [solved] Grub: Error: Cannot find EFI directory


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#12 2018-05-28 06:31:12

Belph
Member
Registered: 2018-04-08
Posts: 26

Re: [solved] Grub: Error: Cannot find EFI directory

Belph wrote:

I thought I succeeded in changing the partition table to gpt but it still is loop. I would like to post the output to make it easier for you guys but I don't know how this works.

Btw, I've been using cfdisk to make the partitions and I just noticed that is says label: dos at the top of the fake GUI

Offline

Board footer

Powered by FluxBB