Undo changes of Testdisk

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
Tapiocapioca
Posts: 2
Joined: 15 Mar 2019, 01:06

Undo changes of Testdisk

#1 Post by Tapiocapioca »

Hello guys.
I was checking what's testdisk can do, and in a really no sense way I modified one partition. Actually my disk is not working anymore, but I still have the log of testdisk. Someone can suggest me the way to undo the changes I did? I hope there is one way having the log.
Thank you!! :) :)

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

Re: Undo changes of Testdisk

#2 Post by cgrenier »

Before beginning keep a backup of the old testdisk.log file.
If you have modified the partition table, you can restore the old values by choose Analyse, Quick Search and if necessary, manually add ('a' key) the missing partitions.
Use the arrow keys to set the partitions to P(rimary), *(bootable) or L(ogical). Once the partition table match what is written in the old testdisk.log file, go on next screen, and choose Write, confirm, Quit.

Tapiocapioca
Posts: 2
Joined: 15 Mar 2019, 01:06

Re: Undo changes of Testdisk

#3 Post by Tapiocapioca »

Thank you about your fast tutorial :) ;) ;)

Locked