Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

Grub menu culling

  Date: Feb 12    Category: Unix / Linux / Ubuntu    Views: 358
  

Not a real problem ,but I want to ´cull´ the boot menu of Ubuntu 12.04.

I only would like to keep kernel 3.2.0-33 generic and delete all the others.

So far I have done the following :

1) In Synaptic completely removed the older images

2) Edited the boot menu with ´e´ ,deleting one of the oldest entries ,saving
with E-macs command Cx-Cs.

3) By using Daniel Richter´s : Grub Customizer removed all the unwanted menu
entries.

After each of the above activities the ´lengthy´ boot menu is still there.

Any advice on the matter will be much appreciated.

Share: 

 

4 Answers Found

 
Answer #1    Answered On: Feb 12    

I would strongly suggest keeping two versions of the kernel.

After completely removing the three files which make a kernel version, just run
this command: sudo update-grub

In Synaptic, I use search to find the kernel files, with a search term such as
0-26

 
Answer #2    Answered On: Feb 12    

I agree. I have had this rescue me more than once. Sometimes a driver
(particularly a graphics card driver) is linked to the kernel and when an
upgrade fails booting into the previous kernel that worked will allow you
to finish the upgrade. Later when you re-boot you can boot into the latest
kernel with no problem. I have had this happen on both Ubuntu and Fedora.

 
Answer #3    Answered On: Feb 12    

This option may be late for you, now that you have removed the older
images, but it may be of value the next time you need to do so (and it
edits the grub boot menu when it removes the old images).

The product is called ailurus. It may have come installed on 12.04 as I
have it on my desktop, but it is in the software center, so it can be
installed directly, if not already there.

 
Answer #4    Answered On: Feb 12    

Ailurus is not available for newer versions of Ubuntu. The last version
available was for Maverick or maybe Natty. It was a good tool at the time.
I think the source code is still kicking around, but not much use if you
want a deb. It used to be available in getdeb, but it is not in the 12.04
repositories. Using it with newer vrsion

Ubuntu Tweak will remove old kernels. Go to the Janitor tab and then Old
kernels under System section. Ubuntu Tweak is not in the regular repos.

www.liberiangeek.net/.../remove-old-kernels-from-ubuntu-12-10-with-ub\
untu-tweak/

 
Didn't find what you were looking for? Find more on Grub menu culling Or get search suggestion and latest updates.




Tagged: