I strongly suggest that you replace the disk first. I think it's a standard 2.8" SATA part.
If the installation process is coded to refuse to install to a disk whose SMART statistics say that it is failing, then you probably can't install it to a disk whose SMART statistics say that it is failing.