我目前使用的是 ubuntu 22.04 LTS 版本,它附带了内核版本5.15.0-27-generic。5.13由于我的 lenovo thinkbook 中的触摸板问题,我想降级到内核版本。
是否可以在 22.04 LTS 版本中降级内置内核?如果是,我该如何实现?
小智 13
您可以尝试以下操作来使用pimlie / ubuntu-mainline-kernel.sh:
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
Run Code Online (Sandbox Code Playgroud)