LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-29-2008, 01:45 PM   #1
Jayla
Member
 
Registered: Nov 2005
Location: Suffolk, UK
Distribution: kubuntu 9.04
Posts: 188

Rep: Reputation: 30
virtualbox adding items to GRUB boot menu


Hi

I've been playing around with virtual box and have added a few components for it via synaptic

I upgraded kernerl to .17 from .16 a few days back, so had to install the .17 compatible components for virtual box again.

It seems those components have been added to my GRUB boot menu, why is this? and more importantly how can i remove them?

I've attached a screenshot below, I'm still a bit of a newbie with Linux so would really appreciate some advice on how I can clean this up. to boot into linux i select .17-generic, so would be nice to just have that and the safe mode?


http://junk.teamstag.co.uk/files/boot_options.JPG


Please advise..


J
 
Old 05-29-2008, 09:19 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,329

Rep: Reputation: 141Reputation: 141
You have to edit /boot/grub/menu.lst. Just comment out any line you don't want to appear on your grub screen by placing a # in front of the corresponding line in menu.lst you don't want to appear. You need root privileges to edit menu.lst, so I guess with ubuntu that could be accomplished with:

$ sudo gedit /boot/grub/menu.lst

menu.lst will come up in a text editor, gedit, and can be edited like in any word processor. The above command should open gedit with admin privileges so you should be able to edit menu.lst.
 
Old 06-06-2008, 05:32 PM   #3
Jayla
Member
 
Registered: Nov 2005
Location: Suffolk, UK
Distribution: kubuntu 9.04
Posts: 188

Original Poster
Rep: Reputation: 30
for reference :

I found a good GRUB gui editor in synaptic called KGRUBeditor

I was able to clean up (ie remove) listings in the grub menu that I didn't need, you can also set background images/colors to make it pretty!

Deffo worth the install if you need to play around with GRUB

J
 
Old 06-06-2008, 07:53 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,431

Rep: Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055
That (of course) only deletes them from the displayed list. They are all still taking up disk space (do a "ls /boot") - a potential problem if you have a separate boot partition.
Go back into Synaptic and search on "image" in the name. Mark all the ones you want to delete for complete removal.
 
Old 06-07-2008, 05:05 AM   #5
Jayla
Member
 
Registered: Nov 2005
Location: Suffolk, UK
Distribution: kubuntu 9.04
Posts: 188

Original Poster
Rep: Reputation: 30
does that mean i can completely remove duplicates?

like kernel .16 (and .17 as .18 is out)

What I don't really understand is, when you upgrade kernel, why can you still boot into the previous one?

Regards
 
Old 06-07-2008, 05:10 AM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,431

Rep: Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055
It's not a duplicate - it's superceded.
And the reason is called fallback - what would you do if the new kernel failed to boot ???.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding Items to the Menu taichi Linux - Newbie 2 12-06-2005 01:18 AM
adding menu items swmcquig Linux - Distributions 3 09-21-2004 04:28 PM
Adding Menu Items hiteshmaisheri Linux - Software 3 04-09-2004 05:41 AM
adding gnome menu items abs Slackware 4 02-14-2004 04:50 AM
Adding menu items seeone Slackware 2 12-15-2003 10:51 PM


All times are GMT -5. The time now is 07:54 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration