Deleted and expanded a partition by accident!

How to use TestDisk to recover lost partition
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
hackernews
Posts: 4
Joined: 08 Sep 2018, 19:06

Deleted and expanded a partition by accident!

#1 Post by hackernews »

I deleted and expanded a partition by accident, and I need help recovering the partitions that I lost.

I had a 1.5 TB external hard drive divided into three 500 GB partitions. Two of them were deleted to create a 1 TB and I'm trying to get them back. I tried to use testdisk to recover the partitions and I lost access to all of them in the process. I'll include screenshots below. It'd be great if I could get some guidance and please let me know if you need more information!

Image
Image
Image
Image
Image
Image
Image

User avatar
cgrenier
Site Admin
Posts: 5432
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: Deleted and expanded a partition by accident!

#2 Post by cgrenier »

Have you tried "mount" in macOS Disk Utility ?

hackernews
Posts: 4
Joined: 08 Sep 2018, 19:06

Re: Deleted and expanded a partition by accident!

#3 Post by hackernews »

Thanks for the reply! The mount button doesn't do anything and when I disconnect and connect the external hard drive, I get this

Image

hackernews
Posts: 4
Joined: 08 Sep 2018, 19:06

Re: Deleted and expanded a partition by accident!

#4 Post by hackernews »

I was able to see that most of the files are recoverable using disk recovery software but filenames and the directory structure is really important for me as you can imagine!

hackernews
Posts: 4
Joined: 08 Sep 2018, 19:06

Re: Deleted and expanded a partition by accident!

#5 Post by hackernews »

Anyone?

User avatar
cgrenier
Site Admin
Posts: 5432
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: Deleted and expanded a partition by accident!

#6 Post by cgrenier »

What is the result of "sudo fsck /dev/disk2s2" ? If it fixes something, run it several times until everything is ok or nothing more can be fixed.
Try it for disk2s3 and disk2s4 too.

Locked