My brother's iMac desktop hard drive has failed. I cleaned the drive after seeing an unfixable error. It is not able to reinstall the OSX due to the error. I am thinking about buying and installing a new SSD. I have built my own PC and worked with apple devices, so I don't think the hardware will be an issue, but I don't have the original OSX disk, and there isn't an Apple store within 3 hours of my home. Does an iMac automatically partition a space for OSX when it detects a fresh drive and will I be able to download the OSX via wifi? Any info is appreciated, thanks!