LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Lost XP in Grub (https://www.linuxquestions.org/questions/linux-newbie-8/lost-xp-in-grub-437990/)

gdeshazo 04-23-2006 08:42 AM

Lost XP in Grub
 
After installing Debian I had 2 xp lines on mbr. I tried to delete second entry and nothing happened. I tried to delete first entry and lost both. How do I get XP back?

b0uncer 04-23-2006 08:57 AM

My XP setting in /boot/grub/menu.lst is as follows:

Code:

title          Microsoft Windows XP Home Edition
root            (hd0,1)
makeactive
chainloader    +1

add that to the bottom, it ought to do it. Just remember to change the (hd0,1) to respond the correct partition where your XP is at.

gdeshazo 04-23-2006 01:08 PM

Lost XP in Grub
 
Thanks for your help. I can select Windows XP, but I get a screen that shows:
root (hd0,1)
Filesystem type unknown, partition type 0x7
makeactive
chainloader +1


NTLDR is missing

btmiller 04-23-2006 01:17 PM

Is your XP partition on hd0,1 (second partition of the first hard drive)? GRUB number drives/partitions for zero and you need to make sure you tell it the correct partition to boot off of, as b0uncer said. If you can't figure it out, post an "fdisk -l /dev/hda" for your hard drive ("fdisk -l /dev/sda" if your drive is SCSI or SATA).

gdeshazo 04-23-2006 01:57 PM

Thank you! Problem solved.


All times are GMT -5. The time now is 07:46 AM.