LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 12-28-2010, 03:14 AM   #1
deathlok0000
LQ Newbie
 
Registered: Nov 2010
Posts: 10

Rep: Reputation: 0
removing options from start up (grub)


hello, i installed ubuntu 10.10 netbook edition and it installed fine, i updated everything on and now when it starts i have 2 versions of it to select from 2.6.35-22 and 2.6.35-24 as well as the recovery versions of it. how do i remover these options from the grub menu?

in addition to this i also have a question about updating python on it, its running version 2.6.6 and i need 3.x. how do i upgrade it?

thanks
 
Old 12-28-2010, 03:44 AM   #2
z99
Member
 
Registered: Aug 2009
Location: Iran-Sari
Distribution: CentOS,Fedora,Slitaz
Posts: 136

Rep: Reputation: 20
i think you should just edit the grub.conf file
 
Old 12-28-2010, 03:58 AM   #3
deathlok0000
LQ Newbie
 
Registered: Nov 2010
Posts: 10

Original Poster
Rep: Reputation: 0
ok....how do i do it?
 
Old 12-28-2010, 04:03 AM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Use synaptic to remove the kernel(s) you do not want.
You may then need to run sudo update-grub
Most people prefer to keep at least one ("fallback") kernel version.
 
Old 12-28-2010, 09:00 PM   #5
deathlok0000
LQ Newbie
 
Registered: Nov 2010
Posts: 10

Original Poster
Rep: Reputation: 0
what is synaptic and how do i use it?
 
Old 12-29-2010, 01:50 AM   #6
honeybadger
Member
 
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855

Rep: Reputation: Disabled
Open a console in gui and type 'synaptic' after you have logged in as the root... else go to administation -> package manager -> synaptic. Did you explore the gui atleast?
Comeon, it is the same program/interface with which you downloaded the kernels to begin with.
 
Old 12-29-2010, 10:47 AM   #7
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
Quote:
Originally Posted by deathlok0000 View Post
ok....how do i do it?
Code:
sudo cp /boot/grub/grub.conf /boot/grub/grub.conf-bak
sudo gedit /boot/grub/grub.conf
and comment out any line beginning with title.
 
Old 12-29-2010, 11:03 AM   #8
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by schneidz View Post
Code:
sudo cp /boot/grub/grub.conf /boot/grub/grub.conf-bak
sudo gedit /boot/grub/grub.conf
and comment out any line beginning with title.
That file is not meant to be edited, it is autogenerated and all changes will be discarded the next time any update issues the comnmand update-grub. The correct way to get rid of the entries is in fact to remove the old kernels.

By the way, in Ubuntu the file is named grub.cfg.
 
1 members found this post helpful.
Old 12-29-2010, 06:58 PM   #9
deathlok0000
LQ Newbie
 
Registered: Nov 2010
Posts: 10

Original Poster
Rep: Reputation: 0
right i removed the kernals but the options are still there, thats the only thing that bothered me.my biggest concern is geting python 3. so far i have found 2 different ones and i dont know what they do or which one is correct. i found sudo apt-get install python3 and sudo apt-get install python 3.1.3

the first one is a 12 mb file and the second it 500+ mb which one is correct? i tried installing both but one of them keeps crashing the computer and i dont know which one
 
Old 12-29-2010, 10:46 PM   #10
DragonSlayer48DX
Registered User
 
Registered: Dec 2006
Posts: 1,454
Blog Entries: 1

Rep: Reputation: 75
Quote:
Originally Posted by SilverBack View Post
Open a console in gui and type 'synaptic' after you have logged in as the root... else go to administation -> package manager -> synaptic. Did you explore the gui atleast?
Comeon, it is the same program/interface with which you downloaded the kernels to begin with.
Easy, Tiger... With Ubuntu, kernel updates are issued automatically through the Update Manager.

The *easy* way to remove the menu options is to install Startup Manager from the Software Center. It allows you, among many other things, to choose how many boot options are available at startup.

As for the Python issue- Ubuntu is not the best distro for manually installing software outside of the repositories. That would be Slackware, Debian, or Gentoo, but get ready for a different ride.

Cheers

Last edited by DragonSlayer48DX; 12-29-2010 at 11:03 PM.
 
Old 02-05-2011, 04:45 AM   #11
deathlok0000
LQ Newbie
 
Registered: Nov 2010
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by DragonSlayer48DX View Post

The *easy* way to remove the menu options is to install Startup Manager from the Software Center. It allows you, among many other things, to choose how many boot options are available at startup.
I downloaded it but there isn't and option to remove boot options. I'm a little lost...
 
Old 02-05-2011, 04:50 AM   #12
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
right i removed the kernals but the options are still there, thats the only thing that bothered me.
If they've been removed try:
update-grub
or
sudo update-grub

Grub should not see so it shouldn't list them.

Last edited by EDDY1; 02-05-2011 at 04:51 AM.
 
Old 02-05-2011, 05:00 AM   #13
kindofabuzz
Member
 
Registered: Mar 2010
Location: There
Distribution: Linux Mint 17.1
Posts: 237

Rep: Reputation: 46
for your python question
Code:
sudo apt-get install python3
Or use Synaptic or the Software manager and look for python3
 
Old 02-05-2011, 05:51 AM   #14
deathlok0000
LQ Newbie
 
Registered: Nov 2010
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by EDDY1 View Post
If they've been removed try:
update-grub
or
sudo update-grub

Grub should not see so it shouldn't list them.
updated the grub 2 ways, using start up manager and the way u suggested... its still there
 
Old 02-05-2011, 05:55 AM   #15
deathlok0000
LQ Newbie
 
Registered: Nov 2010
Posts: 10

Original Poster
Rep: Reputation: 0
and thanks kindofabuzz, I got python 3 using your way
 
  


Reply



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
Debian Squeeze: Grub not working (XP removing grub) wearetheborg Debian 10 02-16-2010 05:33 PM
Options Gone at Start-up Firstep Linux - Newbie 7 04-13-2007 01:10 PM
Removing Excess Options on Boot TK587 Debian 1 06-16-2004 01:50 PM
GRUB options Rizla Fedora - Installation 1 03-23-2004 02:19 PM
removing boot options aymbpc Linux - Newbie 5 09-01-2003 04:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:17 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
Open Source Consulting | Domain Registration