I'm using a HP pavilion DV7-3120ed laptop running fully updated and genuine x64 Windows 7.
Last time I used it, it worked like a charm. When I tried to turn on the computer the next day, it said "Starting windows" but didn't show the logo splash and then went to startup repair but never made it past 'attempting repair'. I am able to access the BIOS, and the diagnostic log shows error codes 0303 and 0305.
Google told me these codes mean the hard drive needs to be replaced. However, when I booted Ubuntu from a usb stick, I was able to access the hard drive and the files on the computer. Therefore, the hard drive is working.
I tried booting in Safe Mode, which results in an on-screen list of processes being started. It gets up to Amdide.sys, hangs for a while and shuts down, only to reboot and start the whole process again.
I suspect there may be a registry error, but wouldn't know where to start looking for one. ClamTK (open source antivirus/antimalware app for ubuntu) didn't find any infections or corrupt files. a
Any help would be greatly appreciated. I couldn't locate any logs or I'd have posted them, and obviously taking screen caps isn't an option when Windows doesn't boot. I will try to answer any questions to the best of my abilities.
UPDATE: just tried booting to safe mode with command prompt, the screen paused at Amdide.sys again, went back to the windows splash (but still didn't show the logo, just the "copyright Microsoft" line and the green loading bar. then it went to the blue background which ususally shows behind startup repair, but didn't actually open startup repair. It's just the blue background with a cursor. Tried every key combination in the book (alt+f4, ctrl+alt+del, all the f-buttons) but no joy.
edit: corrected laptop model
edit: added update
Edited by Tijmen, 06 April 2015 - 06:08 AM.