Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-04-2003, 04:21 PM   #1
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
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, 04:33 PM   #2
Senior Member
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
GRUB default

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

Old 02-04-2003, 04:53 PM   #3
Registered: Apr 2002
Location: La Jolla, CA
Distribution: Redhat 8.0
Posts: 60

Original Poster
Rep: Reputation: 15


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 09:01 PM
changing the default in grub hari78 Linux - Newbie 2 06-03-2005 11:43 AM
Changing default OS in Grub .95 gautcha Linux - Newbie 8 05-04-2005 12:30 AM
HELP: changing default OS to boot.... kevingpo Fedora - Installation 4 12-13-2004 02:41 PM
changing grub default boot sbcdivision63 Red Hat 5 11-09-2003 01:55 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:38 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration