Removing previous kernel.

Asked by shailesh

I have updated ubuntu.So when i restarted laptop grub loads two kernel of ubuntu.
How to remove previous grub?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
quantenemitter
Solved:
Last query:
Last reply:
Revision history for this message
Best quantenemitter (quantenemitter) said :
#1

I assume only one kernel is loaded, but several Ubuntu-entries apppear in the grub menu and you don't like that. If that's the case, read on:

First, look up which kernel version you are using. Do this by opening a terminal and entering "uname -r".

Now, open system->system management->synaptic package manager. Search for "linux-image". Several lines appear, some with a green button. Go to every line with a green button and starting with "linux-image-2." If the following number does _not_ match your current kernel (see above), right-click on it and choose "remove".

==============================================
Be very careful NOT to remove the package called "linux-image-generic"!
==============================================

Have fun!

Revision history for this message
shailesh (shaileshagarwal1) said :
#2

Thanks thomas, It works.

Revision history for this message
shailesh (shaileshagarwal1) said :
#3

Thanks Thomas Lauckner, that solved my question.