Linux /boot: Out of Disk Space While Installing Package kernel-2.6.32-131.2.1.el6.x86_64

Linux /boot: Out of Disk Space While Installing Package kernel-2.6.32-131.2.1.el6.x86_64

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:

  1. Delete old kernels:
refer to‮ual:‬tturi.com
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.

  1. Increase the size of the /boot partition:
  • Use a disk partitioning tool, such as gparted, to increase the size of the /boot partition.
  • Reboot the system to apply the changes.
  1. Install the kernel to a different partition:
  • Mount a different partition to the /boot directory.
  • Install the kernel to the /boot directory as usual.
Created Time:2017-10-29 22:09:00  Author:lautturi