Make sure the hard drive is of the same producer and it has a temp sensor connector. It's the only way to ensure that the heat sensor connector will fit into the hard drive's socket. If you don't plug in the temp sensor iMac's HDD Fan will rotate at its maximum speed, ie. over 6000 rpms - the noise is extraordinary!!!