Help meeeee!!!! I used GParted and my ubuntu partition disa

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
Deleted User 8096

Help meeeee!!!! I used GParted and my ubuntu partition disa

#1 Post by Deleted User 8096 »

I use gparted (live-cd) to increase the ubuntu partition there for my stupidity stopped in the middle of the process because he had caught! When he ubuntu partition (ext4) was as unknown. I tried to use the repairman gparted, then f*cked it all! Now all the space that was ubuntu was as unallocated. I had erased !!!
I'm using TestDisk in windows 8.1 and have used the rescuepc (live-cd), gives the same result ...
1 - I choose the created, choose the disk, intel and analyze
2 - Start the search with Quick search.
3 - NTFS 2 appears (I know this extension is the windows) and called Linux and other Linux Swap
https://uploaddeimagens.com.br/imagens/foto01-png
4 - It is the third because it has the size it was, 108 gb
5 - then click P to see the list of files, and is empty.
https://uploaddeimagens.com.br/imagens/foto_02-png
6 - Then I think "it just does not need further research," THAT LEADS + 2 HOURS OF THE PRA THEREIN:
When I click the "A", to add the partition:
https://uploaddeimagens.com.br/imagens/foto03-png

I've already put random numbers in cylindre and Head, which are zero, yet gives nothing !!!
Would anyone help me? Telling me step-by-step, because I know not sweat anything like that, was already thinking of taking up the windows and ubuntu had many files, such as images, books, study materials ... if not how to recover the partition, It is to at least draw all these things for windows?

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

Re: Help meeeee!!!! I used GParted and my ubuntu partition d

#2 Post by cgrenier »

When you have the list with all the partitions, use the arrow keys to switch the first 4 partitions to P(rimary) except the first one that you can set as *(bootable). On next screen, choose Write, confirm, Quit.
To recover files from your Linux partition, run as root "fsck /a /dev/sda4" (modify the partition device if necessary) and next run photorec on this partition to recover your files, note that you will need a lot of space to store the recovered files.

Locked