LinuxQuestions.org
Help answer threads with 0 replies.
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 08-31-2003, 05:49 PM   #1
aymbpc
LQ Newbie
 
Registered: Aug 2003
Posts: 19

Rep: Reputation: 0
removing boot options


Hi
While loading red hat linux by mistake i loaded a couple of kernels.Now while booting up it gives me a list of options along with windows option.I just want to options
1> windows
2>red hat linux.
Can someone please tell me how can i get rid of those extra options what i get.
Since i am new i would appreciate if told detailed step by step process.
Thank you
Ajay
 
Old 08-31-2003, 06:00 PM   #2
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
as root in Red Hat as far as I remember in

/boot/grub/

open

grub.conf

in a text editor and comment out the ones you don't want with #
and change your default if necessary

Same principle if using lilo, find lilo.conf and do the same
 
Old 08-31-2003, 06:00 PM   #3
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 46
You do this as root:

If you are using LILO:

pico /etc/lilo.conf

remove the entries you dont want.

Then save and exit.

then run "/sbin/lilo" to update LILO with the new config.


If you are using GRUB:

pico /etc/grub.conf

remove the entries you dont want.

Then save and exit.

You do not have to rerun grub.



If you dont have Pico, install the PINE RPM. It should be on your discs.
 
Old 08-31-2003, 06:02 PM   #4
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
Yeah, I forgot the run

lilo

command after you've done what you got to do if it's lilo.conf
 
Old 09-01-2003, 04:21 PM   #5
aymbpc
LQ Newbie
 
Registered: Aug 2003
Posts: 19

Original Poster
Rep: Reputation: 0
Hi
Thank you very much.But can someone just let me know which line in the grub.conf file indicates which operating system is the default one selected.
Previously Windows was the default one highlighted.But now after removing some of the options Linux is the default one which is highlighted.
Thank you
 
Old 09-01-2003, 04:27 PM   #6
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
As far as I recall they'll be a line

like
Default=0

or
Default 0

just change the number to the one you want taking into account that the numbering starts at zero not one.
 
  


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
wireless Keyboard not working to select boot options (Grub boot loader) psrini_vasan Fedora 7 12-16-2009 05:45 PM
3 boot options nc3b Slackware - Installation 3 08-27-2005 04:05 PM
Grub boot loader menu shows two linux boot options pramos Linux - Newbie 3 09-12-2004 11:40 PM
Removing Excess Options on Boot TK587 Debian 1 06-16-2004 01:50 PM
boot options catscan Linux - Software 3 09-22-2003 05:07 PM


All times are GMT -5. The time now is 09:51 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration