Imac doesn't start up MAC OS X after replacing a new Hard disk
Hello,my imac's hard disk was broken. I changed it with a new exactly same type and brand hard disk. After chancing, I tried to format it with mac format dvd, but I couldn't it. When I started the imac, it stuck on apple logo and after 5 minutes shows the folder with question mark. I purchased external enclosure. I formatted a new hard disk with using external enclosure. I mount new hard disk to imac. It still doesn't start up. When I put a new hard disk into enclosure to connect another imac, it shows up. I don't understand what the problem is.
Thanks
iMac, Mac OS X (10.6.8)