Remove former Linux kernel releases

×

Statusmeldung

If you have any questions about this page or if you find any errors, please write a message to the support wall and a Labdoo volunteer will help resolve it. Thank you for helping to improve our wiki pages.

If you update to newer linux kernels the old kernels stay on the disc. Each kernel need about 60 - 140 MB. To remove them you have to open a terminal:

To rmeove former Linux kernels execute in a terminal:

sudo dpkg -l | grep linux-image (Enter)

The result should look like

ii linux-image-3.2.0-31-generic 3.2.0-31.50 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
ii linux-image-3.2.0-32-generic 3.2.0-32.51 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
ii linux-image-3.2.0-33-generic 3.2.0-33.52 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
ii linux-image-generic 3.2.0.33.36

In this example you might delete the kernels 3.2.0-31 and 3.2.0-32 (the numbers might differ from your list, please exchange). The last 2 kernels with the higher release numbers shoud remain:

sudo apt-get remove --purge linux-image-3.2.0-31-generic (Enter)


Continue reading to the next page:
Search files in all folders and delete them (optional)


Go back to read the previous page:
Open a terminal