[Bug 1972035] Re: installed grub-efi on bios install on upgrade from 21.10 to 22.04
Steve Langasek
1972035 at bugs.launchpad.net
Mon May 9 15:15:39 UTC 2022
In Ubuntu 21.10, we always install both the EFI and BIOS bootloaders to
disk, so that future changes to the system's firmware don't break
compatibility with the OS.
The upgrade failure indicates that, at some point after installation,
the partition that was used as the EFI System Partition has been
reformatted and is no longer recognized as one; but you did not remove
the EFI grub package from your system so it's still expected to be
there.
My recommendation would be to NOT remove the ESP that Ubuntu configured.
But if you don't want to restore it, then you need to remove the grub-
efi-amd64-signed package from your system instead.
** Changed in: grub2 (Ubuntu)
Status: New => Invalid
--
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/1972035
Title:
installed grub-efi on bios install on upgrade from 21.10 to 22.04
Status in grub2 package in Ubuntu:
Invalid
Bug description:
I have a weird use case where my old uefi macbook pro only works with
the aging nvidia 340 drivers when using a bios install. This is
necessary due to thermal problems with nouveau. after my most recent
upgrade to 22.04 from 21.10 i get this error:
Setting up grub-efi-amd64-signed (1.180+2.06-2ubuntu7) ...
mount: /var/lib/grub/esp: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error.
dpkg: error processing package grub-efi-amd64-signed (--configure):
installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 32
Processing triggers for man-db (2.10.2-1) ...
dpkg: dependency problems prevent processing triggers for shim-signed:
shim-signed depends on grub-efi-amd64-signed | grub-efi-arm64-signed; however:
Package grub-efi-amd64-signed is not configured yet.
Package grub-efi-arm64-signed is not installed.
dpkg: error processing package shim-signed (--configure):
dependency problems - leaving triggers unprocessed
Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
Processing triggers for libc-bin (2.35-0ubuntu3) ...
Errors were encountered while processing:
grub-efi-amd64-signed
shim-signed
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
It appears that the installer mistakenly configured itself for efi mode and has installed the wrong grub which is not uninstallable. The system weirdly functions properly aside from this message after every system update.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: ubuntu-release-upgrader-core 1:22.04.10
ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30
Uname: Linux 5.15.0-27-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckResult: pass
CrashDB: ubuntu
CrashReports:
600:0:129:710361:2022-04-30 00:41:02.840038535 +0000:2022-05-06 20:53:00.766556933 +0000:/var/crash/grub-efi-amd64-signed.0.crash
600:0:129:545317:2022-04-30 16:35:25.036099124 +0000:2022-04-30 16:35:24.920098211 +0000:/var/crash/shim-signed.0.crash
CurrentDesktop: i3
Date: Fri May 6 23:54:59 2022
InstallationDate: Installed on 2022-04-19 (17 days ago)
InstallationMedia: Ubuntu-Server 21.10 "Impish Indri" - Release amd64 (20211013)
PackageArchitecture: all
ProcEnviron:
TERM=xterm-kitty
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ubuntu-release-upgrader
Symptom: release-upgrade
UpgradeStatus: Upgraded to jammy on 2022-04-30 (6 days ago)
VarLogDistupgradeAptlog:
Log time: 2022-04-30 00:47:45.133101
Log time: 2022-04-30 00:47:52.012827
Log time: 2022-04-30 00:48:42.091313
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1972035/+subscriptions
More information about the foundations-bugs
mailing list