Upon closer examination, your report shows that the system *does*
support UEFI: 'efibootmgr' returns a complete list of UEFI boot entries.
But grub-install reports that it can't find the EFI directory, even
though it had just used the same code to install grub-efi-amd64-signed
moments before:

Setting up grub-efi-amd64 (2.02~beta2-36ubuntu3.1) ...
Installing new version of config file /etc/kernel/postinst.d/zz-update-grub ...
Installing new version of config file /etc/kernel/postrm.d/zz-update-grub ...
Generating grub configuration file ...
[...]
Found Windows Boot Manager on /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for EFI firmware configuration
done
Setting up grub-efi-amd64-signed (1.66.1+2.02~beta2-36ubuntu3.1) ...
[...]
Setting up shim-signed (1.18~16.04.1+0.8-0ubuntu2) ...
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

Can you show the output of 'mount' on this system, and a directory
listing of /boot/efi?

** Summary changed:

- package shim-signed 1.18~16.04.1+0.8-0ubuntu2 failed to install/upgrade: 
subprocess installed post-installation script returned error exit status 1
+ grub-install: error: cannot find EFI directory: package shim-signed 
1.18~16.04.1+0.8-0ubuntu2 failed to install/upgrade: subprocess installed 
post-installation script returned error exit status 1

** Summary changed:

- grub-install: error: cannot find EFI directory: package shim-signed 
1.18~16.04.1+0.8-0ubuntu2 failed to install/upgrade: subprocess installed 
post-installation script returned error exit status 1
+ (14.04->16.04 upgrade) grub-install: error: cannot find EFI directory: 
package shim-signed 1.18~16.04.1+0.8-0ubuntu2 failed to install/upgrade: 
subprocess installed post-installation script returned error exit status 1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1607817

Title:
  (14.04->16.04 upgrade) grub-install: error: cannot find EFI directory:
  package shim-signed 1.18~16.04.1+0.8-0ubuntu2 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shim-signed/+bug/1607817/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to