I don't remember which version of OS X you've got on your iBook, but if it's compatible, have you tried these boot options?
Start up from macOS Recovery
macOS Recovery installs different versions of macOS depending on the key combination you press while starting up. Hold down one of these combinations immediately after pressing the power button to turn on your Mac. Release when you see the Apple logo or a spinning globe.
Command-R
Reinstall the latest macOS that was installed on your Mac, without upgrading to a later version.1
Option-Command-R
Upgrade to the latest macOS that is compatible with your Mac.2
Shift-Option-Command-R
Requires macOS Sierra 10.12.4 or later Reinstall the macOS that came with your Mac, or the version closest to it that is still available.
1. If you're selling or giving away a Mac that is using OS X El Capitan or earlier, use Option-Command-R to make sure that the installation isn't associated with your Apple ID.
2. If you haven't already installed macOS Sierra 10.12.4 or later, Option-Command-R reinstalls the macOS that came with your Mac, or the version closest to it that is still available.
Maybe it's just your HDD that's deceased, not the entire computer.