Kernel loading failed

While my distro was updating suddeny the line cut off
And when i trun it on it throw an kernel error…

Need helppp

chroot into your system en reinstall the kernel.

On mkinitcpio -P

It says Error : no presents found in /etc/mkinitcpio.d

EndeavourOS does not use mkinitcpio it uses dracut

in your case i believe the only thing you need to do is

Reinstall the kernel pacman -S linux-zen

Yeah i installed the zen kernel now what should i do sir

Sir thses are the things i had done

sudo mount /dev/sda2 /mnt
sudo arch-chroot /mnt

pacman -Syu linux-zen linux-zen-headers
sudo grub-mkconfig -o /boot/grub/grub.cfg // if using grub boot loader
systemctl reboot

Thanks @Cphusion @thefrog for help


For what is worth, when using the arch-chroot script, the steps above are superfluous.

:rofl: :rofl: :rofl: :rofl: :rofl:

that is missing the pacman part :wink:

What’s more, you don’t need sudo either when operating in the chroot.

well, it was my first time this error happened so… :sweat_smile: :sweat_smile:
didn’t know the cmds well I just did what I searched and got and that my typo mistake sorry for that :grin:

No problem!
It was just a for-what-is-worth / for-your-information / for-the-record sort of thing.

At any rates, glad you were able to recover your system!

1 Like

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