grub-install: error: cannot find EFI directory. dpkg: error processing package shim-signed (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing:
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub-installer (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
root@ubuntu:
root@ubuntu:
root@ubuntu:
root@ubuntu:
root@ubuntu:
root@ubuntu:
root@ubuntu:/# grub-install --boot-
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.
root@ubuntu:/# mount | grep /boot/efi
root@ubuntu:/# grub-install --efi-directory
Installing for x86_64-efi platform.
grub-install: error: failed to get canonical path of `/mnt/efi'.
root@ubuntu:/# grub-install --efi-directory
Installing for x86_64-efi platform.
grub-install: error: failed to get canonical path of `/boot/EFI'.
root@ubuntu:/# update-grub2
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Adding boot menu entry for EFI firmware configuration
done
root@ubuntu:/# apt-get install grub-efi-
Reading package lists... Done
Building dependency tree
Reading state information... Done
grub-efi-
0 upgraded, 0 newly installed, 0 to remove and 514 not upgraded.
2 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-
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.
dpkg: error processing package grub-efi-
subprocess installed post-installation script returned error exit status 1
Setting up shim-signed (1.33.1~
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.
dpkg: error processing package shim-signed (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
grub-efi-
shim-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: ubiquity 2.21.63.4
ProcVersionSign
Uname: Linux 4.10.0-28-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: amd64
CasperVersion: 1.376.2
Date: Thu Nov 8 09:02:06 2018
InstallCmdLine: BOOT_IMAGE=
LiveMediaBuild: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
ProcEnviron:
LANGUAGE=
PATH=(custom, no user)
LANG=es_CO.UTF-8
SHELL=/bin/bash
SourcePackage: grub-installer
UpgradeStatus: No upgrade log present (probably fresh install)
Status changed to 'Confirmed' because the bug affects multiple users.