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

rimmi2002

macrumors member
Original poster
Apr 6, 2011
93
0
Hi,

I accidentally repartitioned my main storage hard drive, by using the following terminal command on it:

diskutil partitionDisk disk2 GPT JHFS+ "Canvio" 0g

the hard drive has about 3 TB of data on it. it has everything that I need. is there any way to get this data back by just simply re-creating the partitions? Meaning will software out there restore the partition table?

I have the following software: Disk Drill and Stellar Phoenix Mac data recovery. I could scan the whole hard drive for its content copy that to a new hard drive and copy it back, but I was wondering if there is any other easier way of doing this, where the partitions can just be re-created on the same hard drive.

I am running 10.12.6

To make matters worse I just realized the drive might have also been encrypted with firevault2. any chances for recovery now?

thanks for the help!!
 
Last edited:
"To make matters worse I just realized the drive might have also been encrypted with firevault2. any chances for recovery now?"

It -might have- been recoverable -- BUT -- if it was encrypted, my guess is that whatever was on it is now... gone.

This is what "backups" are for, and why you should have one BEFORE you attempt something like partitioning...
 
Trashed... Live and learn! Always have a backup of your data, especially if you plan to tinker with partitions.
 
  • Like
Reactions: old-wiz
Not just "A" backup, but more than one backup - don't forget that backups are subject to corruption too.

Just depends on what you deem your data is worth to you. I don't need more than one as there is nothing that I can't live without.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.