Ubuntu boot分区满了,解决办法
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Ubuntu boot分区满了,解决办法相关的知识,希望对你有一定的参考价值。
查看当前系统启动用的内核版本
[email protected]:/boot# uname -rm 4.4.0-92-generic x86_64 [email protected]:/boot#
列出安装过的内核版本
[email protected]:/boot# dpkg --get-selections |grep linux-image linux-image-4.4.0-21-generic deinstall linux-image-4.4.0-45-generic deinstall linux-image-4.4.0-47-generic deinstall linux-image-4.4.0-51-generic deinstall linux-image-4.4.0-53-generic deinstall linux-image-4.4.0-57-generic deinstall linux-image-4.4.0-59-generic deinstall linux-image-4.4.0-62-generic deinstall linux-image-4.4.0-64-generic deinstall linux-image-4.4.0-66-generic deinstall linux-image-4.4.0-67-generic deinstall linux-image-4.4.0-71-generic deinstall linux-image-4.4.0-72-generic deinstall linux-image-4.4.0-75-generic install linux-image-4.4.0-78-generic install linux-image-4.4.0-79-generic install linux-image-4.4.0-81-generic install linux-image-4.4.0-83-generic install linux-image-4.4.0-87-generic install linux-image-4.4.0-89-generic install linux-image-4.4.0-91-generic install linux-image-4.4.0-92-generic install linux-image-4.4.0-93-generic install linux-image-extra-4.4.0-21-generic deinstall linux-image-extra-4.4.0-45-generic deinstall linux-image-extra-4.4.0-47-generic deinstall linux-image-extra-4.4.0-51-generic deinstall linux-image-extra-4.4.0-53-generic deinstall linux-image-extra-4.4.0-57-generic deinstall linux-image-extra-4.4.0-59-generic deinstall linux-image-extra-4.4.0-62-generic deinstall linux-image-extra-4.4.0-64-generic deinstall linux-image-extra-4.4.0-66-generic deinstall linux-image-extra-4.4.0-67-generic deinstall linux-image-extra-4.4.0-71-generic deinstall linux-image-extra-4.4.0-72-generic deinstall linux-image-extra-4.4.0-75-generic install linux-image-extra-4.4.0-78-generic install linux-image-extra-4.4.0-79-generic install linux-image-extra-4.4.0-81-generic install linux-image-extra-4.4.0-83-generic install linux-image-extra-4.4.0-87-generic install linux-image-extra-4.4.0-89-generic install linux-image-extra-4.4.0-91-generic install linux-image-extra-4.4.0-92-generic install linux-image-extra-4.4.0-93-generic install linux-image-extra-4.4.0-96-generic install [email protected]:/boot#
把与当前版本不符的全部删除,只保留92版的两个包
[email protected]:/boot# apt-get autoremove linux-image-4.4.0-75-generic [email protected]:/boot# apt-get autoremove linux-image-extra-4.4.0-75-generic 类似的,把其他版一一删除 提示:/boot分区没有空间,可能导致无法卸载。
重新平衡:
[email protected]:/boot# apt-get autoremove -f [email protected]:/boot# apt-get install -f
重启系统
[email protected]:/boot# reboot
本文出自 “李春利” 博客,请务必保留此出处http://990487026.blog.51cto.com/10133282/1967124
以上是关于Ubuntu boot分区满了,解决办法的主要内容,如果未能解决你的问题,请参考以下文章