Recover Partition, Command line

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
palhello
Posts: 3
Joined: 14 Sep 2013, 19:18

Recover Partition, Command line

#1 Post by palhello »

I'm trying to recover this partition and I can do it through the normal way. I had to change the Cylinder Boundry to No, and when the partitions are shown I had to change covert each partition to Primary.
Can I achieve the same thing by command line using the /cmd ? I want to change the option of Cylinder Boundry and also change the each discovered partition to primary.

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

Re: Recover Partition, Command line

#2 Post by cgrenier »

Do you have to use Cylinder Boundry to No when using TestDisk 6.14 or 7.0-WIP ?

palhello
Posts: 3
Joined: 14 Sep 2013, 19:18

Re: Recover Partition, Command line

#3 Post by palhello »

Actually I'm using TestDisk 6.11 on Ubuntu.

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

Re: Recover Partition, Command line

#4 Post by cgrenier »

Use the 6.14 or 7.0-WIP version of TestDisk available on http://www.cgsecurity.org this will solve your problem.

palhello
Posts: 3
Joined: 14 Sep 2013, 19:18

Re: Recover Partition, Command line

#5 Post by palhello »

Thanks, but even when the partitions do appear they appear as 'D', and I wan to convert the first partition to Primary Boot, and the rest three partitions to Primary partitions. Can this be done via command line with these current versions ?
Right now I've modified the 6.11 code and hardcoded this logic along with cylinder boundary.

Locked