/boot磁盘空间不足,没盘扩展,只好删除旧内核了

时间:2021-10-14 23:07:51
[xiejdm@localhost ~]$ uname -r
3.10.-229.11..el7.x86_64
[xiejdm@localhost ~]$ sudo rpm -qa | grep kernel
kernel-tools-libs-3.10.-229.11..el7.x86_64
kernel-3.10.-.el7.x86_64
kernel-headers-3.10.-229.11..el7.x86_64
kernel-tools-3.10.-229.11..el7.x86_64
kernel-3.10.-229.11..el7.x86_64
abrt-addon-kerneloops-2.1.-.el7.centos.0.1.x86_64
kernel-3.10.-229.7..el7.x86_64
[xiejdm@localhost ~]$ sudo yum remove kernel-3.10.-229.7..el7.x86_64

重要命令已加粗!