[Bug 1940723] Re: shim-signed fails to install if grub disk config is incorrect
Anders Bälter
1940723 at bugs.launchpad.net
Mon Sep 13 14:59:32 UTC 2021
More context:
cat /boot/grub/device.map
cat: /boot/grub/device.map: No such file or directory
sudo debconf-show grub-pc | grep grub-pc/install_devices
grub-pc/install_devices_failed: false
grub-pc/install_devices_failed_upgrade: true
* grub-pc/install_devices_empty: false
grub-pc/install_devices_disks_changed:
* grub-pc/install_devices: /dev/disk/by-id/scsi-14d534654202020206b732779d9c8429f997bc9f57f0b9212
ls -l /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root 9 Aug 18 11:36 ata-Virtual_CD -> ../../sr0
lrwxrwxrwx 1 root root 9 Aug 18 11:36 scsi-3600224800de237bbe8e76773044489a1 -> ../../sdc
lrwxrwxrwx 1 root root 9 Aug 18 11:36 scsi-360022480400bb6ba207caad0981cbca9 -> ../../sdb
lrwxrwxrwx 1 root root 10 Aug 18 11:36 scsi-360022480400bb6ba207caad0981cbca9-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 9 Aug 18 11:36 scsi-3600224806b732779d9c8c9f57f0b9212 -> ../../sda
lrwxrwxrwx 1 root root 10 Aug 18 11:36 scsi-3600224806b732779d9c8c9f57f0b9212-part1 -> ../../sda1
lrwxrwxrwx 1 root root 11 Aug 18 11:36 scsi-3600224806b732779d9c8c9f57f0b9212-part14 -> ../../sda14
lrwxrwxrwx 1 root root 11 Aug 18 11:36 scsi-3600224806b732779d9c8c9f57f0b9212-part15 -> ../../sda15
lrwxrwxrwx 1 root root 9 Aug 18 11:36 wwn-0x600224800de237bbe8e76773044489a1 -> ../../sdc
lrwxrwxrwx 1 root root 9 Aug 18 11:36 wwn-0x60022480400bb6ba207caad0981cbca9 -> ../../sdb
lrwxrwxrwx 1 root root 10 Aug 18 11:36 wwn-0x60022480400bb6ba207caad0981cbca9-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 9 Aug 18 11:36 wwn-0x600224806b732779d9c8c9f57f0b9212 -> ../../sda
lrwxrwxrwx 1 root root 10 Aug 18 11:36 wwn-0x600224806b732779d9c8c9f57f0b9212-part1 -> ../../sda1
lrwxrwxrwx 1 root root 11 Aug 18 11:36 wwn-0x600224806b732779d9c8c9f57f0b9212-part14 -> ../../sda14
lrwxrwxrwx 1 root root 11 Aug 18 11:36 wwn-0x600224806b732779d9c8c9f57f0b9212-part15 -> ../../sda15
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1940723
Title:
shim-signed fails to install if grub disk config is incorrect
Status in grub2 package in Ubuntu:
Confirmed
Status in shim-signed package in Ubuntu:
Confirmed
Bug description:
package shim-signed 1.40.6+15.4-0ubuntu7 failed to install/upgrade:
installed shim-signed package post-installation script subprocess
returned error exit status 32
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: shim-signed 1.40.6+15.4-0ubuntu7
ProcVersionSignature: Ubuntu 5.11.0-27.29~20.04.1-generic 5.11.22
Uname: Linux 5.11.0-27-generic x86_64
.proc.sys.kernel.moksbstate_disabled: Error: [Errno 2] Aucun fichier ou dossier de ce type: '/proc/sys/kernel/moksbstate_disabled'
ApportVersion: 2.20.11-0ubuntu27.18
Architecture: amd64
BootEFIContents:
BOOTX64.CSV
grub.cfg
grubx64.efi
mmx64.efi
shimx64.efi
CasperMD5CheckResult: skip
Date: Sat Aug 21 00:04:46 2021
DuplicateSignature:
package:shim-signed:1.40.6+15.4-0ubuntu7
Setting up shim-signed (1.40.6+15.4-0ubuntu7) ...
mount: /var/lib/grub/esp: le périphérique spécial /dev/disk/by-id/ata-WDC_WD5000AAKX-001CA0_WD-WMAYU5896427-part1 n'existe pas.
dpkg: error processing package shim-signed (--configure):
installed shim-signed package post-installation script subprocess returned error exit status 32
EFITables:
août 20 23:52:39 benazzi-HP-EliteDesk-800-G1-SFF kernel: efi: EFI v2.31 by American Megatrends
août 20 23:52:39 benazzi-HP-EliteDesk-800-G1-SFF kernel: efi: ACPI=0xd9900000 ACPI 2.0=0xd9900000 SMBIOS=0xd9f7e498
août 20 23:52:39 benazzi-HP-EliteDesk-800-G1-SFF kernel: secureboot: Secure boot disabled
août 20 23:52:39 benazzi-HP-EliteDesk-800-G1-SFF kernel: secureboot: Secure boot disabled
ErrorMessage: installed shim-signed package post-installation script subprocess returned error exit status 32
InstallationDate: Installed on 2021-03-08 (165 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.18, python-is-python2, 2.7.17-4
RelatedPackageVersions:
dpkg 1.19.7ubuntu3
apt 2.0.6
SecureBoot: 6 0 0 0 0
ShimDiff: Les fichiers binaires /boot/efi/EFI/ubuntu/shimx64.efi et /usr/lib/shim/shimx64.efi.signed sont différents
SourcePackage: shim-signed
Title: package shim-signed 1.40.6+15.4-0ubuntu7 failed to install/upgrade: installed shim-signed package post-installation script subprocess returned error exit status 32
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1940723/+subscriptions
More information about the foundations-bugs
mailing list