LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Setting GRUB default to load WinXP (https://www.linuxquestions.org/questions/linux-general-1/setting-grub-default-to-load-winxp-29813/)

pilot1 09-07-2002 11:37 AM

Setting GRUB default to load WinXP
 
I installed Red Hat 7.2 on a computer with Windows XP. When I boot it says it will start Red Hat in 10 seconds, unless Windows XP is chosen from the list, how do I make it load Windows XP unless Red Hat is chosen?
Thanks! :)

mikeshn 09-07-2002 03:33 PM

During the installation you must to make Win Xp default OS for booting.


Now you need to modify the "grub.conf" . The file is located at
/etc/grub.conf The file should look like this.

default=0
timeout=10
splashimage=(hd0,5)/grub/splash.xpm.gz
title Red Hat Linux (2.4.18-10)
root (hd0,5)
kernel /vmlinuz-2.4.18-10 ro root=/dev/hda9 hdc=ide-scsi
initrd /initrd-2.4.18-10.img
title Win XP Pro
rootnoverify (hd0,0)
chainloader +1


All times are GMT -5. The time now is 11:04 AM.