You are not logged in.

#1 2024-06-02 17:15:10

millions024
Member
Registered: 2024-02-22
Posts: 30

not sure how to switch back to the default linux kernel

so i switched my kernel to linux-zen to try out waydroid, turns out it doesn't perform that well, and linux-zen crashes way more than the normal kernel does so I want to switch back.

The problem is, I don't know how to do that. I tried going into my grub cfg (from the bootloader) and removing the zen part of the vmlinuz-zen and initramfs lines, but then it doesn't boot and i have to change it back.

when i do  sudo find /boot/ -iname "vmlinuz*" in my terminal, i only get /boot/vmlinuz-linux-zen back, even though pacman -Q | grep linux has the default kernel in the list and it says the linux package is installed already. How do I go back to the normal kernel?

Offline

#2 2024-06-02 17:25:26

gromit
Administrator
From: Germany
Registered: 2024-02-10
Posts: 1,536
Website

Re: not sure how to switch back to the default linux kernel

In theory this should be quite straight forward:
1. (re-)install the 'linux' package
2. remove the 'linux-zen' package
3. regenerate the grub config (something like "sudo grub-mkconfig -o /boot/grub/grub.cfg")

Offline

#3 2024-06-02 17:34:08

millions024
Member
Registered: 2024-02-22
Posts: 30

Re: not sure how to switch back to the default linux kernel

that fixed it, i think i was just worried reinstalling linux was gonna mess up my system in some way

thanks for the help

Offline

Board footer

Powered by FluxBB