removing unused kernels

Tez binary_y2k2 at blueyonder.co.uk
Thu Jul 20 17:55:40 UTC 2006


Christopher J. Bottaro wrote:
> Hi,
> apt has installed a few kernels and now I want to get rid of the old ones. 
> How do I see a list of the kernels currently installed?  'dpgk -l | grep
> linux' shows a bunch of stuff, including (I think) meta packages?  How do I
> know which ones to remove and which ones are meta packages that needs to
> stay?
>
> Thanks for the help.
>
>   
Simple, look in /boot and you'll see some vmlinuz-2.6... files, those
are the kernels you have installed.
the 'dpkg -l | grep ...' cammand workds better if you use "linux-image"
not just "linux"
eg:
$ dpkg -l|grep linux-image
ii linux-image-2.6.15-25-686 2.6.15-25.43 Linux kernel image for version
2.6.15 on PPro/Celeron/PII/PIII/P
ii linux-image-2.6.15-26-686 2.6.15-26.45 Linux kernel image for version
2.6.15 on PPro/Celeron/PII/PIII/P
ii linux-image-686 2.6.15.24 Linux kernel image on
PPro/Celeron/PII/PIII/PIV.

Tez






More information about the kubuntu-users mailing list