and boot from the OS X installation CD or the CD's that came with it.
If it does not boot from the CD, let us know.

Perform an Archive and Install and all should revert to normal again.
All your data will be preserved.

Do NOT do a FORMAT and Install, all your data will be lost.