lunes, 23 de mayo de 2011

How to delete old kernels in Linux

How to delete old kernels in Linux

Ubuntu Linux kernel image erase


Good people dipuse me a few days ago to see how clear the kernel not to use on Linux and found this which I found piola share with you.



Every so updates are going to recommend you upgrade kernel. Earlier versions are not removed in case you encounter any problem with the new version. In the grub menu will available versions, and if after a while and we have no problems doing a little disk space could be eliminated.

To remove old kernels we tipeamos console:

dpkg - get-selections | grep linux-image

This command will display the kernles submit that we installed on our machine, in my case I will show:

linux-image-2.6.27-11-generic install
linux-image-2.6.27-7-generic install
linux-image-2.6.27-9-generic install
linux-image-generic install


Then, to eliminate one in particular:

sudo aptitude purge package

Where package is the name of the kernel to delete, such as "linux-image-2.6.27-9-generic"

DO NOT uninstall the linux kernel-image-generic as it is necessary to receive updates of the kernel.

Source

I hope this will be useful Salu2

No hay comentarios:

Publicar un comentario