Upgrade from 20.04 to 22.04 failed due to efi partition naming

Bug #1971165 reported by Tony Middleton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
New
Undecided
Unassigned

Bug Description

I recently upgraded a Ubuntu Budgie system from 20.04 to 22.04 the upgrade worked fine apart from one problem.

The original system had two EFI partitions mounted at /boot/efia & /boot/efib. Grub is quite happy with this and updates both. However do-release-upgrade failed early on because EFI wasn't mounted at /boot/efi. I changed the mount points and reran do-release-upgrade and everything worked fine, including installing grub to both EFI partitions.

The evidence collected by report-bug may be of little use because it comes from the upgraded system, not the original.

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
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckResult: unknown
CrashDB: ubuntu
CurrentDesktop: Budgie:GNOME
Date: Mon May 2 15:56:37 2022
InstallationDate: Installed on 2020-09-08 (600 days ago)
InstallationMedia: Ubuntu-Budgie 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to jammy on 2022-05-02 (0 days ago)
VarLogDistupgradeXorgFixuplog:
 INFO:root:/usr/bin/do-release-upgrade running
 INFO:root:No xorg.conf, exiting

Revision history for this message
Tony Middleton (ximera) wrote :
Revision history for this message
Tony Middleton (ximera) wrote :

I've now managed to recreate this in a checkpointed virtual machine.

The last few lines from do-release-upgrade are:

Updating repository information
Hit http://gb.archive.ubuntu.com/ubuntu jammy InRelease
Hit http://gb.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit http://gb.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit http://security.ubuntu.com/ubuntu jammy-security InRelease
Fetched 0 B in 0s (0 B/s)

Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done

Calculating the changes

Calculating the changes

EFI System Partition (ESP) not usable

Your EFI System Partition (ESP) is not mounted at /boot/efi. Please
ensure that it is properly configured and try again.

There is code in /usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeController.py that matches this message but I put some diagnostic messages in this file and they weren't displayed which confuses me a bit. However that might just be my faulty understanding of how python works.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.