LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 11-07-2003, 05:08 PM   #1
sbcdivision63
Member
 
Registered: Oct 2003
Posts: 61

Rep: Reputation: 15
changing grub default boot


ok im trying to figure out how to change the grub to boot into windows xp by default. as much as i like linux alot better theres just too much stuff i need to do for school on xp (visual c++). what do i have to do to my grub.conf file to make xp load by default? i think maybe change the "default =1" to "default=0" for the other hd? i dunno heres my grub.conf tho:


# 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
title Red Hat Linux (2.4.20-20.9)
root (hd1,0)
kernel /vmlinuz-2.4.20-20.9 ro root=LABEL=/ hdd=ide-scsi
initrd /initrd-2.4.20-20.9.img
title Red Hat Linux (2.4.20-20.9smp)
root (hd1,0)
kernel /vmlinuz-2.4.20-20.9smp ro root=LABEL=/ hdd=ide-scsi
initrd /initrd-2.4.20-20.9smp.img
title Windows XP
rootnoverify (hd0,0)
chainloader +1
 
Old 11-07-2003, 07:19 PM   #2
Eqwatz
Member
 
Registered: May 2003
Distribution: Slack Puppy Debian DSL--at the moment.
Posts: 341

Rep: Reputation: 30
I believe it would be default=3. (Although hitting the arrow button twice and hitting enter doesn't seem that much trouble to me.)

XP is the third title, unless I counted wrong. I'm bloated on spaghetti, and can't think--and I have the hiccups, so the screen keeps bouncing around. I told you more than you wanted to know, didn't I?

P.S. Do you have a multiple processor machine? Why else would you have a smp kernal?
 
Old 11-08-2003, 05:01 PM   #3
skate
Member
 
Registered: Aug 2003
Location: Bulgaria
Distribution: OpenSuse 10.3, Debian 4.0r3 "Etch", FreeBSD 7.1, Ubuntu
Posts: 210

Rep: Reputation: 30
What is your distribution ?? RedHat and Slackware actually have an grafical interface for Boot Loader options..on its Control Panel ';] You must run it and to change the OS (If you find it)
 
Old 11-08-2003, 07:20 PM   #4
Eqwatz
Member
 
Registered: May 2003
Distribution: Slack Puppy Debian DSL--at the moment.
Posts: 341

Rep: Reputation: 30
When did they add that? I knew I should have re-read the docs this year. I haven't kept up. Sorry.
 
Old 11-08-2003, 08:07 PM   #5
sbcdivision63
Member
 
Registered: Oct 2003
Posts: 61

Original Poster
Rep: Reputation: 15
i have red hat 9, and no its not alot of work to hit the down arrow but sometimes i just turn my computer on and jump in the shower and itd be nice to go right into windows. and where is this gui on the menu?
 
Old 11-09-2003, 12:55 AM   #6
skate
Member
 
Registered: Aug 2003
Location: Bulgaria
Distribution: OpenSuse 10.3, Debian 4.0r3 "Etch", FreeBSD 7.1, Ubuntu
Posts: 210

Rep: Reputation: 30
RH has an Control Center ...and there you will find the Bood Loader Configuration...;]
 
  


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
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 boot default tumnus Linux - Newbie 2 02-04-2003 03:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 12:02 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