Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 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
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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .