OP, you'll have to be a bit more specific about your particular model and whatever other kind of other information you might think is helpful.
For instance, why did you have to replace the hard drive cable? Is it possible that your original hard drive is dying? Those PATA mechanical drives are now anywhere from 7 to 10+ years old. If they don't have bad sectors, they surely at least have wear and tear just from sheer old age. If an older computer is running unbearably slow and pulling up errors during the install, it's likely the drive is on its way out.