Initramfs unpacking failed

i am going to be honest. I was frustrated at work and didn’t know what I did. I probably did pacman -Syu without restarting after a kernel upgrade and then did yay.

Now I am getting this error and can’t type anything on this screen. I would have to unplug to power off. I tried to do arch-chroot and update the pacman -S linux filesystem. I tried mkinitcpio -p linux.

I even deleted the initramfs images in /boot and nothing!

Any ideas?

I searched the error message and found these:

initramfs-unpacking failed - stack exchange

initramfs unpacking failed - Arch Linux forum

both solutions involve chroot into the system and fix /boot


Thanks. I saw the first link and that didn’t work. I will give the 2nd one a try.