Everything shows, but structure is bad

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
Posts: 1
Joined: 16 Apr 2014, 20:13

Everything shows, but structure is bad

#1 Post by ytfox »

I accidentally deleted two partitions of my 500GB HD, and now I'm using a live usb key to try and rescue those.
Running a quick search, testdisk finds all of the 3 partitions (NTFS for Windows, Ext4 for Peppermint, and NTFS for data), their sizes are correct (50GB, 420GB, and 30GB, respectively), but under no circumstances I can get rid of the "Structure: Bad" message. :cry:
If I select the Windows and Linux partitions, structure is good, if I select the Windows and the "Storage" partitions,
its all good, but whatever I do, I can't select the Linux and Storage and make it work...

Am I clearly stupid, blind, or do I really have a problem here?

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

Re: Everything shows, but structure is bad

#2 Post by cgrenier »

The recovered partition probably overlaps. You need to select which partition to recover first, write the new partition table, backup the files, rerun TestDisk, choose the other partitions to recover, create a new partition in the unallocated space and restore the files.