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 02-04-2003, 03:21 PM   #1
tumnus
Member
 
Registered: Apr 2002
Location: La Jolla, CA
Distribution: Redhat 8.0
Posts: 60

Rep: Reputation: 15
changing grub boot default


in redhat 8 setup for grub, i set "DOS" (win2k) as default boot, but now i want to change it to linux

my grub.conf file says:


# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd1,0)
# kernel /vmlinuz-version ro root=/dev/hdb2
# initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd1,0)/grub/splash.xpm.gz
password --md5 $1$/nɺqF$N0nmiXOQlmrLd.0/hX9qV.
title Red Hat Linux (2.4.18-14)
root (hd1,0)
kernel /vmlinuz-2.4.18-14 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.18-14.img
title DOS
rootnoverify (hd0,0)
chainloader +1

i would assume i want to just change default=1 to default=0, (0 for first title entry, 1 for 2nd, etc?) but i do not want to do anything unless i am sure :P
other than the default thing, the line #boot=/dev/hda points to win (win - hda, linux - hdb), but it is commented out anyway

so how would i switch it to autoboot linux?
thanks :>

sorry for the multiple threads
when i ask 2 in one thread, peopel usually answer one question, expand on that answer, and then stop :P
 
Old 02-04-2003, 03:33 PM   #2
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 372Reputation: 372Reputation: 372Reputation: 372
GRUB default

Yes, all you have to do is change the default statement to:

default=0
 
Old 02-04-2003, 03:53 PM   #3
tumnus
Member
 
Registered: Apr 2002
Location: La Jolla, CA
Distribution: Redhat 8.0
Posts: 60

Original Poster
Rep: Reputation: 15
thanks
 
  


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
Setting password on grub, wha to do after changing default values in /boot/grub/menu. sarajevo Linux - Security 1 08-17-2005 08:01 PM
changing the default in grub hari78 Linux - Newbie 2 06-03-2005 10:43 AM
Changing default OS in Grub .95 gautcha Linux - Newbie 8 05-03-2005 11:30 PM
HELP: changing default OS to boot.... kevingpo Fedora - Installation 4 12-13-2004 01:41 PM
changing grub default boot sbcdivision63 Red Hat 5 11-09-2003 12:55 AM


All times are GMT -5. The time now is 11:07 PM.

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