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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-31-2003, 06:49 PM
|
#1
|
LQ Newbie
Registered: Aug 2003
Posts: 19
Rep:
|
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
|
|
|
08-31-2003, 07:00 PM
|
#2
|
Senior Member
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120
Rep:
|
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
|
|
|
08-31-2003, 07:00 PM
|
#3
|
LQ Guru
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445
Rep:
|
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.
|
|
|
08-31-2003, 07:02 PM
|
#4
|
Senior Member
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120
Rep:
|
Yeah, I forgot the run
lilo
command after you've done what you got to do if it's lilo.conf
|
|
|
09-01-2003, 05:21 PM
|
#5
|
LQ Newbie
Registered: Aug 2003
Posts: 19
Original Poster
Rep:
|
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
|
|
|
09-01-2003, 05:27 PM
|
#6
|
Senior Member
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 10:07 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|