When switched on, this iMac would only boot as far as the Apple logo and spinning gear. It turned out to be a problem with corrupt files on the hard drive.