bugGNU GRUB - Bugs: bug #60028, grub2-install reports "...


You are not allowed to post comments on this tracker with your current authentication level.

bug #60028: grub2-install reports " "cannot find EFI directory" if there is a misleading apparent duplicate ESP path in /boot

Submitted by:  Lewis Smith <lewyssmith>
Submitted on:  Tue 09 Feb 2021 11:23:26 AM UTC  
Category:  None Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  None Privacy:  Public
Assigned to:  None Originator Name:  Lewis Smith
Open/Closed:  Open Release: 
Release:  2.02 Reproducibility:  Every Time
Planned Release:  None

Tue 09 Feb 2021 11:23:26 AM UTC, original submission:  


On a Mageia 7 system, unusually the ESP path is /boot/EFI/[EFI/] i.e. the ESP is mounted on /boot/EFI/ ; rather than on the more normal /boot/efi/. (In Mageia 8 both variants are linked).
By chance, this user had an additional spurious empty directory /boot/efi/EFI/, and grub2-install always fails thus:
 # grub2-install
 installing for x86_64-efi platform
 grub2-install: error: cannot find EFI directory

Once the extra directory is removed, leaving just the correct /boot/EFI[/ESP...], the 'grub2-install command works, so is clearly upset by the half-duplicate path.
 # grub2-install
 Installation finished. No error reported

I checked all open bugs first...

Lewis Smith <lewyssmith>


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by lewyssmith (Submitted the item)
  • -email is unavailable- added by lewyssmith (grub2-install bug)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-02-09 lewyssmith Carbon-Copy- => Added lewyssmith

    Back to the top

    Powered by Savane 3.7