Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Policar

macrumors 6502a
Original poster
Nov 21, 2004
662
7
I had two drives with the same name and accidentally erased the wrong one. Haven't written anything to it since. It's a 2TB SSD.

Am I SOL?
 

bogdanw

macrumors 603
Mar 10, 2009
6,038
2,955
I might be out of my depth with TestDisk. I just get this error:
zsh: bad CPU type in executable: /Users/USERNAME/Downloads/testdisk-7.2-WIP/testdisk
You have to install the 64 bits version. If you do not have brew installed, run in Terminal
Code:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
then to install TestDisk
Code:
brew install testdisk
After that, you can run TestDisk from Terminal with
Code:
sudo testdisk
 

Policar

macrumors 6502a
Original poster
Nov 21, 2004
662
7
You have to install the 64 bits version. If you do not have brew installed, run in Terminal
Code:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
then to install TestDisk
Code:
brew install testdisk
After that, you can run TestDisk from Terminal with
Code:
sudo testdisk

I have no idea why that worked, but it did!

I see seven drives, but I only have three external drives plugged in: a 4TB drive (the one I wanted to delete, and eventually did) is showing up twice, the 2TB SSD I'm trying to recover is showing up three times, as is a 30GB USB drive I have plugged in. Which of the three 2TB disks do I select?
[automerge]1589742952[/automerge]
And then what do I do after that?
[automerge]1589743199[/automerge]
I've gotten to the point where I selected the partition I believe is the missing drive and it's asking me:

Write partition table, confirm? Y/N

I assume I select Y?
 
Last edited:

bogdanw

macrumors 603
Mar 10, 2009
6,038
2,955
I've gotten to the point where I selected the partition I believe is the missing drive and it's asking me:
Write partition table, confirm? Y/N
I assume I select Y?
If you are sure that those are your missing partitions, choose write.
 

Policar

macrumors 6502a
Original poster
Nov 21, 2004
662
7
If you are sure that those are your missing partitions, choose write.

How can I be sure they're the right partitions? Only one HFS candidate is showing up when I select the drive, so I figure that has to be it. But why does the software list three drives instead of one when it lists directories?

Also I can't write because the software says this drive is write-protected. I'm still having that error even when I eject the drive in Disk Utility.

Thanks again for the help, clearly I am a bit clueless about this.
 

Policar

macrumors 6502a
Original poster
Nov 21, 2004
662
7
Leave just the 2TB SSD you want to recover connected, disconnect the others.

Thanks. The issue is even when I do this I see three 2TB drives listed. It lists some drives twice.

And now for some reason (unrelated) my Mac won't boot up. Can I do this same process on a PC even though it doesn't read HFS?
[automerge]1589748293[/automerge]

[automerge]1589748470[/automerge]
EDIT: and how long should this process take? A couple days like some data recovery tools or will it instantaneously rebuild the directory and the files will all be there?
 

Policar

macrumors 6502a
Original poster
Nov 21, 2004
662
7
EDIT: well, the partition is showing up on Windows but when it asks me

Write partition table, confirm ? (Y/N)

I'm not able to type anything to confirm....
 

Policar

macrumors 6502a
Original poster
Nov 21, 2004
662
7
I've been able to go through the whole process but it says the partition type (HFS) isn't supported. I think I might be SOL. But this seems like the right tool for the job, it just didn't work for me. Thanks for the suggestion.

Edit: photo rec is finding files, at least. But unfortunately I need them organized according to the partition.
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.