5

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.

sa125
  • 1,036

2 Answers2

8

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

Moda
  • 146
3

You can try something like this:

mount /dev/disk1s10

And replace disk1s10 with the identifier of your drive.

JW8
  • 1,202
  • 3
  • 13
  • 26