{"id":12360,"date":"2024-04-13T11:31:37","date_gmt":"2024-04-13T06:31:37","guid":{"rendered":"https:\/\/alexeyka.zantsev.com\/?p=12360"},"modified":"2024-08-31T12:05:50","modified_gmt":"2024-08-31T07:05:50","slug":"ubuntu-20-04-remove-old-unused-kernels","status":"publish","type":"post","link":"https:\/\/alexeyka.zantsev.com\/?p=12360","title":{"rendered":"Ubuntu 20.04 remove old unused kernels"},"content":{"rendered":"\n<p><a href=\"https:\/\/askubuntu.com\/a\/1253348\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/askubuntu.com\/a\/1253348<\/a><\/p>\n\n\n\n<p>Check what current kernel You are running:<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-red-color has-text-color has-link-color wp-elements-a0df7f66cee0a3523f747007fe22b07c\"><code>uname -a\nLinux blackhole 5.6.13-050613-lowlatency #202005141310 SMP PREEMPT Thu May 14 13:17:41 UTC 2020 x86_64 x86_64 x86_64 GNU\/Linux<\/code><\/pre>\n\n\n\n<p>So, this system runs  5.6.13-050613-lowlatency kernel.<\/p>\n\n\n\n<p>List all installed kernels in Your OS:<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-red-color has-text-color has-link-color wp-elements-2f3f0753776b78dc5f18dbcc89ac25bc\"><code>dpkg --list | egrep -i --color 'linux-image|linux-headers|linux-modules' | awk '{ print $2 }'\nlinux-headers-5.6.11-050611\nlinux-headers-5.6.11-050611-lowlatency\nlinux-headers-5.6.13-050613\nlinux-headers-5.6.13-050613-lowlatency\nlinux-image-unsigned-5.6.11-050611-lowlatency\nlinux-image-unsigned-5.6.13-050613-lowlatency\nlinux-modules-5.6.11-050611-lowlatency\nlinux-modules-5.6.13-050613-lowlatency<\/code><\/pre>\n\n\n\n<p>Uninstall kernels You don&#8217;t need:<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-red-color has-text-color has-link-color wp-elements-a2708f025253f6f0a47e5713621a26fd\"><code>sudo apt purge linux-headers-5.6.11-050611  linux-headers-5.6.11-050611-lowlatency linux-image-unsigned-5.6.11-050611-lowlatency linux-modules-5.6.11-050611-lowlatency<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/askubuntu.com\/a\/1253348 Check what current kernel You are running: So, this system runs 5.6.13-050613-lowlatency kernel. List all installed kernels in Your OS: Uninstall kernels You don&#8217;t need:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[9,19],"class_list":["post-12360","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-linux","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/posts\/12360","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=12360"}],"version-history":[{"count":5,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/posts\/12360\/revisions"}],"predecessor-version":[{"id":12399,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/posts\/12360\/revisions\/12399"}],"wp:attachment":[{"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12360"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12360"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12360"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}