[Bug 1971165] Re: Upgrade from 20.04 to 22.04 failed due to efi partition naming

Tony Middleton 1971165 at bugs.launchpad.net
Tue May 3 13:01:45 UTC 2022


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.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1971165

Title:
  Upgrade from 20.04 to 22.04 failed due to efi partition naming

Status in ubuntu-release-upgrader package in Ubuntu:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1971165/+subscriptions




More information about the foundations-bugs mailing list