LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Problem dual-booting into windows xp with Grub (https://www.linuxquestions.org/questions/debian-26/problem-dual-booting-into-windows-xp-with-grub-305720/)

justintime32 03-24-2005 08:05 PM

Problem dual-booting into windows xp with Grub
 
I just installed SimplyMepis today. I have the linux partitions in an extended partition in the beginning of the drive, and a windows partition at the end of the drive. I installed it and it put a grub entry for windows (the windows partition is /dev/hda2), but when I select it and hit enter, the grub screen just reloads in a text based mode... and no matter how many times I select that, it still just reloads the text based grub menu. I don't know where the grub configuration is, so I can't post that here. Could someone please tell me where that config file is, and how to make windows boot again?

audibel 03-24-2005 08:46 PM

The grub config is located in /boot/grub/menu.lst the standard entry for Windows XP is for hda1, and to be honest I don't know how to set it for hda2...

justintime32 03-24-2005 09:22 PM

title Windows at hda2
rootnoverify (hd0,-2)
chainloader +1

is the grub section for windows
can anyone tell me if this is right? If not, how can I install Lilo on mepis (debian)?

short101 03-25-2005 04:15 AM

try removing the - from in front of the 2
yours should read
root (hd0,1)
savedefault
makeactive
chainloader +1
if its on second partition, did you edit that or did that happen when you installed.

lucky9 03-26-2005 12:27 PM

Quote:

Originally posted by justintime32
title Windows at hda2
rootnoverify (hd0,-2)
chainloader +1

is the grub section for windows
can anyone tell me if this is right? If not, how can I install Lilo on mepis (debian)?

Mine is on the second partition and /boot/grub/menu.lst reads

WindowsXP at hda2
rootnoverify (hd0,1)
chainloader +1

Don't know how the ( - ) dash got in there.


All times are GMT -5. The time now is 10:58 AM.