How to solve boot partition full issue in CentOS

How to solve boot partition full issue in CentOS

Date: 12-12-2020

Introduction:

Once you updated the kernel versions on the server the old and current kernel files will store in the boot partition only. So you will get the boot partition full issue. You directly don’t remove the files from the boot partition. You can follow the below steps to solve this issue.

Step 1: SSH login to the server. You should keep the current kernel version files and the previous kernel version files on the server. To check the current kernel version by using the below command.

#uname -a

Step 2: Set the below parameter on /etc/yum.conf

installonly_limit=2

Step 3: Install yum utilities by using the below command.

#yum install yum-utils

Step 4: You can remove the old kernel files by using the below command.

#package-cleanup --oldkernels --count=2

Thank you!

admin

Our team has expertise across software and web development, WordPress, e-commerce, mobile applications, UI/UX, cloud and infrastructure, DevOps, CI/CD, API integration, security, testing, automation, and technical support. The team also works with AI-based software solutions, LLMs, AI workflows, AI agents, and intelligent application development to help businesses automate processes and build smarter digital solutions. We focus on developing, deploying, maintaining, and optimising secure, scalable, and reliable technology solutions while helping businesses adopt modern technologies and drive digital transformation.

Leave a Reply

Scroll to Top