Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My mac recently gave up and I'm trying to salvage whatever data I can from the hard drive. I was able to boot using the OSX Installation CD and fire up Disk Utility that basically told me that the drive could not be repaired and I need to format it. My question - how can I manually mount it (from Terminal) and try to recover some of my data? I figured that if Disk Utility can see it, perhaps I could too. Thanks.

share|improve this question

To mount disks:

diskutil list

see your drive and note id#, then:

diskutil mountDisk /dev/diskn

where n is the # you id'ed in diskutil list

share|improve this answer
sudo diskutil mount readOnly /dev/disk2s1 is what I had to use – jberger Mar 6 at 19:53

You can try something like this:

mount /dev/disk1s10

And replace disk1s10 with the identifier of your drive.

share|improve this answer
There are plenty of disk* entries in /dev. How can I know which one is my actual drive? thanks again. – sa125 Nov 7 '11 at 18:20
There are a few ways that I can think of. First get a list of all mounted drives before mounting the old drive. After you mount the old drive, view the list again - you can id it by process of elimination. There were a few other methods found in this SU post:… drutil and df looked like the most effective methods – JW8 Nov 7 '11 at 18:53
you can know the identifier doing diskutil list disk2 (i.e for disk2) – konus Nov 26 '11 at 4:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.