After a surprise power outage a few days ago (one of the many joys of living out in the fringes of civilization
), I'm having some trouble with HD errors on my Gentoo box. During startup, fsck will see the errors and attempt to fix them, but without any luck, and I'm stuck with the choice of either rebooting or dropping out of the init system and fixing the problem manually.
The only problem is that the tools to fix the errors is on the root partition, which has to be unmounted to be checked for errors.
I've managed to find an old Knoppix disk (v3.1) and tried runing fsck on the partition in question, but here's what I get every time:
# fsck -p /dev/hdb3
fsck 1.30-WIP (30-Sep-2002)
Could not determine filesystem type for /dev/hdb3
fsck: fsck.auto: not found
fsck: Error 2 while executing fsck.auto for /dev/hdb3
How can I fix my poor Gentoo box with Knoppix?