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

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:

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:

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:

Easy? You bet.

Want to discuss a project?

  • This field is for validation purposes and should be left unchanged.