nano /etc/apt/sources.list
deb http://security.ubuntu.com/ubuntu trusty-security main
apt-get update
apt-cache search linux-image
建议使用官方的内核而非带有unsigned或者OEM字样的内核
apt-get install linux-image-4.4.0-148-generic
安装完毕检查已安装的内核:
dpkg -l |grep linux-image
nano /etc/default/grub
# 修改成如下内容
GRUB_DEFAULT="Advanced options for Ubuntu>Ubuntu, with Linux 4.4.0-148-generic"
更新grub
update-grub
uname -a
apt-get update
apt-get -y upgrade
7.8两步骤保证仅内核使用低版本,而安装的软件版本还是使用18.04的源支持的版本,这样防止因软件版本导致的系统内部冲突
apt-get purge linux-image-4.15.0-20-generic
dpkg -l |grep linux-image
nano /etc/default/grub
# 修改成如下内容
GRUB_DEFAULT=0
update-grub
“The first 90% of the code accounts for the first 90% of the development time. The remaining 10% of the code accounts for the other 90% of the development time.” – Tom Cargill
标 题:ubuntu18.04内核降级