ubuntu换最新内核
去https://www.kernel.org查看最新稳定内核版本
打开https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.4.6/ (假设此时最新版是5.4.6)
Build for amd64 succeeded (see BUILD.LOG.amd64): linux-headers-5.4.6-050406_5.4.6-050406.201912211140_all.deb linux-headers-5.4.6-050406-generic_5.4.6-050406.201912211140_amd64.deb linux-headers-5.4.6-050406-lowlatency_5.4.6-050406.201912211140_amd64.deb linux-image-unsigned-5.4.6-050406-generic_5.4.6-050406.201912211140_amd64.deb linux-image-unsigned-5.4.6-050406-lowlatency_5.4.6-050406.201912211140_amd64.deb linux-modules-5.4.6-050406-generic_5.4.6-050406.201912211140_amd64.deb linux-modules-5.4.6-050406-lowlatency_5.4.6-050406.201912211140_amd64.deb
wget下载包名里没有lowlatency的deb包 , sudo dpkg -i ***.deb 依次安装 :
linux-headers-5.4.6-050406_5.4.6-050406.201912211140_all.deb linux-headers-5.4.6-050406-generic_5.4.6-050406.201912211140_amd64.deb linux-modules-5.4.6-050406-generic_5.4.6-050406.201912211140_amd64.deb linux-image-unsigned-5.4.6-050406-generic_5.4.6-050406.201912211140_amd64.deb
查看已安装内核
dpkg -l|grep linux-image | awk '{print $2}'
删除旧内核
apt purge -y
更新grub 然后重启
update-grub reboot
检查一下是否更换成功
uname -r
相关推荐
farwang 2020-11-25
星愿心愿 2020-11-24
tianhuak 2020-11-24
zhjn0 2020-11-24
昭君出塞 2020-11-23
bluecarrot 2020-11-23
linuxwcj 2020-10-21
以梦为马不负韶华 2020-10-20
彼岸随笔 2020-10-20
yutou0 2020-10-17
applecarelte 2020-10-16
ourtimes 2020-10-16
waterhorse 2020-09-19
MRFENGG 2020-11-11
rainandtear 2020-10-30
kyssfanhui 2020-10-20
liuhangtiant 2020-10-20