Can't restore files from damaged hard drive in Disk Utility

Questions

1. Can I save my files/fix this issue without having to restore via Disk Utility?

2. What am I doing wrong/can I do to correctly restore to an external hard drive via Disk Utility?


Background

Last week when I turned my 2012 MacBook Pro on I got stuck on the grey login screen. The progress bar moved very, very slowly and when it finished my laptop spontaneously restarted and repeated the same thing over and over. Here's what I've tried to do so far:


-Boot in Safe Mode: doesn't work

-Apple Diagnostics/Apple Hardware Test: Extended Test Results: No trouble found

-Disk Utility (recovery and Internet recovery): Mac hard drive (Apple HDD) and Recovery HD (partition) are not damaged, but partition disk0s2 is (created after a failure about a year ago; not Journaled- if that matters) and when 'verifying' and 'repairing' the latter I receive inconsistent error messages.


Disk Utility Error Messages

Most often I get this error:

The volume disk0s2 was found corrupt and needs to be repaired. Error: This disk needs to be repaired. Click Repair Disk.

Disk Utility stopped verifying “disk0s2”


The volume disk0s2 could not be repaired after 3 attempts.

Error: Disk Utility can’t repair the disk. Back up as many of your files as possible, reformat the disk, and restore your packed-up files.


I also received this error message once:

Incorrect number of extended attributes (it should be 730585 instead of 730589)

Incorrect number of access control lists (it should be 1364 instead of 1368)


Save Files to External Hard Drive?

Prior to this I had not yet used/accessed Time Machine. I have a new external hard drive, formatted for a Mac. I created two partitions: Backup and Time Machine (so I can start using it once I figure this current issue out). When I try to restore disk0s2 to the external hard drive I get a Restore Failure error message (252 or 254, I think).

MacBook Pro, OS X Mavericks (10.9.4)

Posted on Sep 7, 2016 6:42 PM

Reply
15 replies

Sep 7, 2016 7:27 PM in response to KateMadeline

When you drive is damaged, it is extremely difficult to make progress.


I recommend you taker a spare drive in an external enclosure, and install MacOS on it anew. Then boot from that, and you are back in business. You can use the full power of Mac OS AND additional Utilities to attempt to salvage your files.


Over 350,000 of the files on your damaged drive are Mac OS -- and those can be installed in prefect replicas by a new Install on a new Drive. You cannot make a Brute-force "everything" copy of a damaged drive. What you want back from the damaged drive is not the files from Mac OS X -- you want YOUR files. They are stored in the /Users directory in a folder with your User-Short-name. with additional Utilities, you may be able to copy just that directory, or use a salvage program like Data Rescue to obtain individual files.

Sep 9, 2016 2:45 PM in response to Grant Bennet-Alder

Booting in Internet Recovery. I am trying to reinstall Mac OS to the external drive (from main menu options: Restore from Time Machine Backup (I don't have), Reinstall Mac OS X, Get Help Online, Disk Utility).


I'm able to select "Reinstall Mac OS X" and press "continue." A pop up indicates, "to download and restore Mac OS X, your computer's eligibility will be verified with Apple." I say okay and I receive the Installer error.

Sep 9, 2016 7:37 PM in response to KateMadeline

I am not sure what is happening, but your Recovery_HD may be damaged as well as the other parts of your Drive. It is certainly worth a few more tries to see if you can get around it.

If those log messages really are from this recovery Install attempt (correct date&time) I could not find /var/run/systemkeychaincheck.socket anywhere in Recovery_HD to take a look at it.

Sep 13, 2016 9:29 AM in response to KateMadeline

You want YOUR files off the old drive. They are stored in the /Users directory in a folder with your User-Short-name.


The Finder may be able to copy them all in one pass. If not, it may be able to copy most of them in several groups.


If there are essential damaged files in any group, then stronger tools may be required. Data Rescue has a very good reputation for salvaging files off damaged drives. You may also need a tool like that if the drive refuses to mount.

Sep 13, 2016 8:57 AM in response to Grant Bennet-Alder

For my /User file -


Name // Privilege

MacBookExternal (external drive I'm booting from): Read & Write

staff (?): Read only

everyone (?): Read only


I can click on the padlock icon at the lower right corner and "unlock" but that doesn't appear to impact my ability to change permissions.


In subfolders like /documents or /pictures the permissions are:

MacBookExternal: Read & Write

everyone: No access


Get Info for all indicates 'Shared folder' as an option for selection (but currently not checked) and 'Locked' as greyed out and not selected/available for selection.

Sep 13, 2016 9:39 AM in response to KateMadeline

I am not following what you are saying. I want to be sure we are talking about the old, damaged drive.


I wanted to know what the permissions on the files inside the folder:


/User/<your-old-id>

... folder were. There should be

(single-person-Icon) account-owner-name | permission ... this is the Account Owner

(two-person-Icon) group-username | permission ... this is the Group that has direct access to this file

(many-person-Icon) everyone | Permission ... this is the rights of Everyone (regardless of user-ID)


In the folders above, you did not report what is listed for the file Owner. This is sometimes reported as the word "You" when your current logged-in Account is the Owner, and sometimes System or another User-name.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Can't restore files from damaged hard drive in Disk Utility

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.