Restore Windows 7 MBR
If you installed Windows XP after Windows 7, you’re left with the XP-MBR on your drive and thus only XP is booting. If you happen to have hardware, which produces the Code 5 error upon trying to boot from the Win7-DVD, you can do the following to restore the Win7-MBR from within XP: