Firstly u did not mention the OS on ur iMAc . Considering Mac OS X on ur machine try the following steps to solve ur problem
1. Insert the Mac OS X Install CD or DVD.
2. Restart Mac, immediately after the bong, hold down the C key until the Apple logo appears.
3. When the Installer...