Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Is there some sort of best practice around removing them (when/how/why)? What is the point of keeping them around in the first place and why would you even put them in grub?

I guess there is not a "problem" per say, but I am just curious about that design decision.

Correct me if I am wrong, but you can still use the old kernels with the new user interface right?

share|improve this question

4 Answers 4

up vote 13 down vote accepted

The short answer is they are used "as a backup". New kernels are tested on a large amount of hardware before being released, but can't be tested on everything. If an update causes the machine to not boot successfully, then the previous known-good kernel is available as a fallback.

share|improve this answer

A couple of follow ons.

1) if you've just upgraded to a new version of ubuntu then it definitely makes sense to remove the old kernels because they may not work properly with the new version

2) you can remove the old images by running synamptic (or apt-get) and removing the older linux-image* entries (and if you remove the linux-image* you should also remove the linux-header* of the same version number if they are present)

share|improve this answer

According to The Evil Phoenix and sladen, I want to add:

If you used a kernel real long, and now you get a new one, and start using it successfully, you can delete the ones before the long-used 2nd newest one. Keep the current and the kernel before, except you have problems.

If you have problems, you will know yourself which kernel to keep and why. You might have multiple kernels, because one is able to produce high speed 3d graphics, but then acpi fails so you can't hibernate, and the other one does hibernate, but the 3d-performance is low.

But you can collect them, until the grub-screen is filled too much, and delete a couple of them at once.

share|improve this answer

Yes, in most cases. Old kernels are there in case something breaks with a new one. This way, you can use the old kernel which works and just remove the new kernel which doesnt work.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.