一、查看内核
dpkg --get-selections|grep linux-image
命令结果如:
linux-image-2.6.28-11-generic install
linux-image-2.6.28-12-generic install
linux-image-generic install
二、查看现在使用的内核心
uname -r
命令结果如:
2.6.28-12-generic
三、把不再使用的内核用apt-get purge命令卸载掉。如前面的例子,则用:
sudo apt-get purge linux-image-2.6.28-11-generic
卸载掉不用的旧内核
猜你喜欢
转载自23497465-qq-com.iteye.com/blog/1477816
今日推荐
周排行