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.

I'm having an issue with the current kernel and was recommended to install the newest mainline kernel. However, with only two kernel boot options (3.2.0-24 and 3.2.0-25) I'm afraid I'll lose the working v3.2.0-24 if I install the mainline Debian package.

Where can I set how many back-kernels are left on the system?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

So long as the mainline kernel does not remove the previous ones (it shouldn't by default) by replacing them (and as I said it shouldn't normally do that), you previous kernels will remain intact.

You can manage the number of kernels you have by adding or removing kernels via the package manager. You can also set limits in grub I believe (but I don't remember off hand, so I would have to update my answer).

share|improve this answer
So, it appears I'm an idiot lol. I've always just looked at the linux-image-generic package. Never realized it was a meta-package... I always wondered why the number of installed kernels dropped from like 3-4 to 2, guess it was just a dependency change in the linux-image-generic metapackage. –  Githlar Jun 25 '12 at 23:21

Your Answer


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.