Bug#955390: grub-install: error: failed to register the EFI boot entry: Bad address.
Package: shim-signed-common
Version: 1.33+15+1533136590.3beb971-7
Severity: important
Hi,
This system was initially installed with jessie with grub-pc on MBR,
upgraded to stretch, switched to grub-efi-amd64 on UEFI (to handle
bigger disks), and that was working rather fine.
Upgrading to buster, I'm now seeing this when trying to configure the
shim-signed-common package. I'm enclined to think it might be a GRUB
issue instead, but I'm filing this against the affected package anyway
since I don't know any better (maybe shim-* is triggering some GRUB
issue…) at the moment.
Setting up shim-signed-common (1.33+15+1533136590.3beb971-7) ...
Installing for x86_64-efi platform.
File descriptor 3 (pipe:[21154245]) leaked on vgs invocation. Parent PID 3633: grub-install
File descriptor 3 (pipe:[21154245]) leaked on vgs invocation. Parent PID 3633: grub-install
grub-install: warning: efivarfs_get_variable: open(/sys/firmware/efi/efivars/blk0-47c7b225-c42a-11d2-8e57-00a0c969723b): No such file or directory.
grub-install: warning: efi_get_variable: ops->get_variable failed: No such file or directory.
grub-install: warning: efi_va_generate_file_device_path_from_esp: could not open device for ESP: Bad address.
grub-install: warning: efi_generate_file_device_path_from_esp: could not generate File DP from ESP: Bad address.
grub-install: error: failed to register the EFI boot entry: Bad address.
dpkg: error processing package shim-signed-common (--configure):
installed shim-signed-common package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of shim-signed:amd64:
shim-signed:amd64 depends on shim-signed-common (= 1.33+15+1533136590.3beb971-7); however:
Package shim-signed-common is not configured yet.
dpkg: error processing package shim-signed:amd64 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
shim-signed-common
shim-signed:amd64
Feel free to let me know if you'd rather see me file a bug report
against one of the GRUB binary instead…
Cheers,
--
Cyril Brulebois (kibi@debian.org) <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant
-- System Information:
Debian Release: 10.3
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-8-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages shim-signed-common depends on:
ii debconf [debconf-2.0] 1.5.71
ii mokutil 0.3.0+1538710437.fb6250f-1
shim-signed-common recommends no packages.
shim-signed-common suggests no packages.
-- debconf information:
shim/secureboot_explanation:
shim/error/bad_secureboot_key:
shim/enable_secureboot: false
shim/title/secureboot:
shim/error/secureboot_key_mismatch:
shim/disable_secureboot: true
Reply to: