Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

Update:
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 at 17:33
add comment

2 Answers

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.

http://sourceforge.net/apps/mediawiki/bootinfoscript/index.php?title=Boot_Problems:Boot_Sector

You want to get to this screen:

http://www.cgsecurity.org/wiki/TestDisk_Step_By_Step#NTFS_Boot_sector_recovery

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

https://help.ubuntu.com/community/BootSectorFix

http://ubuntuforums.org/showthread.php?t=1926510

share|improve this answer
add comment

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

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.