查询可用 kernal
apt-cache search linux|grep linux-image
查询已安装 kernal
dpkg --get-selections| grep linux
安装 kernal
sudo apt update
apt-get install linux-image-4.15.0-33-generic linux-headers-4.15.0-33-generic linux-image-4.18.0-20-generic
卸载 kernal
sudo apt uninstall linux-image-4.15.0-33-generic linux-headers-4.15.0-33-generic
改写 grub
sudo vim /etc/default/grub
#GRUB_DEFAULT="Advanced options for Ubuntu>Ubuntu, with Linux 4.15.0-33-generic"
手动更新 grub
sudo update-grub