[Bug 2111643] Re: do-release-upgrade refuses to work for installations not managing an ESP
Julian Andres Klode
2111643 at bugs.launchpad.net
Fri Jul 11 07:09:12 UTC 2025
This is not a supported system configuration nor install path.
** Changed in: ubuntu-release-upgrader (Ubuntu)
Status: New => Won't Fix
--
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/2111643
Title:
do-release-upgrade refuses to work for installations not managing an
ESP
Status in ubuntu-release-upgrader package in Ubuntu:
Won't Fix
Bug description:
Since I have an unconventional partition scheme, with `/home` shared with another distrio and using LVM over LUKS, I used `debootstrap` to manually install Ubuntu. My Ubuntu installation doesn't manage the boot process, with the `/boot` partition only existing to provide a non-encrypted place to put the kernel images and grub.cfg , which is loaded by grub managed by Gentoo.
```
09:17:34 (base) april at AprilGrimoire-Mechrevo ~ → cat /etc/fstab
# /dev/mapper/vg0-ubuntu--rootvol
UUID=5ae2f007-978f-4ae7-9625-525b9a3263a5 / btrfs rw,relatime,ssd,discard=async,space_cache=v2,subvolid=5,subvol=/ 0 0
# /dev/nvme0n1p2
UUID=4d6c14fc-8469-47ee-8108-d035c0b243e8 /boot ext4 rw,relatime 0 2
# /dev/mapper/vg0-homevol
UUID=e9342c94-f8b6-4581-991b-722e6790dcef /home btrfs rw,relatime,ssd,discard=async,space_cache=v2,subvolid=5,subvol=/ 0 0
# /dev/mapper/vg0-swapvol
UUID=1067c868-4852-4495-af22-600cdfe01a92 none swap defaults 0 0
# /dev/mapper/vg0-vmvol
UUID=03ba310f-2a48-41eb-8a91-3cedc424ea24 /var/lib/libvirt/images btrfs rw,relatime,ssd,discard=async,space_cache=v2,subvolid=5,subvol=/ 0 0
09:17:36 (base) april at AprilGrimoire-Mechrevo ~ → cat /etc/crypttab
luks-b02398b6-9c80-4ea2-a188-76d6c3fc2a3b UUID=b02398b6-9c80-4ea2-a188-76d6c3fc2a3b none luks,discard,keyscript=/lib/cryptsetup/scripts/decrypt_keyctl
luks-188c0d5e-4344-42cd-9b99-b9a581fab427 UUID=188c0d5e-4344-42cd-9b99-b9a581fab427 none luks,discard,keyscript=/lib/cryptsetup/scripts/decrypt_keyctl
#luks-188c0d5e-4344-42cd-9b99-b9a581fab427 UUID=188c0d5e-4344-42cd-9b99-b9a581fab427 luks-b02398b6-9c80-4ea2-a188-76d6c3fc2a3b luks,discard,keyscript=/lib/cryptsetup/scripts/decrypt_derived
```
Then `do-release-upgrade` complains about unusable ESP:
```
09:17:36 (base) april at AprilGrimoire-Mechrevo ~ → sudo do-release-upgrade
[sudo] password for april:
Checking for a new Ubuntu release
= Welcome to Ubuntu 25.04 'Plucky Puffin' =
The Ubuntu team is proud to announce Ubuntu 25.04 'Plucky Puffin'.
To see what's new in this release, visit:
https://wiki.ubuntu.com/PluckyPuffin/ReleaseNotes
Ubuntu is a Linux distribution for your desktop or server, with a fast
and easy install, regular releases, a tight selection of excellent
applications installed by default, and almost any other software you
can imagine available through the network.
We hope you enjoy Ubuntu.
== Feedback and Helping ==
If you would like to help shape Ubuntu, take a look at the list of
ways you can participate at
https://ubuntu.com/community/contribute
Your comments, bug reports, patches and suggestions will help ensure
that our next release is the best release of Ubuntu ever. If you feel
that you have found a bug please read:
https://help.ubuntu.com/community/ReportingBugs
Then report bugs using apport in Ubuntu. For example:
ubuntu-bug linux
will open a bug report in Launchpad regarding the linux package.
If you have a question, or if you think you may have found a bug but aren't
sure, first try to reach out on one of the communication channels. Matrix is the
go-to for instant chatting, while Discourse would be more approriate for long
discussions in a more asynchronous way. Otherwise you can still join the #ubuntu
IRC channel on Libera.Chat, send an email to the Ubuntu Users mailing list, or
find some help on the Ubuntu forums:
https://ubuntu.com/community/communications/matrix
https://discourse.ubuntu.com/
https://help.ubuntu.com/community/InternetRelayChat
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
https://ubuntuforums.org/
== More Information ==
You can find out more about Ubuntu on our website, IRC channel and wiki.
If you're new to Ubuntu, please visit:
https://ubuntu.com/
To sign up for future Ubuntu announcements, please subscribe to Ubuntu's
very low volume announcement list at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-announce
Continue [yN] y
Get:1 Upgrade tool signature [833 B]
Get:2 Upgrade tool [967 kB]
Fetched 968 kB in 0s (0 B/s)
/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcherCore.py:237: Warning: W:Download is performed unsandboxed as root as file 'plucky.tar.gz.gpg' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
result = fetcher.run()
authenticate 'plucky.tar.gz' against 'plucky.tar.gz.gpg'
extracting 'plucky.tar.gz'
Reading cache
Checking package manager
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Hit https://packages.microsoft.com/repos/code stable InRelease
Hit https://repo.jing.rocks/ubuntu oracular InRelease
Hit https://dl.winehq.org/wine-builds/ubuntu oracular InRelease
Hit https://repo.jing.rocks/ubuntu oracular-security InRelease
Hit https://repo.jing.rocks/ubuntu oracular-updates InRelease
Hit https://debrepo.freedownloadmanager.org jammy InRelease
Fetched 0 B in 0s (0 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Checking for installed snaps
Calculating snap size requirements
Updating repository information
Hit https://repo.jing.rocks/ubuntu plucky InRelease
Hit https://repo.jing.rocks/ubuntu plucky-updates InRelease
Hit https://repo.jing.rocks/ubuntu plucky-security InRelease
Fetched 0 B in 0s (0 B/s)
Checking package manager
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Foreign Packages Installed
The following unofficial packages are currently installed:
wine-stable..............Installed from: dl.winehq.org
It is recommended to install supported versions from the Ubuntu
archive, and try the upgrade again.
Do you want to continue the upgrade anyways?
Continue [yN] y
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.
Restoring original system state
Aborting
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
09:53:23 (base) april at AprilGrimoire-Mechrevo ~ → sudo parted -l
[sudo] password for april:
Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/vg0-gentoo--usrvol: 107GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 107GB 107GB btrfs
Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/vg0-swapvol: 51.5GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 51.5GB 51.5GB linux-swap(v1)
Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/vg0-gentoo--rootvol: 322GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 322GB 322GB btrfs
Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/vg0-homevol: 537GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 537GB 537GB btrfs
Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/vg0-ubuntu--rootvol: 215GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 215GB 215GB btrfs
Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/vg0-vmvol: 429GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 429GB 429GB btrfs
Error: /dev/mapper/luks-b02398b6-9c80-4ea2-a188-76d6c3fc2a3b: unrecognised disk
label
Model: Linux device-mapper (crypt) (dm)
Disk /dev/mapper/luks-b02398b6-9c80-4ea2-a188-76d6c3fc2a3b: 514GB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
Error: /dev/mapper/luks-188c0d5e-4344-42cd-9b99-b9a581fab427: unrecognised disk
label
Model: Linux device-mapper (crypt) (dm)
Disk /dev/mapper/luks-188c0d5e-4344-42cd-9b99-b9a581fab427: 1500GB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
Model: YMTC PC411-1TB-B (nvme)
Disk /dev/nvme0n1: 1024GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 106MB 105MB fat32 EFI system partition msftdata
2 106MB 123MB 16.8MB Microsoft reserved partition msftres
3 123MB 215GB 215GB ntfs Basic data partition msftdata
4 215GB 478GB 263GB ntfs Basic data partition msftdata
8 478GB 483GB 5243MB btrfs gentoo-boot
6 499GB 509GB 10.5GB fat32 ESP for linux boot, esp
7 509GB 1023GB 514GB
5 1023GB 1024GB 944MB ntfs Basic data partition hidden, diag, no_automount
Model: WD Blue SN580 2TB (nvme)
Disk /dev/nvme1n1: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 1500GB 1500GB
2 1500GB 1501GB 999MB ext4 msftdata
```
I filed this bug through the ubuntu-bug command. Does this mean I
don't have to fill in the system info manually here?
ProblemType: Bug
DistroRelease: Ubuntu 24.10
Package: ubuntu-release-upgrader-core 1:24.10.14
ProcVersionSignature: Ubuntu 6.11.0-26.26-generic 6.11.11
Uname: Linux 6.11.0-26-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.30.0-0ubuntu4.2
Architecture: amd64
CasperMD5CheckResult: unknown
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Sat May 24 22:51:45 2025
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to oracular on 2025-05-24 (0 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2111643/+subscriptions
More information about the foundations-bugs
mailing list