The laptop (dell inspiron 5502) runs 20.04 and was fine before. However I think /boot ran out of space (a combination of ubuntu's installer defaults being too small, and ubuntu not removing old kernels) which probably caused the initial failure.
What's weird is that I get the same (well, v similar) errors trying to run Ubuntu 22.04 off a memory stick: get the Initramfs unpacking failed error.
I have tried update-grub
and update-initramfs -c -k all
from appropriate chroot environments
When it reaches this stage it hangs completely and I have to hold the power key for 10s to get to turn off.
I've tried it with Secure Boot on and off. The only other thing to add is the disk layout, in case it matters:
- FAT partition: /boot/efi
- EXT4 partition: /boot
- LUKS partition
- LVM Physical Volume
- LVM Volume group
- LVM Logical volume
- EXT4 root file system /
- LVM Logical volume
- LVM Volume group
- LVM Physical Volume
EDIT: observation
While running update-initramfs -c -k all
I notice it says:
cryptsetup: WARNING: target 'crypt' not found in /etc/crypttab
This itself is weird as my /etc/crypttab file does not have target crypt (I'm using nvme0n1p3_crypt
)! My /etc/crypttab looks like
nvme0n1p3_crypt UUID=xxx-xxx-xxx-etc none luks,discard,initramfs
Where the xxx-etc
bit is a valid UUID for nvme0n1p3
.