Upgrade from 20.04 to 22.04 failed due to efi partition naming
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-
ProcVersionSign
Uname: Linux 5.15.0-27-generic x86_64
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckR
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)
PackageArchitec
SourcePackage: ubuntu-
UpgradeStatus: Upgraded to jammy on 2022-05-02 (0 days ago)
VarLogDistupgra
INFO:root:
INFO:root:No xorg.conf, exiting
I've now managed to recreate this in a checkpointed virtual machine.
The last few lines from do-release-upgrade are:
Updating repository information gb.archive. ubuntu. com/ubuntu jammy InRelease gb.archive. ubuntu. com/ubuntu jammy-updates InRelease gb.archive. ubuntu. com/ubuntu jammy-backports InRelease security. ubuntu. com/ubuntu jammy-security InRelease
Hit http://
Hit http://
Hit http://
Hit http://
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/ DistUpgradeCont roller. 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.