Initramfs unpacking failed: invalid magic as start of compressed

maybe my fault. I think the complete command is ‘sudo manjaro-chroot -a’.
I took it form https://forum.manjaro.org/t/how-do-i-chroot-into-my-system-and-update-my-kernel/129729

HP

1 Like

Thanks

the second one solve my problem but idk if i have to do the first one or update my kernel

1 Like

Hey, I have the same problem today but for me it still doesnt work, maybe someone cold helb pls :slight_smile:
What I did so far:

  • Run live system (manjaro)
  • command su
  • command manjaro-chroot -a
  • command etc/mkinitcpio.conf

and heres my problem, it says etc/mkinitcpio.conf no Permission

what can I do?

if you successfully chrooted, just install a newer kernel:
mhwd-kernel -i linux510
or if you want to edit the mkinitcpio, use nano:
nano /etc/mkinitcpio.conf
edit it as instructed here, save it with ctrl+x, press ‘y’, then enter and update it:
mkinitcpio -P && update-grub
exit chroot and reboot

Thank you very much for the help!!

changing the #COMPRESSION=“gzip”
worked for me, i wish there would have been a warning or something
like please install kernal 5.1 or newer

Just update mkinitcpio 35.2-2 which has gzip set by default.

Do not need to fix it manually.

Thanks for your help @Zesko, @brahma and @hape! I’m back in my system. The new mkinitcipio comes after reboot via update. But i changed to 6.1 today too.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.