[Bug 1988299] Re: Can't upgrade from 20.04 to 22.04 due to extreme space requirement for /boot
Chris Guiver
1988299 at bugs.launchpad.net
Wed Aug 31 13:42:13 UTC 2022
Thank you for taking the time to report this bug and helping to make
Ubuntu better. Please execute the following command only once, as it
will automatically gather debugging information, in a terminal:
apport-collect 1988299
When reporting bugs in the future please use apport by using 'ubuntu-
bug' and the name of the package affected. You can learn more about this
functionality at https://wiki.ubuntu.com/ReportingBugs.
(Please also check your original bug description; you state the
installer for Ubuntu 22.04 LTS set the size [of /boot], but your bug
report implies you installed Ubuntu 20.04 LTS (not 22.04) & are trying
to release-upgrade to 22.04)
--
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/1988299
Title:
Can't upgrade from 20.04 to 22.04 due to extreme space requirement for
/boot
Status in ubuntu-release-upgrader package in Ubuntu:
New
Bug description:
I'm attempting to upgrade from 20.04 to 22.04 and my installation uses
full disk encryption, so I have a separate partition for /boot.
The size of the /boot partition was set by the installer for 22.04 (to
704 MiB) and I currently have 329 MiB free after removing old kernels
with apt autoremove:
$ df -h /boot
Filesystem Size Used Avail Use% Mounted on
/dev/sdb2 704M 324M 329M 50% /boot
When attempting to upgrade to 22.04 it fails with:
The upgrade has aborted. The upgrade needs a total of 787 M free
space on disk '/boot'. Please free at least an additional 442 M of
disk space on '/boot'. You can remove old kernels using 'sudo apt
autoremove' and you could also set COMPRESS=xz in
/etc/initramfs-tools/initramfs.conf to reduce the size of your
initramfs.
So it claims to need more space than the total size of the partition
(so presumably no amount of compressing initramfs will be enough!),
which as noted above is the default size for /boot chosen by the 20.04
installer.
Another instance of this issue has been raised here:
https://askubuntu.com/q/1423156/57751
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1988299/+subscriptions
More information about the foundations-bugs
mailing list