#Cannot install Zen Kernel "errors were encountered during the build"

60 messages · Page 1 of 1 (latest)

wild pike
#

If I try to install the zen kernel using sudo pacman -S linux-zen it gives me back an error and it's not installed. I don't know why or what could cause it

#

Cannot install Zen Kernel "errors were encountered during the build"

fringe totem
#

you need nvidia-dkms if you wanna use nvidia-drivers with custom kernels

#

and install kernel headers for every kernel you have

#

so...

sudo pacman -S linux-zen-headers linux-headers nvidia-dkms
#

errors are because initcpio is trying to add nvidia modules for the initramfs
but it doesn't exist for the linux-zen kernel, hence, nvidia-dkms

#

@wild pike

#

and kernel is installed regardless of error

#

you probably haven't updated grub's config for the linux-zen entry to appear

wild pike
#

it wasn't

fringe totem
#

dkms won't build for kernels that don't have headers

fringe totem
#

@wild pike

#

what's your bootloader?

wild pike
fringe totem
#

add an entry config for that kernel

wild pike
#

wait dont waste your time helping this its probably cuz i didnt install the headers like you said

#

lemme install them

#

yeah now it worked

#

thanks for that

fringe totem
#

okay, a boot entry still won't appear tho

#

show me bootctl status

wild pike
#

give me a sec

#

it still gives me an error in german "command couldn't be executed properly"

#

at the end

#

it says image generation successful and dkms actually installs but like

#

hm

wild pike
fringe totem
#

now show bootctl status

#

okay, now bootctl list

wild pike
#

the rest was still here

fringe totem
#

okay now```
sudo cp /boot/loader/entries/arch{,-zen}.conf

wild pike
#

copy to where?

fringe totem
#

and then edit

fringe totem
wild pike
#

yes im in edit

fringe totem
#

editing arch-zen.conf?

wild pike
#

yes

fringe totem
#

edit title and linux and initrd

title Arch Zen
linux /vmlinuz-linux-zen
initrd /initramfs-linux-zen.img
wild pike
#

not vmlinuz-linux?

fringe totem
#

mb

wild pike
#

did it

fringe totem
#

okay

#

run bootctl list again

wild pike
#

does system-d just show me another boot option then?

#

can I delete arch.conf if I don't wanna load into the standard kernel?

fringe totem
#

you can set a default entry

#
bootctl set-default arch-zen.conf
wild pike
#

i just found out myself with the help thingy

#

im prob gonna install grub later anyway cuz of my windows partition on my diff drive (why does windows install it on drive 0 no matter what) but still thank you so much!

fringe totem