I have issues while customizing ubuntu 20.04. When I made a new initrd for booting (iso/casper/initrd), I got this error:
initramfs unpacking failed: Decoding failed
then dropped into initramfs shell.
I found some posts describing this issue, like
So I changed the initramfs.conf to setup the
COMPRESS=gzip in the (chrooted) squashfs live filesystem, and use
mkinitrd -o initrd 5.4.0-33-generic
Also followed the instructions to customize the initramfs: https://askubuntu.com/questions/1094854/how-to-modify-initrd-initial-ramdisk-of-ubuntu-18-10-cosmic-cuttlefish
then put it into
However it did not solve my issue. It didn't show the error messages, but still directly throw me into initramfs. I.e., it does not go to the plymouth and ubiquity, just stopped in the initramfs shell.
No messages. The
more (busybox) in the initramfs does not work so I couldn't see in detail the dmesg log either.
Any help and suggestions will be appreciated, including how I can debug such condition, or what should I do to make gzip compressed initramfs work.