Heeter
March 28th, 2017, 04:36 AM
Hey all,
I was trying to upgrade to the next kernel, 4.8.0-44, but It keeps failing, I figured that it is because my /boot partition is full. I finally managed to uninstall one kernel (4.4.0-66, I believe) and did install the 4.8.0-44 and make it active.
Can someone tell me how I can remove all the unused kernels that is soaking up all the space on the /boot drive? It currently has 250MB alotted to it, and it is down to around 20MB.
Regards
adminpc@adminpc ~ $ dpkg --list 'linux-image*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-================================-=====================-=====================-================================================== ===================
un linux-image <none> <none> (no description available)
un linux-image-3.0 <none> <none> (no description available)
rc linux-image-3.19.0-32-generic 3.19.0-32.37~14.04.1 amd64 Linux kernel image for version 3.19.0 on 64 bit x86 SMP
rc linux-image-4.4.0-21-generic 4.4.0-21.37 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.4.0-64-generic 4.4.0-64.85 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.4.0-66-generic 4.4.0-66.87 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.4.0-67-generic 4.4.0-67.88 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.8.0-42-generic 4.8.0-42.45~16.04.1 amd64 Linux kernel image for version 4.8.0 on 64 bit x86 SMP
ii linux-image-4.8.0-44-generic 4.8.0-44.47~16.04.1 amd64 Linux kernel image for version 4.8.0 on 64 bit x86 SMP
rc linux-image-extra-3.19.0-32-gene 3.19.0-32.37~14.04.1 amd64 Linux kernel extra modules for version 3.19.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-21-gener 4.4.0-21.37 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-64-gener 4.4.0-64.85 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-66-gener 4.4.0-66.87 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-67-gener 4.4.0-67.88 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.8.0-42-gener 4.8.0-42.45~16.04.1 amd64 Linux kernel extra modules for version 4.8.0 on 64 bit x86 SMP
ii linux-image-extra-4.8.0-44-gener 4.8.0-44.47~16.04.1 amd64 Linux kernel extra modules for version 4.8.0 on 64 bit x86 SMP
adminpc@adminpc ~ $
I was trying to upgrade to the next kernel, 4.8.0-44, but It keeps failing, I figured that it is because my /boot partition is full. I finally managed to uninstall one kernel (4.4.0-66, I believe) and did install the 4.8.0-44 and make it active.
Can someone tell me how I can remove all the unused kernels that is soaking up all the space on the /boot drive? It currently has 250MB alotted to it, and it is down to around 20MB.
Regards
adminpc@adminpc ~ $ dpkg --list 'linux-image*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-================================-=====================-=====================-================================================== ===================
un linux-image <none> <none> (no description available)
un linux-image-3.0 <none> <none> (no description available)
rc linux-image-3.19.0-32-generic 3.19.0-32.37~14.04.1 amd64 Linux kernel image for version 3.19.0 on 64 bit x86 SMP
rc linux-image-4.4.0-21-generic 4.4.0-21.37 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.4.0-64-generic 4.4.0-64.85 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.4.0-66-generic 4.4.0-66.87 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.4.0-67-generic 4.4.0-67.88 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.8.0-42-generic 4.8.0-42.45~16.04.1 amd64 Linux kernel image for version 4.8.0 on 64 bit x86 SMP
ii linux-image-4.8.0-44-generic 4.8.0-44.47~16.04.1 amd64 Linux kernel image for version 4.8.0 on 64 bit x86 SMP
rc linux-image-extra-3.19.0-32-gene 3.19.0-32.37~14.04.1 amd64 Linux kernel extra modules for version 3.19.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-21-gener 4.4.0-21.37 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-64-gener 4.4.0-64.85 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-66-gener 4.4.0-66.87 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-67-gener 4.4.0-67.88 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.8.0-42-gener 4.8.0-42.45~16.04.1 amd64 Linux kernel extra modules for version 4.8.0 on 64 bit x86 SMP
ii linux-image-extra-4.8.0-44-gener 4.8.0-44.47~16.04.1 amd64 Linux kernel extra modules for version 4.8.0 on 64 bit x86 SMP
adminpc@adminpc ~ $