[Linux] Boot分区满了的处理方法 The volume "boot" has only 0 bytes disk space remaining
2024-08-26 11:00:06
1.查看系统目前正在用的内核
abby@abby:~$ uname -r
..--generic
2.查看/boot保存的所有内核
abby@abby:~$ ls -lah /boot
total 347M
drwxr-xr-x root root .0K 8月 : .
drwxr-xr-x root root .0K 8月 : ..
-rw-r--r-- root root 1.2M 6月 : abi-4.4.--generic
-rw-r--r-- root root 1.2M 6月 : abi-4.4.--generic
-rw-r--r-- root root 1.2M 7月 : abi-4.4.--generic
-rw-r--r-- root root 1.2M 8月 : abi-4.4.--generic
-rw-r--r-- root root 1.2M 8月 : abi-4.4.--generic
-rw-r--r-- root root 1.2M 8月 : abi-4.4.--generic
-rw-r--r-- root root 1.2M 8月 : abi-4.4.--generic
-rw-r--r-- root root 186K 6月 : config-4.4.--generic
-rw-r--r-- root root 186K 6月 : config-4.4.--generic
-rw-r--r-- root root 186K 7月 : config-4.4.--generic
-rw-r--r-- root root 186K 8月 : config-4.4.--generic
-rw-r--r-- root root 186K 8月 : config-4.4.--generic
-rw-r--r-- root root 186K 8月 : config-4.4.--generic
-rw-r--r-- root root 186K 8月 : config-4.4.--generic
drwxr-xr-x root root .0K 8月 : grub
-rw-r--r-- root root 8.9M 7月 : initrd.img-4.4.--generic
-rw-r--r-- root root 37M 7月 : initrd.img-4.4.--generic
-rw-r--r-- root root 37M 7月 : initrd.img-4.4.--generic
-rw-r--r-- root root 37M 7月 : initrd.img-4.4.--generic
-rw-r--r-- root root 37M 8月 : initrd.img-4.4.--generic
-rw-r--r-- root root 37M 8月 : initrd.img-4.4.--generic
-rw-r--r-- root root 37M 8月 : initrd.img-4.4.--generic
-rw-r--r-- root root 37M 8月 : initrd.img-4.4.--generic
drwx------ root root 12K 1月 lost+found
-rw-r--r-- root root 179K 1月 memtest86+.bin
-rw-r--r-- root root 181K 1月 memtest86+.elf
-rw-r--r-- root root 181K 1月 memtest86+_multiboot.bin
-rw------- root root 3.8M 6月 : System.map-4.4.--generic
-rw------- root root 3.8M 6月 : System.map-4.4.--generic
-rw------- root root 3.8M 7月 : System.map-4.4.--generic
-rw------- root root 3.8M 8月 : System.map-4.4.--generic
-rw------- root root 3.8M 8月 : System.map-4.4.--generic
-rw------- root root 3.8M 8月 : System.map-4.4.--generic
-rw------- root root 3.8M 8月 : System.map-4.4.--generic
-rw------- root root 6.8M 6月 : vmlinuz-4.4.--generic
-rw------- root root 6.8M 6月 : vmlinuz-4.4.--generic
-rw------- root root 6.8M 7月 : vmlinuz-4.4.--generic
-rw------- root root 6.8M 8月 : vmlinuz-4.4.--generic
-rw------- root root 6.8M 8月 : vmlinuz-4.4.--generic
-rw------- root root 6.8M 8月 : vmlinuz-4.4.--generic
-rw------- root root 6.8M 8月 : vmlinuz-4.4.--generic
3.除了目前正在用的内核(4.4.0-92),把其它没有用的内核删除或者移到其它分区
abby@abby:~$ sudo mv /boot/*4.4.0-81* ~/backup/boot/
如果需要更多的空间,同理把4.4.0-83, 4.0.0-87等移除即可
参考:
[ubuntu] Boot Partition is Full
最新文章
- 谈谈asp.net MVC中的AppendTrailingSlash以及LowercaseUrls ,你还记得吗?
- 手动配置 Android SDK
- sql server中index的REBUILD和REORGANIZE
- 线程模式HS/HA和L/F的区别, HS/HA的实现原理图
- 3D项目处理点选操作步骤
- 玩转docker镜像和镜像构建
- MapReduce简单分析
- wordpress百度熊掌号“搜索结果出图”改造代码
- no plugin found for prefix 'tomcat 7' in the current project
- JS中的offset scroll event client
- 一个linux内核模块移植到低版本时发生的异常
- 【2018暑假集训模拟一】Day1题解
- C# 项目迁移 Microsoft.VisualStudio.Tools.Office.BuildTasks 生成解决方法报错:请确认 <;UsingTask>; 声明正确,该程序集及其所有依赖项都可用
- python字符串 分片索引
- VC 系统托盘编程,含有气泡提示
- NOIP2017 D1T2时间复杂度
- Erlang generic standard behaviours -- gen_server hibernate
- Memcache线上常见问题(缓存雪崩、缓存无底洞、永久数据被踢)
- Python3之shutil模块
- autoKeras入门
热门文章
- Jquery7 表单选择器
- mac下ssh到远程服务器时中文乱码
- linux中__weak关键字的作用
- 百度云如何免费扩容至2055G?
- NNCRF之NNSegmentation, NNPostagging, NNNameEntity
- hiho 1318 非法二进制数 dp
- PHP数组合并:[“+”运算符]、[array_merge]、[array_merge_recursive]区别
- phalcon: 项目地址/P(.*), 项目地址/Pbaidu 与 路由
- IOS-涂鸦
- leetcode 849. Maximize Distance to Closest Person