There is No universal rule.
Some times it simply works. If the combination new Mobo chipset can self correct to read the HD past the initial boot you might have few ghosts in the device manager but it is possible to correct it.
Otherwise if you have two cpmputers that are Networked there is away that insure 98% success.
I put the hard drive in an other computer as an addtional data drive and back it up with Acronis Echo, to a space on the second computer.
Then fix the old computer, and put the HD back in, and try to boot as is.
If it does not work I boot with Acronis Echo for workstation CD, and ghost back the backup using the Universal option of Echo.
The Universal option automatically strips the Old drivers and install working drivers.
There might be some ghosts that need to be repaired but in 98% of time the old drive with all the application and data would be working again as before on the repaired computer.
Why I use this method?
Putting aside the time that it takes to Fix the hardware (since it is the same No matter what) the above method takes an hour (a little more if the HD is loaded with hundreds of GB) and I am back to where I was.
Fresh Install, rebuilt the applications, and data pool, and every thing else on my system, can take me two days.
.