LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   not able to boot to windows (https://www.linuxquestions.org/questions/linux-newbie-8/not-able-to-boot-to-windows-613787/)

s.bal 01-15-2008 03:03 PM

not able to boot to windows
 
hi

i have 80 gb hdd , i have installed redhat linux on a partition of 16 gb and windows on ther partition , here is the grub.conf , i am not able to boot to windows , please help...Urgent

# 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,0)
# kernel /vmlinuz-version ro root=/dev/hda3
# initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux Server (2.6.18-8.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-8.el5 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.18-8.el5.img
title windows xp
rootnoverify (hd0,4)
makeactive
chainloader +1

bigrigdriver 01-15-2008 04:09 PM

Change the entry for windows in your grub.conf from this
Code:

title windows xp
rootnoverify (hd0,4)
makeactive
chainloader +1

to this
Code:

title windows xp
map (hd0,0) (hd0,4)
map (hd0,4) (hd0,0)
rootnoverify (hd0,4)
makeactive
chainloader +1

Reason: windows want's to be in the first partition of the first hard drive. The map lines tell windows a white lie, and windows isn't smart enough to know the difference.

Zmyrgel 01-15-2008 04:10 PM

Are you sure about partition number?

wildcat22 01-15-2008 04:11 PM

Need a little bit more information.

Are you seeing the GRUB menu when you boot? If you are, what happens after you select Windows XP?

If you aren't seeing the GRUB menu, increase the "timeout" field. Make it at least 10, probably 15 or 20, just to make sure you see it.

If you are going directly into Red Hat without the grub menu, I suggest running grub-install. You can search Google for some instructions on this.

s.bal 01-18-2008 01:31 AM

Thanks Buddies for help...i started my pc from scratch...installed windows in 1st partition and Linux in other ...got it working....


All times are GMT -5. The time now is 09:54 AM.