Light format from bash and i have old scheme data Topic is solved

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
nardev
Posts: 2
Joined: 23 Oct 2017, 08:51

Light format from bash and i have old scheme data

#1 Post by nardev »

I did this:

mkdosfs -F 32 -I /dev/sdb

The command was quick and i believe that nodata was erased

and now i want to restore old partition schema.. it was NTFS like this:

Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 391022099 391020052 186.5G 7 HPFS/NTFS/exFAT
/dev/sdb2 391022100 1953520064 1562497965 745.1G 7 HPFS/NTFS/exFAT


How can i do that.. please give me some tips...

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

Re: Light format from bash and i have old scheme data

#2 Post by cgrenier »

If you haven't restarted your computer since the format, run "cat /proc/partitions" to get each partition size.

Run testdisk, Analyse, Quick Search and Deeper Search if necessary. Set the partitions to keep/Recover to P(rimary), *(bootable) or L(ogical).
On next screen, if you have all your partitions, choose Write and confirm. If asked, choose Backup and confirm.
Quit and restart your computer.

nardev
Posts: 2
Joined: 23 Oct 2017, 08:51

Re: Light format from bash and i have old scheme data

#3 Post by nardev »

Thank you,

i did similar.. the good thing it was external drive...

I took another 1Tb HDD and i copied all d the files.. good thing, after deep search TestDisk found all my files and there was interface to copy it

Locked