Ubuntu 14.0 升级内核到指定版本

时间:2023-07-19 09:38:56
1、卸载现有内核
sudo apt purge linux-headers-* linux-headers-*-generic linux-image-*-generic linux-image-extra-*-generic linux-signed-image-*-generic

Replace * with the kernel versions (for instance : 4.4.0-36) from the output of the command. 例如:
sudo apt purge linux-headers-4.4.0-36 linux-headers-4.4.0-36-generic linux-image-4.4.0-36-generic linux-image-extra-4.4.0-36-generic linux-signed-image-4.4.0-36-generic  

2、升级内核到指定版本

sudo apt-get install linux-headers-4.4.0-36 linux-headers-4.4.0-36-generic linux-image-4.4.0-36-generic linux-image-extra-4.4.0-36-generic linux-signed-image-4.4.0-36-generic