hi Ekim,
have you tried booting from the OS 9 cd?
(this could be a serious problem, I had it once (but I think my problem was worse, because my iMac didn't go further than the '?' and the mac logo, a guy from apple came and solved the problem in about two hours).
-c