9

I am currently on ubuntu 22.04 LTS release which comes with kernel version 5.15.0-27-generic. I want to downgrade to kernel version 5.13 because of touchpad problem in my lenovo thinkbook.

Is it possible to downgrade the baked in kernel in 22.04 LTS release? If yes, how do I achieve it?

Harry
  • 195
  • 1
  • 2
  • 7

2 Answers2

10

You can try below actions

wget https://raw.githubusercontent.com/pimlie/ubuntu-mainline-kernel.sh/master/ubuntu-mainline-kernel.sh
chmod +x ubuntu-mainline-kernel.sh

# search and find your wanted version
ubuntu-mainline-kernel.sh -r | grep 5.13

# install that version kernel
ubuntu-mainline-kernel.sh -i v5.13.19

# get all menuentries
grep 'menuentry \|submenu ' /boot/grub/grub.cfg | cut -f2 -d "'"

# change the grub configuration
vi /etc/default/grub
from: GRUB_DEFAULT=0
to: GRUB_DEFAULT="Advanced options for Ubuntu>Ubuntu, with Linux 5.13.19-051319-generic"

# update grub
update-grub

# reboot
reboot now

# verify
uname -r
xiaojueguan
  • 226
  • 3
  • 5
  • To make it work in my case (Lenovo Legion 5 15ITH6) I had to disable secure boot in BIOS. Without that I was getting "error: bad shim signature". – Daniel Andrzejewski Dec 24 '22 at 08:13
0

In my case, after clean install of lubuntu-22 on Dell-Inspiron_5570, experienced "elantech touchpad problem" due to which "two finger scrolling" was not working. After 4-5 hectic days on the work dealing with the arrow keys on keyboard, I found it as kernel incompatibility. Then, tried installing different kernel versions following @xiaojueguan answer and found the version 5.15.0-58-generic to be working for me.