To be honest, I just leave them all installed. If disk space isn't an issue then it can't hurt to keep the around, however I assume you want to get rid of them to tidy up the grub menu?
If so, you can edit the grub settigs to show only X number of the latest kernels, so for example it will show the current updated kernel and the previous one.
To do this follow these instructions, just be careful what you are editing or take a backup before hand.
1. Press Alt+F2 to open run dialog
2. Run this command:
Code:
gksu gedit /boot/grub/menu.lst
You should be prompted for your password as this is an admin task, just enter your normal users password.
3. Find the following line
4. Replace the current number on that line with the number of kernel versions you want to display.
5. Optional extra tweaks.
Code:
# memtest86= Used to add/remove the memtest option in the grub menu
# alternative= Used to display the alternate (Recovery) boot option
default 0 Used to select the default boot option in grub, simply enter the position of the entry in the list. Note: Starts counting from 0
timeout 10 Time before the default choice is activated
Bookmarks