{"id":5980,"date":"2020-12-12T11:00:07","date_gmt":"2020-12-12T05:30:07","guid":{"rendered":"https:\/\/pheonixsolutions.com\/blog\/?p=5980"},"modified":"2020-12-12T11:00:11","modified_gmt":"2020-12-12T05:30:11","slug":"how-to-solve-boot-partition-full-issue-in-centos","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/blog\/how-to-solve-boot-partition-full-issue-in-centos\/","title":{"rendered":"How to solve boot partition full issue in CentOS"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">How to solve boot partition full issue in CentOS<\/h4>\n\n\n\n<h4 class=\"wp-block-heading\">Date: 12-12-2020<\/h4>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Introduction:<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">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&#8217;t remove the files from the boot partition. You can follow the below steps to solve this issue. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 1:<\/strong> 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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>#uname -a<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 2:<\/strong> Set the below parameter on <code>\/etc\/yum.conf<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>installonly_limit=2<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"713\" src=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/12\/Screen-Shot-2020-12-12-at-10.40.13-AM-1024x713.png\" alt=\"\" class=\"wp-image-5985\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/12\/Screen-Shot-2020-12-12-at-10.40.13-AM-1024x713.png 1024w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/12\/Screen-Shot-2020-12-12-at-10.40.13-AM-300x209.png 300w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/12\/Screen-Shot-2020-12-12-at-10.40.13-AM-768x535.png 768w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/12\/Screen-Shot-2020-12-12-at-10.40.13-AM-431x300.png 431w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/12\/Screen-Shot-2020-12-12-at-10.40.13-AM.png 1132w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 3:<\/strong> Install yum utilities by using the below command.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>#yum install yum-utils<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 4:<\/strong> You can remove the old kernel files by using the below command.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>#package-cleanup --oldkernels --count=2<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thank you!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to solve boot partition full issue in CentOS Date: 12-12-2020 Introduction: Once you updated the kernel versions on the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1022],"tags":[792],"class_list":["post-5980","post","type-post","status-publish","format-standard","hentry","category-web-architecture","tag-boot-partition","psol-cat-web-architecture"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/phn2x7-1ys","jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/5980","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=5980"}],"version-history":[{"count":0,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/5980\/revisions"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=5980"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=5980"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=5980"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}