I have an OsX installation that doesn't get past the apple logo. The progress bar loads and then shuts down midway.
I have rebooted as single user mode and noticed that
/sbin/fsck -fy complained that the disk was full. So I deleted some fairly large files and reclaimed > 15% of disk space and ran:
fsck_hfs -rft /dev/rdisk0s2
Now, I get the following error messages:
Executing fsck_hfs (version 305.10.1). Checking Journaled HFS Plus volume. The volume name is Macintosh Checking extents overflow file. Checking catalog file Rebuilding catalog B-tree Rechecking volume Checking extents overflow file Checking catalog file Checking multi-linked files. Checking catalog hierarchy Invalid volume directory count (It should be 136231 instead of 136234) Checking extended attributes file. Checking volume bitmap. Checking volume information. Repairing volume Rechecking volume .... .... The volume Macintosh could not be repaired after 3 attempts.
I have tried rerunning
fsck_hfs several times, but it does not change the message. The invalid directory count remains.
I've tried booting the repair disk to run DiskUtility, but not surprisingly, this has the same error information as well, with the additional error message:
File system check exit code is 8 Updating boot support partitions for the volume as File system verify or repair failed.
How can I fix this? How do I get fsck to rebuild/reset the directory count? I cannot believe that the installation is toast simply due to an invalid directory count?