switch to zstd by default breaks booting focal LTS kernel

Bug #1941649 reported by dann frazier
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

While trying to track down a behavior difference between focal and impish, I installed focal's kernel in an impish userspace and attempted to boot it. The boot failed, unable to find root. While GRUB reported that it had loaded the initramfs, no initramfs messages were emitted during boot. I tracked this down to initramfs-tools having switched to use zstd compression by default. zstd decompression does not appear to be supported by the LTS 5.4 kernel - it appears to have been added upstream in v5.9. I imagine this is likely to cause problems with partial-upgrade scenarios.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

partial upgrades are not supported, and during upgrades we generally do not recreate initrds for old kernels.

Meaning one should have at least .old kernel+initrd pair bootable.

It is more of linux bug maybe that v5.4 does not support zstd compressed initrd?

Benjamin Drung (bdrung)
Changed in initramfs-tools (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for initramfs-tools (Ubuntu) because there has been no activity for 60 days.]

Changed in initramfs-tools (Ubuntu):
status: Incomplete → Expired
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.