You are not logged in.

#1 2021-10-11 13:23:42

vanillamilkk
Member
Registered: 2021-03-11
Posts: 14

[SOLVED] systemd-boot wont load zen kernel

[vanilla@desktop ~]$ cat /boot/loader/loader.conf
default  arch-zen
[vanilla@desktop ~]$ cat /boot/loader/entries/arch-zen.conf
title	Arch Linux (Zen Kernel)
linux	/vmlinuz-linux-zen
initrd	/initramfs-linux-zen.img
options	root=PARTUUID=177010b0-e4b6-4763-abae-8be70fc9443f rw

And after that how do i remove the default arch kernel? is it safe to do so?

Last edited by vanillamilkk (2021-10-11 15:08:06)

Offline

#2 2021-10-11 13:43:20

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,424

Re: [SOLVED] systemd-boot wont load zen kernel

What does won't load mean? is it not present in the menu or do you get an issue booting the entry? are the images you reference actually on the /boot partition and is the /boot partition actually your mounted ESP FAT partition? Also depending on when/which version you installed of systemd-boot your default reference in loader.conf must contain the .conf as well rather than it being implied.

As for the other question you can just remove the linux package and the relevant loader.conf entry, however it's normally a good idea to keep multiple kernels handy in case of issues.

Last edited by V1del (2021-10-11 13:44:17)

Offline

#3 2021-10-11 13:59:39

vanillamilkk
Member
Registered: 2021-03-11
Posts: 14

Re: [SOLVED] systemd-boot wont load zen kernel

V1del wrote:

What does won't load mean? is it not present in the menu or do you get an issue booting the entry? are the images you reference actually on the /boot partition and is the /boot partition actually your mounted ESP FAT partition? Also depending on when/which version you installed of systemd-boot your default reference in loader.conf must contain the .conf as well rather than it being implied.

As for the other question you can just remove the linux package and the relevant loader.conf entry, however it's normally a good idea to keep multiple kernels handy in case of issues.

Hello, thanks for your reply. I meant its still defaulting to standard kernel if i dont press space and select the zen kernel. Yes, /boot is my ESP partition.
And for the version is

systemd-boot 249.4-2-arch

So all i need to do is replace the default arch-zen to default arch-zen.conf?

Offline

#4 2021-10-11 14:15:13

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,424

Re: [SOLVED] systemd-boot wont load zen kernel

Should be yes.

Offline

#5 2021-10-11 15:07:44

vanillamilkk
Member
Registered: 2021-03-11
Posts: 14

Re: [SOLVED] systemd-boot wont load zen kernel

Its working as intended now, thanks for your help

Offline

Board footer

Powered by FluxBB