Here's what I'm working with:
- MacBook Pro 8,1 (13-inch, early 2011), High Sierra 10.13.6
- drive is not original to the MBP, it's a Samsung 840 Pro SSD, 500GB, but was swapped out when the machine was near brand-new, so pretty damn old
- one user account (non-admin) no longer appears on login screen
- admin account has missing-keychain errors
- running extremely slowly, application icons don't load into Dock or Finder
- "Can't open System Preferences because the app may be damaged or incomplete" (after long delay)
Booted into safe mode, still running badly, no real difference
Tried to run Apple diagnostics (booting while holding down D) Unable to run diagnostics DEC500 Attempting to run Diagnostics from Apple Recovery
Tried booting while holding down Cmd+S, I thought I was going to get a to a commpand prompt and try "fsck -fy" to fix file system issues, which I suspected because of the missing user account and keychains
Instead it went to a "starting internet recovery" screen then to Apple Hardware Test 3A222
Ran the basic test, result was: Alert! Apple Hardware Test has detected an error. 4xxx/4/40000005: "Battery"
Ran the extended test, results was: Same result but with a 8 downward-pointing caret characters and an apple character before "Battery"
Seems likely the battery error is a red herring; found tons of posts on forums saying that you may this error with any 3rd party battery at any time (this battery is 3rd-party, replaced September 2018)
Booted in install/recovery mode with Cmd+R and ran Disk Utility > First Aid on volume.
First Aid process has failed. If possible back up the data on this volume. error: (oid 0x117225) om: btn:oinvalid o_cksum (0x2ceae87d1d98eca3) Object map is invalid. The volume /dev/rdisk2s1 could not be verified completely FIle system check exit code is 8 Restoring original state found as mounted. File system verify or repair failed. Operation filed.
Removed drive, attached to another Mac via USB/external enclosure
- Disk Utility sees the drive but no volumes under it
- Mount button is disabled
- First Aid says "Problems were found with the partition map that might prevent booting"
shows up like this from
/dev/disk2 (external, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *512.1 GB disk2 1: EFI EFI 209.7 MB disk2s1 2: 7C3457EF-0000-11AA-AA11-00306543ECAC 511.9 GB disk2s2
- tried running mounts from Terminal:
mount /dev/disk2s2 ount: /dev/disk2s2: unknown special file or file system. sudo mount -t hfs /dev/disk2s2 /mnt (after creating /mnt) mount_hfs: error on mount(): error = -1.
- currently trying
ddrescueto create an image and see if that can be mounted with any of the previously-attempted means, just to recover some data.
What could be the issue here? I'm trying to evaluate given all of this, whether I might try to reinstall the OS on this drive, or write it off as too old/definitely failing.
Is it at all possible that the issue with the partition table that seems to have screwed this all up was a random glitch that may be solved by an erase and OS reinstall?