I just fixed this same problem on my HP dv6700. It turned out to be overheated ram. I ran the computer on just one dimm and it booted and ran fine. I then just switched the two dimm sticks in their slots and the laptop was back to working fine. Sometimes you get lucky.