Skip to content

How to fix : Disk Requirements: At least XYZ more space needed on the /boot filesystem.

Sep 26, 2014 | Services

Over the life of a Linux you need to update the kernel from time to time. Over time, you may fill up your /boot partition and get the following error in SSH.

Transaction Check Error:
installing package kernel-2.6.32-431.29.2.el6.x86_64 needs 3MB on the /boot filesystem

Error Summary

Disk Requirements:
At least 3MB more space needed on the /boot filesystem. (your amount will vary of course)

This is easy to fix, simply run the following from SSH:

uname -a

This will give you a list of kernels. Example:

kernel-2.6.32-220.2.1.el6.x86_64
kernel-2.6.32-358.11.1.el6.x86_64
kernel-2.6.32-431.20.3.el6.x86_64

If we want to keep the last two, but delete the third and free up some room, we can do this by typing:

package-cleanup --oldkernels --count=2

As long as the oldest kernels are not being used, it should clean up the boot partition and let you run updates to the kernel.

To update the kernel, type:

yum update

Easy? You bet.

Contact Us Today!

"*" indicates required fields

This field is for validation purposes and should be left unchanged.
I would like to be contacted by:*
Select all that apply.

Join Our Newsletter List!

* indicates required
Test