I already read all postings, sorry for my breakout. I have the same 5.4 kernel like hape. Which of the solutions do you mean, chroot oder edit mkinitpcio.conf? Sorry, i´m not really shure about this. Till today my Manjaro works stable, i never had to work on the “open heart”.
There are two solutions:
- solution: Switch to Kernel 5.10 or newer LTS in GRUB menu
OR
- solution: You need to chroot to your broken system with live USB stick, then edit
/etc/mkinitpcio.conf
to change the compression togzip
, then runmkinitcpio -P && update-grub
, then reboot
Thanks! I just need to delete “#” infront of the line, correct?
Yes, that should be COMPRESSION="gzip"
without #
in mkinitcpio.conf
I have this same issue and same kernel , so I guess this is the solution, right? Please excuse my naivety.
Also is there also a way to install new kernel along this.
I don’t have to do anything else , right?
I have a boot ready in usb
Yes, this is 3. possible solution:
You need to chroot to your broken system then install Kernel 5.15 LTS or 6.1 LTS to fix the issue:
pamac install linux515
Then remove old kernel e.g. 5.4 that does not support the compression zstd.
just to confirm:
- i created a bootable Manjaro ISO and booted from the stick
- i opened a terminal and did ‘manjaro-chroot’ (which is installed on the iso but not in my normal version???)
- following the proposal from @Zesko i edited mkinitpcio.conf as described, did a grub-update
- reboot and here i’m again in my desktop!
- i installed a newer kernel and will test later.
Remark: the update process should really cover this and change mkinitpcio.conf if older kernels are detected. I think older LTS must stay supported, if you have older HW than newer kernels are not always better.
Thanks to all who helped so fast.
HP
How to do chroot?
Cus after booting from usb I typed manjaro-chroot and it gave an error “Can’t create chroot on non-directory”
Can’t i do it without chroot?
Like going to terminal and nano /etc/mkinitpcio.conf because its there
i think you have to type ‘sudo manjaro-chroot’
then edit /etc/mkinitpcio.conf. If you edit before the change root, you will edit the file on the stick and not on your real installation. After editing, ‘sudo update-grub’ and then type exit and reboot.
Its same error
“Can’t create chroot on non-directory”
But i guess i need to manually go to my hard drive partition where my /etc/mkinitcpio.conf is so that way manjaro-chroot work , right?
Cus I think thats my flas drive partition thats why its giving this error
I know this sound so annoying, cus I’m totally aware of it
but after this error I m so confuse
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
Thanks
the second one solve my problem but idk if i have to do the first one or update my kernel
Hey, I have the same problem today but for me it still doesnt work, maybe someone cold helb pls
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.