Ubuntu更换内核

先去官网下下载内核

安装内核并重新载入

dpkg -i linux-image-4.12.4-041204-generic_4.12.4-041204.201707271932_amd64.deb
/usr/sbin/update-grub

重启后,查找系统已有的内核

dpkg --get-selections |grep linux-image

删除内核

apt-get remove linux-image-3.16.0-0.bpo.4-amd64
dpkg --purge linux-image-4.4.0-21-generic
apt-get autoremove -t

你可能感兴趣的:(Ubuntu更换内核)