其他版本的ubuntu系统未测试过,仅在ubuntu22上做过测试,我这里弄的降级到5.19.0-32 查询系统版本 lsb_release -a 查看内核版本 uname -r 查看已安装内核 dpkg --get-selections |grep linux-image 查询当前软件仓库可以安装的 Kernel Image 版本 apt-cache search linux | grep linux-image 安装指定版本的 Kernel Image 和 Kernel Header,如果需要安装其他版本只需要修改版本号即可 sudo apt-get install linux-headers-5.19.0-32-generic linux-image-5.19.0-32-generic 再次查看已安装内核 dpkg --get-selections |grep linux-image 修改 Kernel 的启动顺序:如果安装的是最新的版本,那么默认就是首选的;如果安装的是旧版本,就需要修改 grub 配置 vi /etc/default/grub 或者 sudo nano /etc/default/grub # GRUB_DEFAULT=0 这个是原有的注释掉添加下面这个即可 GRUB_DEFAULT="Advanced options for Ubuntu>Ubuntu, with Linux 5.19.0-32-generic" 更新配置 update-grub 重启系统 reboot 查看内核版本 uname -r