Ubuntu boot分區滿了,解決辦法
阿新 • • 發佈:2017-09-20
解決辦法 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分區滿了,解決辦法