PDA

View Full Version : [ubuntu] grub loader is becoming overrun with different ubuntu options



jredkai
July 26th, 2010, 02:28 AM
so, everytime I upgrade Lucid Lynx a new version of Ubuntu shows up in the grub loader and it's getting kinda carried away, how do I get rid of the previous versions of Ubuntu without messing up the most recent updated version? Thx ahead of time.

ThomasHC
July 26th, 2010, 02:43 AM
I believe Startup Manager (apt://startupmanager) can help you hide them, but be careful not to hide too many if you run into problems.

iponeverything
July 26th, 2010, 02:49 AM
Removing previous version of the kernel with synaptic will remove them from the grub menu.

PaulReaver
July 26th, 2010, 02:55 AM
+1 for the synaptic solution.

just make sure your current kernel works well with all your hardware first.

jredkai
July 26th, 2010, 03:04 AM
alright so I'm in the synaptic manager right now and I'm not totally sure how to go about removing the old versions, and also I tried looking for the startup manager and I dont see anything called startup manager....thx so far though for the tips

ThomasHC
July 26th, 2010, 03:10 AM
alright so I'm in the synaptic manager right now and I'm not totally sure how to go about removing the old versions, and also I tried looking for the startup manager and I dont see anything called startup manager....thx so far though for the tips

The package is called "startupmanager", the link should install it for you, otherwise install with synaptic or Software Center.

jredkai
July 26th, 2010, 03:20 AM
ok so now I have the startup manager, but I don't see any way to get rid of lucid versions 2.6.32-21, 2.6.32-22, 2.6.32-23 and their safe modes.

PaulReaver
July 26th, 2010, 03:25 AM
ok so now I have the startup manager, but I don't see any way to get rid of lucid versions 2.6.32-21, 2.6.32-22, 2.6.32-23 and their safe modes.

why don't you just use synaptic to remove kernels 2.6.32-21, 2.6.32-22 and 2.6.32-23.
grub's menu will be updated and the extra unwanted entries will be removed.

jredkai
July 26th, 2010, 03:54 AM
should I remove the headers for kernels as well, and after removing the kernels will the boot loader be removed too, or will everything still be alright? should I go ahead and re-install grub loader as well just in case?

PaulReaver
July 26th, 2010, 04:24 AM
should I remove the headers for kernels as well, and after removing the kernels will the boot loader be removed too, or will everything still be alright? should I go ahead and re-install grub loader as well just in case?


grub won't be removed unless you tell synaptic to remove it. (which would be bad). grub's config will be updated automatically when you remove the old kernels.:p

you can remove any unused kernels and kernel headers,
keep the latest kernel and matching headers and you should be fine.:D


just be careful when removing the kernels, remove too many and your system is hosed. :-?

hope it helps

oldfred
July 26th, 2010, 05:03 AM
Uninstall extra kernels:-------------------------
In synaptic search for linux-image to choose to delete old ones
More info in post #8
http://ubuntuforums.org/showthread.php?t=1283521