My iMac Completely Frozen and Can’t Boot from Install Disc

My iMac is completely frozen and need your help to fix it. It has got the Mac OSX Leopard system and when I press the power button it takes about 7-8 minutes to load. Though I can see all the programs but everything is hanged.
Only the mouse is working, but the keyboard is dead. I have tried to boot from CD but only can see a message ‘waiting for root device’ also tried in safe mood, but it freezes on the login screen. I can boot with Windows Live CD and checked the drive, but no error found.
I am out of option and need your help.
