If it's a software issue, boot the ibook holding down the COMMAND and the S keys until you see a black screen with white text then type:

fsck -f

This will check your system integrity and do the repairs if needed.

At the end of the processus a message should tell:

<<The volume (name of the hard drive) appears to be OK>>

If you have an other message redo the fsck -f action again.

When the repair is done type:

reboot

and press on the RETURN key.

If the problem is a failing hard drive this procedure will be no help. If so you should find a way to boot the ibook from an external source (firewire hard drive or firewire optical drive)to check the internal drive with Disk Utility.