1、查看ubuntu中已安装的内核
dpkg --get-selections | grep linux
2、用apt-get 命令删除多余内核
sudo apt-get --purge autoremove linux-headers-2.6.32-22 linux-image-2.6.32-22-generic
1、查看ubuntu中已安装的内核
dpkg --get-selections | grep linux
2、用apt-get 命令删除多余内核
sudo apt-get --purge autoremove linux-headers-2.6.32-22 linux-image-2.6.32-22-generic