Linux /boot分区空间不足

Linux /boot分区空间不足

系统升级提示/boot分区空间不足,解决方案:

1、查看内核:

dpkg --get-selection | grep linux-image

2、查看现在使用内核:
<pre name="code" class="plain">uname -r 
或
uname -a


3、把不在使用的内核卸掉:

sudo apt-get purge linux-image-2.6.28-11-generic

这里删掉的内核与你的应该不一致,要删掉的内核状态应该显示"uninstall'一类的字样。这一步之后/boot分区应该已经变大,可以使用“ df "命令查看。

4、若安装中断执行:

dpkg --configure -a
5、"Only One System Management Tool is allowed to run at the same time",表明系统apt程序死锁

解决方案:

sudo dpkg --configure -a
6、使用df命令查看分区使用状态
df -h

以上步骤并不是要按步执行,只是解决/boot分区空间不足的情况时可能会出现以及要考虑的事情。

posted @ 2014-11-03 19:09  朔珩轩  阅读(482)  评论(0编辑  收藏  举报