Need more space on Boot partition for kernel upgrade in centos 6?

Need more space on Boot partition for kernel upgrade in centos 6?

Written by: Techies India Inc. | Published on: November 23, 2012 | Updated on: June 7, 2024

Hi,

While updating the newly install server CentOS 6.3, got an error need 27MB more space on boot partition (which is 100 MB) in size. So struck there. Got a solution ?

Well, here it is:

1. See which is the current kernel being used:

uname -r

output is:

2.6.32-279.2.1.el6.i686

2. Note the name of kernel in output and see all the available kernels on the partition:

rpm -qa | grep kernel

3. Remove unnecessary kernels:

rpm -e kernel-firmware-2.6.32-279.2.6.32-279.2.1.el6.noarch

4. Install the new kernel by yum update