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?
How was it formatted, HFS or APFS?
Use your backup to restore the drive.
I assume you have no backup?
You have to install the 64 bits version. If you do not have brew installed, run in TerminalI 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
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
brew install testdisk
sudo testdisk
You have to install the 64 bits version. If you do not have brew installed, run in Terminal
then to install TestDiskCode:/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
After that, you can run TestDisk from Terminal withCode:brew install testdisk
Code:sudo testdisk
If you are sure that those are your missing partitions, choose write.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.
Leave just the 2TB SSD you want to recover connected, disconnect the others.How can I be sure they're the right partitions?
Leave just the 2TB SSD you want to recover connected, disconnect the others.