PDA

View Full Version : Having Xp and Redhat



22b
02-14-2003, 09:14 AM
Help!

I have a dual boot system

Linux / WinXP Pro

I think the dual boot is through Grub.

Anyways...here is the problem. When I power my system on...after POST, I get a Redhat screen that asks me to select

Redhat 8.0
or
DOS

How do I swap Dos on top of Redhat. I forget to select windows and it selects the highlighted one 1st by default.

Make sense?

the sticky dual boot did not cover , if you already have linux installed

Thanks

Smizack
02-14-2003, 10:52 AM
Thanks to Titan386 for help with this.


Logging into linux to start.
Type your root password. You are now root.
pico /boot/grub/menu.lst
This should open the file for you. Its possible your file is elsewhere, in which run a search for menu.lst to find its location. You need to add the folllowing lines to the bottom of the file:
title Windows XP
rootnoverify (hd0,0)
chainloader +1

This is assuming that XP is on the first partition of your primary master harddrive.

Once you've added those lines, press ctrl x and hit enter serveral times to verify the promts it gives you. Then reboot and see if it worked.

Here is my menu.lst file for reference. Mine boots from 4 different images, 3 different linux kernels, and windows xp.

# 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 (hd0,1)
# kernel /vmlinuz-version ro root=/dev/hda3
# initrd /initrd-version.img
#boot=/dev/hda
default=3
timeout=10
splashimage=(hd0,1)/grub/splash.xpm.gz
title Red Hat Linux (2.4.19)
root (hd0,1)
kernel /vmlinuz-2.4.19 ro root=/dev/hda3
title Red Hat Linux (2.4.18-10)
root (hd0,1)
kernel /vmlinuz-2.4.18-10 ro root=/dev/hda3
initrd /initrd-2.4.18-10.img
title Red Hat Linux (2.4.18-3)
root (hd0,1)
kernel /vmlinuz-2.4.18-3 ro root=/dev/hda3
initrd /initrd-2.4.18-3.img
title Windows XP
rootnoverify (hd0,0)
chainloader +1

22b
02-14-2003, 11:10 AM
you guys rock!
:D