Safley Removing Old Kernel Images
Gabriel Dragffy
dragffy at yandex.ru
Wed Mar 28 19:15:02 UTC 2007
Anthony Gardner wrote:
> I know someone posted here a while ago about how to remove old kernel
> images and associated files but I haven't been able to find the old post.
>
> Is there a safe way to do this to free up some space or is it just a
> case of doing it carefuly by hand?
>
> Any best foot forward advice?
>
> CIA
>
> -Ants
>
> ------------------------------------------------------------------------
> Copy addresses and emails from any email account to Yahoo! Mail - quick,
> easy and free. Do it now...
> <http://us.rd.yahoo.com/mail/uk/taglines/default/trueswitch/*http://uk.docs.yahoo.com/trueswitch2.html>
>
>
I'd say the best way is to remove them using a package manager. You can
see what images you have installed if you run the command:
$ aptitude search linux|grep linux-image
You will see a list of results, the items marked with an 'i' in the left
column are ones you have installed. You're basically looking for
linux-image-2.6.??-??-generic/386/server/???
Generally you will leave the highest version well alone and remove the
older versions. I have found that removing an older version will free up
about 70MB space for each version.
It's normally advisable to have the latest version installed and also
keep the previous version installed for redundancy purposes.
More information about the ubuntu-users
mailing list