Help for advanced use of fsck to repair a disk
I have a PPC PowerBook 17" from 2005 running Leopard that has worked like a CHAMP for all these years. I have to upgrade, because I'm tired of all the incompatibilities, but hope to keep it going until the end of the year for financial reasons. Problem is, it has a disk problem and Repair Disk fails.
I ran Apple diagnostics from my original system install disk. It failed: Mass Storage - error detected Error code 2STF/8/3:ATA-100 ata-6 - Master
Tried to boot into Safe Mode but it just dies after a while.
Booted into Single User Mode to run /sbin/fsck -fy and results are:
...Checking catalog file
disk)s3: I/O error
invalid key length
(4,17766)
** volume check failed
/dev/rdisk0s3 (hfs) EXITED WITH SIGNAL 8
ran the command again with identical results. I was hoping to see some change in the error code.
The computer does boot and run "normally". I have a full Time Machine backup but can't figure out how to restore. Have other backups as well, but want to fix this disk problem before I go erasing and reformatting anything. It's at least working now. I seem to remember that fsck takes additional parameters, including telling it to use an alternate superblock (is 32 still an alternate superblock - used to be in BSD) - would this help? Can anyone advise me on the correct parameters for repairing the drive from Single User Mode?
What version of Unix is the OS based on? Is it BSD?
PowerBook