After you disconnected the iPod from the iMac, did the iMac boot up okay?
It could be an indication or a damaged or dying hard drive. I would recommend doing a disk diagnostic on the iPod's HD using the instructions given by turingtest2 in this older thread. He also covers what the resulting numbers indicate.
If necessary, post the resultings numbers and we can verify what the next steps to take.