CentOS 使用 yum update 時顯示 /boot 空間不足
Error Summary
-------------
Disk Requirements:
At least 20MB more space needed on the /boot filesystem.
查空間使用狀況
# df -H /boot
檔案系統 Size Used Avail Use% 掛載點
/dev/sda1 199M 180M 9M 91% /boot
找出舊的 kernel
# rpm -qa | grep kernel
dracut-kernel-004-284.el6_3.noarch
kernel-headers-2.6.32-279.2.1.el6.x86_64
libreport-plugin-kerneloops-2.0.9-5.el6.centos.x86_64
kernel-2.6.32-279.2.1.el6.x86_64
kernel-2.6.32-220.23.1.el6.x86_64
kernel-2.6.32-220.el6.x86_64
kernel-firmware-2.6.32-279.2.1.el6.noarch
abrt-addon-kerneloops-2.0.8-6.el6.centos.x86_64
刪除舊的 kernel
# rpm -e kernel-2.6.32-220.23.1.el6.x86_64 kernel-2.6.32-220.el6.x86_64
重新安裝 kernel
# yum update kernel
安裝成功
重新啟動
# sync
# reboot
ref : http://pejslin.blogspot.tw/2014/04/kernel.html