After updating system and changing kernel to zen one, system not booting

Hi, I did the updates. Ran akm, selected the Zen kernel, and being noob de-selected the standard kernel.

Now cannot boot into the OS. Even if select the fallback kernel.

I have an installation USB, can arch-chroot.

How can I fix this, please help.


extra/linux-zen 6.5.8.zen1-1 [installed]
    The Linux ZEN kernel and modules
extra/linux-zen-headers 6.5.8.zen1-1 [installed]
    Headers and scripts for building modules for the Linux ZEN kernel

[…@EndeavourOS /]$ journalctl -b -0 | grep fail | eos-sendlog
==> eos-sendlog-helper: warning: nothing to send.

[…@EndeavourOS /]$ grep -i upgraded /var/log/pacman.log

[2023-10-21T17:01:24+0100] [ALPM] upgraded archlinux-keyring (20230918-1 -> 20231017-1)
[2023-10-21T17:03:29+0100] [ALPM] upgraded adwaita-cursors (44.0-1 -> 45.0-1)
...

can you provide

inxi -Fza

you should run akm under chroot or add kernel & kernel-LTS

pacman -S kernel kernel-headers
pacman -S kernel-lts kernel-lts-headers
[tank@EndeavourOS /]$ inxi -Fza
12System:
 ...

I tried it first thing when I arch-chroot it.

[root@EndeavourOS /]# akm
[root@EndeavourOS /]# ==> Config file /etc/akm.conf read.
==> Info: detecting available kernel packages.
Authorization required, but no authorization protocol specified


(yad:66): Gtk-WARNING **: 11:48:34.311: cannot open display: :0.0
/usr/bin/akm: line 521: : command not found
[@EndeavourOS /]$ akm
[@EndeavourOS /]$ ==> Config file /etc/akm.conf read.
==> Info: detecting available kernel packages.
Authorization required, but no authorization protocol specified


(yad:162): Gtk-WARNING **: 11:51:18.158: cannot open display: :0.0
/usr/bin/akm: line 521: : command not found

akm is an application with graphic interface. You can’t run that in chroot.

Supposing your are correctly chrooted into your installed system, I would suggest to run a full update of your system:

pacman -Syu

and then (re-)install your kernels.

For LTS: pacman -S linux-lts linux-lts-headers

For Zen: pacman -S linux-zen linux-zen-headers

Pay attention to the output. If you get any error message post them here.

If not exit chroot and reboot your system.

1 Like

The suggested commands were executed successfully, but only under root, not using my user account.
After rebooting I still can see only one kernel and it fails to boot as per screenshots bellow.

I’m investigating if I did chroot correctly.


Alright. Chroot again and regenerate your grub.cfg:

grub-mkconfig -o /boot/grub/grub.cfg

If you need assistance for chrooting, from the live session, post the output of the following command and indicate which is your system/root partition:

sudo parted -l

1 Like

Worked like a charm. Thank you a mill pebcak :heart:

steps for solution:

arch-chroot
pacman -Syu
pacman -S linux-lts linux-lts-headers
pacman -S linux-zen linux-zen-headers
grub-mkconfig -o /boot/grub/grub.cfg

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