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

Submitter:  Lewis Smith <lewyssmith>
Submitted:  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:  2.02
Release:  Reproducibility:  Every Time
Planned Release:  None

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

 https://bugs.mageia.org/show_bug.cgi?id=28292

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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    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.13-d3ae.
    Corresponding source code