LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 10-07-2010, 10:43 AM   #1
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,025

Rep: Reputation: 34
How to Edit Clean up boot screen menu


I have a simple question, what is the best way to clean up or edit my boot screen menu on Ubuntu...?

I'm running 2.6.32-25-generic #44-Ubuntu SMP UTC 2010 x86_64 GNU/Linux.

I have run about 5 upgrades and the older Kernels still show up.

Thanks,

d-1
 
Old 10-07-2010, 10:47 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,652

Rep: Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536
Uninstall the old kernels
 
Old 10-07-2010, 10:58 AM   #3
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,025

Original Poster
Rep: Reputation: 34
I have, but they still show up in the menu.

Now with Mandriva when you uninstall the older kernels, the older kernels on boot menu are removed, but not with ubuntu.

Thanks for jumping in.

d-1


Quote:
Originally Posted by AlucardZero View Post
Uninstall the old kernels
 
Old 10-07-2010, 11:06 AM   #4
eveningsky339
Member
 
Registered: Mar 2010
Location: Western Maine
Distribution: PCLinuxOS (LXDE)
Posts: 466

Rep: Reputation: 51
I fixed the problem in Karmic by removing the kernels (including the kernel headers) via synaptic. In Lucid old kernels don't even show up on boot, probably because of plymouth...
 
Old 10-07-2010, 11:23 AM   #5
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,652

Rep: Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536
Quote:
I have, but they still show up in the menu.
Errr, something went wrong.

Double-check you removed the old kernels, and not, for example, only their headers.

If they're really not installed, manually edit the grub config file (/boot/grub/menu.lst or /boot/grub/grub.cfg) and remove their stanzas (if they come back later.. the kernels are not removed).
 
Old 10-07-2010, 11:30 AM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,650
Blog Entries: 2

Rep: Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095
Quote:
Originally Posted by AlucardZero View Post
manually edit the grub config file (/boot/grub/menu.lst or /boot/grub/grub.cfg)
Any changes made to /boot/grub/crub.cfg will be lost the next time any update will call update-grub.
 
Old 10-07-2010, 11:30 AM   #7
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,652

Rep: Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536
Quote:
Originally Posted by TobiSGD View Post
Any changes made to /boot/grub/crub.cfg will be lost the next time any update will call update-grub.
This is correct, thus the rest of my sentence.
 
Old 10-07-2010, 11:49 AM   #8
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,025

Original Poster
Rep: Reputation: 34
Thanks eveningsky and AlucardZero, My problems was, I uninstalled Kernel Headers from the Ubuntu Software control center and not the actual kernel image from synaptic. Once I went to synaptic I found the 3 older kernels checked them for removal and the boot menu now just shows the most current kernel and not the clutter of the older kernels.

I appreciate your help....!

d-1



Quote:
Originally Posted by eveningsky339 View Post
I fixed the problem in Karmic by removing the kernels (including the kernel headers) via synaptic. In Lucid old kernels don't even show up on boot, probably because of plymouth...

Last edited by dolphans1; 10-07-2010 at 11:53 AM.
 
Old 10-07-2010, 02:10 PM   #9
eveningsky339
Member
 
Registered: Mar 2010
Location: Western Maine
Distribution: PCLinuxOS (LXDE)
Posts: 466

Rep: Reputation: 51
Quote:
Originally Posted by dolphans1 View Post
Thanks eveningsky and AlucardZero, My problems was, I uninstalled Kernel Headers from the Ubuntu Software control center and not the actual kernel image from synaptic. Once I went to synaptic I found the 3 older kernels checked them for removal and the boot menu now just shows the most current kernel and not the clutter of the older kernels.

I appreciate your help....!

d-1
Thought that was it. Mark the thread as SOLVED and let's celebrate.
 
Old 10-07-2010, 07:20 PM   #10
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,025

Original Poster
Rep: Reputation: 34
Where does one mark it solved? I never knew a user could do this without admin functions.

d-1

disregard, I found the tool menu to do it..

d-1

Last edited by dolphans1; 10-07-2010 at 07:23 PM.
 
  


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
Edit GRUB menu shown at boot? allele Linux - Newbie 3 06-24-2009 05:21 PM
Right way to edit /boot/grub/menu.lst ? eeried Linux - Software 2 02-07-2007 09:59 AM
how to edit boot menu and add new hardware? flowerman Solaris / OpenSolaris 1 01-09-2006 02:53 AM
how to edit boot menu and add new hardware? flowerman Solaris / OpenSolaris 1 01-08-2006 05:51 AM


All times are GMT -5. The time now is 09:32 AM.

Main Menu
Advertisement
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