How to upgrade Linux/Ubuntu kernel without compile source?
升级Ubuntu内核的简单方法:
首先,确定系统当前版本,运行 uname -a 查看当前版本信息,例如:
Linux ubuntu 4.15.0-55-generic #60~16.04.2-Ubuntu SMP Thu Jul 4 09:03:09 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
之后确定你需要升级到的内核版本,例如4.18.20版本,可以打开:
找到4.18.20这个版本
下载到对应的deb文件,例如
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.18.20/linux-headers-4.18.20-041820-generic_4.18.20-041820.201812030624_amd64.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.18.20/linux-image-unsigned-4.18.20-041820-generic_4.18.20-041820.201812030624_amd64.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.18.20/linux-modules-4.18.20-041820-generic_4.18.20-041820.201812030624_amd64.deb
然后运行
dpkg -i *.deb
sudo update-grub
sudo reboot