I am trying to fix a computer for a friend. It won't start up Windows. It is a HP Pavilion a6319fh and has Vista on it (I'm not sure which version and the user doesn't know). The pc starts and gets as far as a blue screen (not the BSOD, but a deeper blue), the mouse works, but Windows won't load. I have tried to use a Start-up CD, the Vista Boot Disk created by the user, the System Restoration from the recovery partition of the hard drive, all with exactly the same result. I have tried to boot off a Windows XP CD, and the CD started loading windows files, then erred with a BSOD stop code 7B. The hard drive is a Seagate ST3360320AS.
I am able to run the HP diagnostic and get the error code BIOHd-4 "Uninitialized/corrupt boot structure detected."
I am able to boot in Ubuntu, and access files on the hard drive, but I don't what, if any, changes to make or which files to modify.
How can I get this pc running again?