{"id":895,"date":"2020-10-05T11:05:36","date_gmt":"2020-10-05T11:05:36","guid":{"rendered":"http:\/\/linux.thingsomething.com\/?p=895"},"modified":"2023-03-04T16:54:25","modified_gmt":"2023-03-04T16:54:25","slug":"boot-100-full-in-linux","status":"publish","type":"post","link":"https:\/\/linux.thingsomething.com\/index.php\/2020\/10\/05\/boot-100-full-in-linux\/","title":{"rendered":"\/boot 100 % full in linux"},"content":{"rendered":"\n<p>If your <code>\/boot<\/code> partition is 100% full in Linux, it means that the partition is running out of space and you may not be able to install new kernels or packages. Here are some steps you can take to resolve this issue:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Remove old kernels: Old kernels take up space in the <code>\/boot<\/code> partition. You can check the list of installed kernels using the command <code>dpkg --list | grep linux-image<\/code>. Then, remove the old kernels that are no longer needed using the command <code>sudo apt-get remove &lt;kernel-package-name&gt;<\/code>.<\/li><li>Clear the package cache: The package cache can take up a lot of space in the <code>\/boot<\/code> partition. You can clear the package cache using the command <code>sudo apt-get clean<\/code>.<\/li><li>Increase the size of <code>\/boot<\/code>: If the above steps do not resolve the issue, you may need to increase the size of the <code>\/boot<\/code> partition. This can be done by shrinking another partition and allocating the free space to the <code>\/boot<\/code> partition using a partitioning tool like GParted.<\/li><li>Move <code>\/boot<\/code> to a separate partition: If you have multiple partitions on your system, you can move the <code>\/boot<\/code> partition to a separate partition with more space. This can be done by creating a new partition and copying the contents of <code>\/boot<\/code> to the new partition.<\/li><\/ol>\n\n\n\n<p>After resolving the issue, it is recommended to keep the <code>\/boot<\/code> partition clean by removing old kernels regularly and keeping enough free space for new kernels and packages.<\/p>\n\n\n\n<p><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">First check the kernel version, that which  kernel image, running:<\/mark><\/p>\n\n\n\n<p><strong>uname -r<\/strong><br><span class=\"has-inline-color has-vivid-red-color\">Now list of installed kernels:<\/span><\/p>\n\n\n\n<p><strong>dpkg &#8211;list &#8216;linux-image*&#8217; | grep ^ii<\/strong><\/p>\n\n\n\n<p><br><span class=\"has-inline-color has-vivid-red-color\">Now delete the kernels  don&#8217;t want\/need anymore <\/span><\/p>\n\n\n\n<p><strong>sudo apt-get remove linux-image-VERSION<\/strong><\/p>\n\n\n\n<p><br><span class=\"has-inline-color has-vivid-red-color\">Replace VERSION with the version of the kernel you want to remove.<\/span><\/p>\n\n\n\n<p><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">When  done removing the older kernels, now we have to<\/mark> remove ever packages that<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\"> is not needed anymore:<\/mark><\/p>\n\n\n\n<p><strong>sudo apt-get autoremove<\/strong><br><span class=\"has-inline-color has-vivid-red-color\">And finally  can run this to update grub kernel :<\/span><\/p>\n\n\n\n<p><strong>sudo update-grub<\/strong><\/p>\n\n\n\n<p><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-luminous-vivid-amber-color\">Thankyou for visiting please comments if you face any issue in this regard <\/mark><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If your \/boot partition is 100% full in Linux, it means that the partition is running out of space and you may not be able &hellip; <span class=\"ml-btn\"><a href=\"https:\/\/linux.thingsomething.com\/index.php\/2020\/10\/05\/boot-100-full-in-linux\/\" class=\"more-link\">Read More<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[9,19],"tags":[252,253,251,254,255,258,257,256],"class_list":["post-895","post","type-post","status-publish","format-standard","hentry","category-linux-desktop","category-ubuntu-server","tag-boot-2","tag-boot-100-persant","tag-boot","tag-boot-full","tag-boot-full-ubuntu","tag-fix-boot","tag-kernel-version","tag-old-kernel-version"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/posts\/895"}],"collection":[{"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/comments?post=895"}],"version-history":[{"count":2,"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/posts\/895\/revisions"}],"predecessor-version":[{"id":905,"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/posts\/895\/revisions\/905"}],"wp:attachment":[{"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/media?parent=895"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/categories?post=895"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/tags?post=895"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}