How to copy entire MacHD

The hard drive on my iMac (2011 running High Sierra 10.13.6) has failed.

I have been able to restart it by installing MacOS Sierra onto an external hard drive and booting it that way.

In Disk Utility the amount of data used used / free on the internal hard drive shows up. When I go to Finder there is a no entry logo on all my files. When I go to Get info I can’t make any changes to access (it all stays grey).

When I highlight MacHD and try File/new image/Image from Mac HD the external hard drive does not show up in devices.

Can someone please tell me how I can retrieve my data from the Mac HD as it’s so important and I don’t have any other back ups.

Thank you.


Posted on Aug 27, 2021 12:44 AM

Reply

Similar questions

5 replies

Aug 27, 2021 7:01 PM in response to hugofromlondon

Since you can access the Terminal in Recovery, try this at the command entry point:


cd /volumes/whateveristhenameofyourvolume


In most cases your volume will still be called Macintosh HD. If it is the command would be


cd /volumes/Macintosh\ HD


(There's a space after the forward slash)


You may have a Fusion drive where your drives may have split, so you would see both a Macintosh HD and a Macintosh HD - Data drive, in which case you'd have to access the data drive:


cd /volumes/Macintosh\ HD\ -\ Data


Either way, when you get to the HD, type:


ls


(lower case L and s for "list directories") You should get a listing of the directories on the top level of your hard drive. If the data isn't completely lost you should see a few directories including "users".


Type:


cd /users


to change to the "users" directory then another "ls" and see if you see your user name directory exists. If it does then "cd" to that directory and run another "ls" to see if your data is there.


Let me know what happens.


Aug 28, 2021 12:37 AM in response to sheldonc

Hi Sheldon


I have followed your instructions.


Directories that came up under Macintosh HD:

Applications - Incompatible software - Library - Network - System - User Guides and Information - Users - Volumes - bin - cores - dev


Under users it lists Shared with my name next to it. When i cd /Shared it says No such file or directory. When I cd /my name it also says No such file or directory

Aug 28, 2021 10:52 AM in response to hugofromlondon

Hi!


Well it sounds like you made good progress. Usually it says "No such directory" is because you haven't typed the directory in as it is exactly, including capitalization or it has any characters, like an apostrophe. You can try using a wildcard if the directory name is oddly formed, like for a directory called "Windy's" you might have all sorts of trouble with the apostrophe. As long as it's the only W directory try:


cd W*


And that would get you there.


Aug 27, 2021 2:37 AM in response to sheldonc

Hi Sheldon


Thanks for taking the time to reply. In response to your questions:

  1. I have tried Recovery mode. Message box when I used Disk Utility: "macOS can't repair the disk "Mac HD" You can still open or copy files on the disk. Back up the disk and reformat it as soon as you can". That's why I'm searching for ways to back up the disk.
  2. I've tried connecting the iMac to my MacBook Pro (mid 2010) using a thunderbolt cable. I can get the iMac in tdm (grey screen with thunderbolt and firewire icon) but it does not show up on the connected MacBook Pro.
  3. When I tried to call my local Apple store (Bristol) the call re-routed to your helpdesk (where it was confirmed to me that I could connect both my machines via a thunderbolt cable..which is why I bought one.
  4. Ok, noted.
  5. I used Terminal to get a copy of Sierra OS onto my external hard drive. I have then been able to boot the iMac from that external drive. I will look up Unix commands
  6. OK

Aug 27, 2021 1:56 AM in response to hugofromlondon

Hello hugofromlondon;


It sounds like your iMac may have had a complete hard drive failure. If it has completely failed, your data may be lost. But, there are still steps you can do to try to retrieve your data.


First, what happens if you try to start your iMac? Do you get the "?" symbol? Was there anything significant that happened before your hard drive stopped working?


1) Have you tried running your iMac from the Recovery Mode? Restart your iMac and hold down the command and R keys, and a spinning globe may appear, then it will ask what language you want to use. After selecting that, you will be presented with a dialog box that has a choice of Disk Utility. Try running Disk Utility and see if it will repair the disk. If it succeeds see if you can restart the iMac to the Desktop. If you can, immediately back up your data to an external device.


2) If Recovery mode fails, you can try putting the problem iMac into Target Disk Mode. With Target Disk Mode you’ll need two Macs, each Mac needs either a Thunderbolt port or a Firewire port. While both Macs are off, connect them with the cable. On the problem Mac hold down the "T" key while it starts up. A Firewire symbol should appear on the screen. Start up the connected Mac and, if everything is successful, your iMac should show up as a hard drive on the attached computer. You should be able to backup your data from that point.


3) Make an appointment with a technician at an Apple Store. They can run some tests to see if your hard drive has failed.


4) There are some third-party companies that make software that may be able to access and retrieve your data. I have not used any recently, so I cannot recommend any.


5) Depending on your experience with the Terminal, if you managed to get into the Recovery Mode, Terminal is accessible from there. Using the command line in Terminal you can look for your hard drive and, if accessible, copy your files to an external drive. This requires some knowledge of basic Unix commands, which can be looked up on the Web.


6) If the data is really important, you can take it to a hard drive recovery company. This is an extremely expensive and time intensive solution, but if the data is highly important, it may be worth it.


Good luck!


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.

How to copy entire MacHD

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