[Bug 1571925] Re: grub-install: error: cannot find EFI directory.
Bjoern Toschi
1571925 at bugs.launchpad.net
Fri May 14 07:49:44 UTC 2021
Just to leave relevant information for ppl. reaching this page from
google (like me ;) )
I had similar issue after running normal dist-upgrade on 20.04 which was working fine since months, which is an "old" upgraded system (originally started as Ubuntu 06 ;) ), dual-boot with Windows 10 which I had recently (b/o this year) moved to a NVMe SSD (which required me to switch to EFI boot).
Now, I somehow followed guidelines how to do that, but most were not fully working for me and I had to re-install Windows 10, and I somehow managed to miss a vital part:
The '/boot/efi' entry in fstab !
After adding this entry, doing 'sudo mount -a' and re-running dist-
upgrade everything worked fine.
The fstab entry should look like:
UUID=5A8E-000B /boot/efi vfat umask=0077 0 1
Replace the UUID by what's returned by blkid command on EFI partition.
Hope this info saves someone ;)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2-signed in Ubuntu.
https://bugs.launchpad.net/bugs/1571925
Title:
grub-install: error: cannot find EFI directory.
Status in grub2-signed package in Ubuntu:
Expired
Bug description:
$ sudo apt dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up grub-efi-amd64-signed (1.66+2.02~beta2-36ubuntu3) ...
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.
dpkg: error processing package grub-efi-amd64-signed (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
grub-efi-amd64-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: grub-efi-amd64-signed 1.66+2.02~beta2-36ubuntu3
ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6
Uname: Linux 4.4.0-18-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_modeset nvidia
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
CurrentDesktop: XFCE
Date: Mon Apr 18 21:05:54 2016
InstallationDate: Installed on 2016-03-03 (47 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160122.2)
SourcePackage: grub2-signed
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2-signed/+bug/1571925/+subscriptions
More information about the foundations-bugs
mailing list