If you get an "out of disk space" error while installing the package kernel-2.6.32-131.2.1.el6.x86_64
on a Linux system, it may be because the /boot
partition does not have enough free space to accommodate the new kernel.
To resolve this issue, you can try one of the following solutions:
sudo yum remove $(package-cleanup --oldkernels --count=1 -q)
This will remove the oldest kernel from the system, freeing up some space in the /boot
partition.
/boot
partition:gparted
, to increase the size of the /boot
partition./boot
directory./boot
directory as usual.