My /boot partition hit 100% and now I can't upgrade. Can't remove old kernels to

本文提供了解决Ubuntu系统中boot分区占用100%,导致无法进行系统升级及移除旧内核的问题的方法。通过使用dpkg命令移除旧版本的内核,释放了所需空间,从而使得系统升级和自动清理操作得以执行。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

My /boot partition hit 100% and now I can't upgrade. Can't remove old kernels to make room

dpkg -l linux-image-\* | grep ^ii

ii  linux-image-3.11.0-19-generic              3.11.0-19.33~precise1               Linux kernel image for version 3.11.0 on 64 bit x86 SMP
ii  linux-image-3.11.0-20-generic              3.11.0-20.35~precise1               Linux kernel image for version 3.11.0 on 64 bit x86 SMP
ii  linux-image-3.11.0-22-generic              3.11.0-22.38~precise1               Linux kernel image for version 3.11.0 on 64 bit x86 SMP
ii  linux-image-3.11.0-23-generic              3.11.0-23.40~precise1               Linux kernel image for version 3.11.0 on 64 bit x86 SMP
ii  linux-image-3.11.0-24-generic              3.11.0-24.41~precise1               Linux kernel image for version 3.11.0 on 64 bit x86 SMP
ii  linux-image-generic-lts-saucy              3.11.0.24.21                        Generic Linux kernel image

 

 

You can use dpkg instead of apt-get to remove older kernels:

sudo dpkg -r linux-image-3.11.0-15-generic 

Now that I had some space on /boot, I was able to run
apt-get -f install 

apt-get autoremove


本方参考资料来自:
http://askubuntu.com/questions/171209/my-boot-partition-hit-100-and-now-i-cant-upgrade-cant-remove-old-kernels-to
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值