GParted broke the partition

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
Ronson
Posts: 17
Joined: 14 Jun 2016, 20:44

GParted broke the partition

#1 Post by Ronson »

I needed to resize a partition on a 40 GB HDD so I could clone it to a smaller space on another drive. I tried using some Windows based program but they wouldn't do it. I tried defragging the drive to open up space at the end of the partition but couldn't wait hours for it to finish. I tried using GParted in Fedora. It resized the partition but after I restarted my computer and booted to Windows 7 I found the partition or filesystem was lost or corrupted. Windows wanted me to reformat the drive. I started chkdsk on the drive but pressed Ctrl+C a few second later to stop it. In this case chkdsk probably will cause more problems than it will fix. Sorry, probably was a mistake to start chkdsk but I did it.

I started TestDisk 7.1 WIP and found two partitions that can't be recovered:
Capture3.PNG
Capture3.PNG (13.91 KiB) Viewed 2194 times
Then if offered the following three partitions:
Capture4.PNG
Capture4.PNG (16.01 KiB) Viewed 2194 times
which do I choose and why?

Ronson
Posts: 17
Joined: 14 Jun 2016, 20:44

Re: GParted broke the partition

#2 Post by Ronson »

If I go back to GParted and extend the partition back to the full disk, like it was, then would the two partitions in the first screenshot become recoverable?

Iceking007
Posts: 15
Joined: 30 Nov 2012, 19:09

Re: GParted broke the partition

#3 Post by Iceking007 »

Analyzing partitions and disks with TestDisk will never do any harm, it is only going to read data from all areas of the drive, unless you write to the drive (it will ask for confirmation).

I'm having a drive size and write error problem also, fiona is good with those as I've read on the forums but she has yet to reply to my post yet.

Good luck with your drive.

Ronson
Posts: 17
Joined: 14 Jun 2016, 20:44

Re: GParted broke the partition

#4 Post by Ronson »

I'm not worried about the message in the first screen shot about the drive possibly being too small. It really is a 40 GB HDD.

Ronson
Posts: 17
Joined: 14 Jun 2016, 20:44

Re: GParted broke the partition

#5 Post by Ronson »

I cloned the original drive and tried extending the partition of the clone to the full disk just to see what would happen. GParted wouldn't do it. It recognized there's a problem with the filesystem on the drive and wouldn't touch it. I tried undeleting the partition with the most sectors. That worked but I still can't use TestDisk to browse the files on the drive. TestDisk tells me the filesystem is corrupt.

Locked