Posted 01 June 2009 - 05:50 AM
You are between a rock and a hard place. Your old HD is bad, but your recovery partition is on that bad HD. Your recovery partition likely has errors as well so using it to restore anything is likely futile. Recovery partitions aren't made to recover from hardware errors.
Install your new hard drive and boot from your recovery CD. If by chance it boots and installs correctly, count yourself very lucky. Usually a restore CD will partition your new HD and create a partition the same size as the original, sometimes you get to pick your own partition size, anyway it is pretty much an automatic operation.
In the event the restore CDs don't work, find an OEM copy of your OS (HP specific) and do a clean install. I could tell you an easy place to find an OS CD, but this forum somtimes frowns upon quasi-legal methods. Get the drivers from HP and burn them to CD so you have them to complete setup.
Just to note, using the last method you won't have all of the preinstalled apps that would have been installed with the "recovery" partition/CDs. One man's preinstalled apps are another man's garbage.
I am a retired Ford tech. Next to Fords, any computer is a piece of cake. (The cake, its not a lie)
3770K @4.5, Corsair H100, GTX780, 16gig Samsung, Obsidian 700 (yes there is a 700)