Can TestDisk recover paritions inside another 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
bhch
Posts: 3
Joined: 15 Jul 2018, 06:00

Can TestDisk recover paritions inside another partition?

#1 Post by bhch »

My internal hard disk just crashed and all the partitions are gone. I tried using TestDisk's Deep Search feature
but it's taking too long - it just hangs at 45% for more than a day. Scanning 1 cylinder takes more than 5 minutes.
Probably the disk is too damaged.

I understand that I should first clone this disk to another disk using ddrescue and then try running TestDisk on
that new disk to recover partitions, that way it would much faster.

The problem is that I have only 1 external disk. and it already has some data. I was thinking of creating a new partition
on my external disk and then clone my internal disk into that partition using ddrescue.

My question is, if I create a partition on my new disk and clone my old hard disk into that partition, will TestDisk
be able to recover old partitions from that new partition?
The scenario would be like partitions within a partition, I don't know if that works or not.

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

Re: Can TestDisk recover paritions inside another partition?

#2 Post by cgrenier »

You can use ddrescue to create an image file and once it's done run testdisk on the image.dd file.
It will be better to using ddrescue to write to a partition.

bhch
Posts: 3
Joined: 15 Jul 2018, 06:00

Re: Can TestDisk recover paritions inside another partition?

#3 Post by bhch »

Follow up question:
My hard disk had NTFS and Ext4 partitions.
So in which format should I create the new partition to hold the image?
Or that doesn't really matter?

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

Re: Can TestDisk recover paritions inside another partition?

#4 Post by cgrenier »

It doesn't really matter but it must not be fat32 as no file bigger than 4 GB can be created on it.

bhch
Posts: 3
Joined: 15 Jul 2018, 06:00

Re: Can TestDisk recover paritions inside another partition?

#5 Post by bhch »

I can't thank you enough for you help.

Locked