Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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'm new to Ubuntu 12.04. I installed Windows XP (sp3) first, then Ubuntu alongside. Ubuntu boots well but when I choose Win XP from the boot menu it goes to a black screen and then returns to the boot menu

I performed boot-repair and get this log. Boot Summery log form boot-repair

But this didn't solve my problem and don't know what can I do.

I tried to run the fixmbr command to recover the boot record. I inserted Windows XP CD and booted from CD, but it doesn't sense my windows installation.

Update Recovery Console won't load to press R for repair boot sector

share|improve this question
Because of the "corrupted" PBR, Windows repairs will not work. Windows has to see a NTFS partition and with grub installed into the PBR it is not a valid NTFS partition. If you use testdisk to restore a default NTFS, only then will Windows repairs work. Better just to restore backup if backup is valid. – oldfred Jan 2 '14 at 17:33

You installed grub2's boot loader to the PBR or partition boot sector of Windows. Windows has to have its boot code in its NTFS partition.

Fix for most, a few have other issues, better than windows fix in many cases as it also fixes other parameters:

This has instructions on using testdisk to repair the install of grub to the boot sector for windows from Ubuntu or Linux LiveCD.

You want to get to this screen:

OR: [HowTo] Repair the bootsector of a Windows partition - YannBuntu

share|improve this answer

Finally & unfortunatly delete all partition and do same do as do first, but it works! first install windows and next install ubuntu 11 and dual boot now work! the only difference was this: windows xp first copy files next restart and install windows. when it copy and reboot to continue installation and sure boot record works, i prevent to continue and install win. I reboot from cd and install ubuntu 11 alongside and after that complete installation of windows xp. now both OS boot well.

share|improve this answer

Your Answer


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.