PDA

View Full Version : [SOLVED] Extra GRUB entries after update



Crazyap7
April 26th, 2011, 06:32 PM
I recently did a clean re-install with Ubuntu 10.10 to clear out all of the old experimentation that had gunked the system and start clean, and upon update an extra entry was created in GRUB:
ubuntu-2.6.35-28-generic

The original one being:
ubuntu-2.6.35-22-generic

From Googling I can see that most often people just edit the Grub menu and remove the old entry, but I haven't really seen an explanation as to why it's there.

Any help appreciated, thanks!

psusi
April 26th, 2011, 06:39 PM
It is there because when the kernel is upgraded, the previous versions are kept in case there is a problem so you can choose to boot the older version and have a working system. You don't edit the menu to get rid of it; you just uninstall the old kernel with apt or synaptic. Search for linux-image in synaptic and remove the older versions ( but NOT the current one ).

Quackers
April 26th, 2011, 06:39 PM
It's there as a fallback, in case the newer kernel doesn't boot, or fails in some way. Some users recommend keeping the last 2 kernels as a safety precaution.
If you want to remove the older one you can do so by entering its number in the search box of synaptic package manager then marking (all 3 parts) for complete removal and applying the change.
To update the grub menu afterwards you need to run sudo update-grub in the terminal.

Crazyap7
April 26th, 2011, 06:55 PM
Alright that clears it up, thanks!