ubuntu内核升级 内核代码下载
升级内核有两种方法:1. 自己下载源码编译;2. 使用官方编译好的内核。一般来说最好都是使用官方编译好的。
官方编译的内核可以从这里下载:https://kernel.ubuntu.com/~kernel-ppa/mainline/
root@cloud:~/kernel.5.5.19# ls linux-headers-5.5.19-050519_5.5.19-050519.202004210831_all.deb linux-image-unsigned-5.5.19-050519-generic_5.5.19-050519.202004210831_arm64.deb linux-headers-5.5.19-050519-generic_5.5.19-050519.202004210831_arm64.deb linux-modules-5.5.19-050519-generic_5.5.19-050519.202004210831_arm64.deb root@cloud:~/kernel.5.5.19#
dpkg -i *.deb
root@cloud:~/kernel.5.5.19# update-grub Sourcing file `/etc/default/grub\' Generating grub configuration file ... Found linux image: /boot/vmlinuz-5.5.19-050519-generic Found initrd image: /boot/initrd.img-5.5.19-050519-generic Found linux image: /boot/vmlinuz-5.0.0-23-generic Found initrd image: /boot/initrd.img-5.0.0-23-generic Found CentOS Linux 7 (AltArch) on /dev/sda3 Adding boot menu entry for EFI firmware configuration done root@cloud:~/kernel.5.5.19#
reboot
https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.6.19.tar.xz