LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   changing grub default boot (https://www.linuxquestions.org/questions/red-hat-31/changing-grub-default-boot-113557/)

sbcdivision63 11-07-2003 05:08 PM

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

Eqwatz 11-07-2003 07:19 PM

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?

skate 11-08-2003 05:01 PM

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)

Eqwatz 11-08-2003 07:20 PM

When did they add that? I knew I should have re-read the docs this year. I haven't kept up. Sorry.

sbcdivision63 11-08-2003 08:07 PM

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?

skate 11-09-2003 12:55 AM

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


All times are GMT -5. The time now is 08:46 PM.