7

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?

4 Answers 4

13

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.

6

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.

4

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.

2

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)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .