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

by on June 8, 2011 · 4 comments· LAST UPDATED June 8, 2011

in

I'm trying to install RHEL 6 kernel updates and patches using the yum command and getting the following error:

Transaction Check Error:
  installing package kernel-2.6.32-131.2.1.el6.x86_64 needs 8MB on the /boot filesystem
Error Summary
-------------
Disk Requirements:
  At least 8MB more space needed on the /boot filesystem.

How do I fix this error and install RHEL kernel without increasing /boot size or reinstalling the operating system?

To update kernel, enter:
# yum update kernel
Sample outputs:

Loaded plugins: priorities, product-id, rhnplugin, subscription-manager
Updating Red Hat repositories.
70 packages excluded due to repository priority protections
Setting up Update Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
--> Running transaction check
---> Package kernel.x86_64 0:2.6.32-131.2.1.el6 will be installed
--> Processing Dependency: kernel-firmware >= 2.6.32-131.2.1.el6 for package: kernel-2.6.32-131.2.1.el6.x86_64
--> Running transaction check
---> Package kernel-firmware.noarch 0:2.6.32-131.0.15.el6 will be updated
---> Package kernel-firmware.noarch 0:2.6.32-131.2.1.el6 will be an update
--> Finished Dependency Resolution
--> Running transaction check
---> Package kernel.x86_64 0:2.6.32-71.el6 will be erased
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================================================================================================
 Package                              Arch                        Version                                 Repository                                                                    Size
=============================================================================================================================================================================================
Installing:
 kernel                               x86_64                      2.6.32-131.2.1.el6                      rhel-x86_64-server-6                                                          23 M
Removing:
 kernel                               x86_64                      2.6.32-71.el6                           @anaconda-RedHatEnterpriseLinux-201009221801.x86_64/6.0                      112 M
Updating for dependencies:
 kernel-firmware                      noarch                      2.6.32-131.2.1.el6                      rhel-x86_64-server-6                                                         2.5 M
Transaction Summary
=============================================================================================================================================================================================
Install       1 Package(s)
Upgrade       1 Package(s)
Remove        1 Package(s)
Total size: 26 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Check Error:
  installing package kernel-2.6.32-131.2.1.el6.x86_64 needs 8MB on the /boot filesystem
Error Summary
-------------
Disk Requirements:
  At least 8MB more space needed on the /boot filesystem.

It means /boot partition is out of disk space. You can verify this with the df command itself, enter:
# df -H /boot
To fix this problem deleted all old kernel. To list all installed kernel, enter:
# rpm -qa | grep kernel
Sample outputs:

  kernel-2.6.32-71.el6.x86_64
  kernel-2.6.32-71.29.1.el6.x86_64
  kernel-2.6.32-131.0.15.el6.x86_64

Erase older version, enter:
# rpm -e kernel-2.6.32-71.el6.x86_64 kernel-2.6.32-71.29.1.el6.x86_64
# df -H /boot

Now, try installing the new updated kernel:
# yum -y update kernel
Also apply other updates from RHN, enter:
# yum -y update
Finally, reboot the system, enter:
# reboot

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 4 comments… read them below or add one }

1 BiBi February 19, 2012 at 5:28 am

thanks very much, it solved my problem

Reply

2 Fabio Souza April 11, 2012 at 2:21 am

Thanks!

Reply

3 Natali Ardianto July 19, 2012 at 4:29 am

Thank goodness I googled much deeper. The other website solution is to create a fresh install with bigger /boot space.

Reply

4 cai jin December 24, 2013 at 9:14 am

Thank you very much!

Reply

Leave a Comment

Tagged as: , , , , , , , , , , , , , , , , ,

Previous Faq:

Next Faq: