Boot failure on devices using initramfs-extra

October 13, 20261 min. read

Updating the default compression algorithm to zstd in postmarketos-mkinitfs broke devices using initramfs-extra. Upon reboot they will now drop to a debug shell, the log will show Extract /boot/initramfs_extra and gzip: invalid magic.

This will be fixed once !79 is integrated.

Recovery

To recover you will need to boot to another install (SD card, USB drive) and modify these files and run mkinitfs from a chroot.

Also see