Changing Partitions from D to P

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
bcraig7
Posts: 2
Joined: 25 Mar 2015, 21:29

Changing Partitions from D to P

#1 Post by bcraig7 »

I know this probably too obvious.
OS:Ubuntu 12.04
Hardware: Dell/Intel
I seriously deleted my partition table in Linux. Wrote "0"s over it with dd. (Don't Ask)
I ran TestDisk Selected /dev/sda
Selected Intel Partition Table Type/Analyse/Quick Search
I can then see all my partitions. I can even see the files.
The problem:
I see two partitions in green Primary Bootable and Linux Swap In green.
I see my Main Partition Marked D deleted in white. I can see the files and everything seems fine but when I select continue/write I only see the the green partitions selected, and I don't write.

What am I missing?

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

Re: Changing Partitions from D to P

#2 Post by cgrenier »

Use the arrow key to switch the partition to P(rimary)

bcraig7
Posts: 2
Joined: 25 Mar 2015, 21:29

Re: Changing Partitions from D to P

#3 Post by bcraig7 »

Yes Thanks for the wonderful tool.

Locked