Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have ubuntu 8.10 & Windows XP installed on my PC. I formatted the C:\ partition and installed a new fresh copy of Win XP.

After that I was not able to login to ubuntu 8.10. It is clear that Win XP overwrote the MBR.

I tried to re-install the boot loader (Grub) again by boot ubuntu 10.10 CD. Finally, I was able to boot both ubuntu version 8.10 and 10.10. However, I was not able to boot Win XP.

There is an entry in grun menu of ubuntu 10.10 specific for WinXP, but when I press enter to boot Windows I get back to grub menu.

Any idea?

share|improve this question

migrated from serverfault.com Oct 27 '10 at 14:48

This question came from our site for professional system and network administrators.

    
Can you please add the output of 'sudo fdisk -l' and the content of '/boot/grub/menu.lst' to your question? –  Bobby Oct 27 '10 at 14:58
    
When you're in the grub menu, also click e to edit the windows entry and let us know what it says. –  socken23 Nov 1 '10 at 15:43

1 Answer 1

up vote 1 down vote accepted

edit your grub.conf you will find windows xp grub menu and put this

title windows xp
root (hd0,1)
savedefault
makeactive
chainloader +1

check this link http://www.cyberciti.biz/faq/grubconf-for-windows-vista-or-xp-dual-boot/

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.