Lost all the partitions of HDD by mistake

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
alvida
Posts: 5
Joined: 27 Jul 2020, 20:26

Lost all the partitions of HDD by mistake

#1 Post by alvida »

Hi guys!
I have laptop thinkpad x240. Yesterday I tried to install pop os (linux os) next to windows 10 which had partition "C" and "D" then in the step of partition I selected gpt and then apply then all partition is gone. Now my 500go hdd is unallocated no os. A friend suggested to install testdisk I did via usb bootable linux.
I want to recover the first five partition so I can back to windows 10 with all my files. Please help me how especially I am afraid to do a mistake and lost everything.
it gives me only 4 partitions to be green. is it possible to recover system too and boot to windows 10 without losing data like favoris in browser.
Thank you for your efforts!
Attachments
1.png
1.png (97.68 KiB) Viewed 1981 times
2.png
2.png (212.17 KiB) Viewed 1981 times
3.png
3.png (214.55 KiB) Viewed 1981 times
Last edited by alvida on 28 Jul 2020, 22:12, edited 1 time in total.

recuperation
Posts: 2720
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: Lost all the partitions of HDD by mistake

#2 Post by recuperation »

You did not link your pictures correctly.
Please upload the pictures using the functions "Attachments" on the bottom of the page.
Yesterday I tried to install pop os next to windows 10
I don't understand what "pop os" means.

Do not try to update your notebook before having duplicated your drive.
When having fear trying to repair your drive, duplicate it first using ddrescue.

alvida
Posts: 5
Joined: 27 Jul 2020, 20:26

Re: Lost all the partitions of HDD by mistake

#3 Post by alvida »

Thank you recuperation! I just upload images
pop os is a linux os
do I need another drive wit 500GO to duplicate as I have another one with 320G0?

recuperation
Posts: 2720
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: Lost all the partitions of HDD by mistake

#4 Post by recuperation »

I count roughly 800e6 sectors which is approximately 400 GB for your first five partitions asssuming they are full. 320 GB may not be sufficient.

alvida
Posts: 5
Joined: 27 Jul 2020, 20:26

Re: Lost all the partitions of HDD by mistake

#5 Post by alvida »

I will try to find another from friends. But in case not, is it possible to recover those partitions and write them on the current drive?

recuperation
Posts: 2720
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: Lost all the partitions of HDD by mistake

#6 Post by recuperation »

Do not write on your faulty drive.

alvida
Posts: 5
Joined: 27 Jul 2020, 20:26

Re: Lost all the partitions of HDD by mistake

#7 Post by alvida »

Is there anyway to write partition on another hard drive?
I bring a hard drive with 340Go free space, how can duplicate hard drive only with the first 5 partitions?
Thankn you so much!

recuperation
Posts: 2720
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: Lost all the partitions of HDD by mistake

#8 Post by recuperation »

alvida wrote: 27 Jul 2020, 21:43 Now my 500go hdd is unallocated no os.
Your statements means that you don't have partitions anymore on your faulty drive.

If you have an appropriate expansion card it might be possible to combine smaller drives to a big one so that that collection of drives appears to Testdisk as a single drive.
On a software level I don't know if Testdisk would recognize dynamic drives or storage spaces as one unique drive to write on.

alvida
Posts: 5
Joined: 27 Jul 2020, 20:26

Re: Lost all the partitions of HDD by mistake

#9 Post by alvida »

Yes there is no partition on the faulty drive. I buy a new drive 500Go and I tried to clone the faulty drive to it via clonezilla as I found ddrescue complicated, but I faced this problem :(
Attachments
IMG_20200807_152405[1].jpg
IMG_20200807_152405[1].jpg (178.94 KiB) Viewed 1751 times

recuperation
Posts: 2720
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: Lost all the partitions of HDD by mistake

#10 Post by recuperation »

alvida wrote: 07 Aug 2020, 16:58 Yes there is no partition on the faulty drive. I buy a new drive 500Go and I tried to clone the faulty drive to it via clonezilla as I found ddrescue complicated, but I faced this problem :(
It seems that Clonezilla does not handle bad sectors correctly. Try using ddrescue - it has been designed with bad sectors in mind.
Use the live edition of Gparted p.e., that is a small image file that contains everything necessary.
Get yourself a cheap other drive such as an USB stick, fill the stick and practice duplicating using ddrescue from the little stick to the 500GB drive.
Use the log file function.
Delete the big drive with the clean function in Windows diskpart.

When being comfortable with ddrescue clone your faulty drive.

Locked