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

How to use TestDisk to recover lost partition
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 » 23 Oct 2017, 08:56

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...

Sponsored links

User avatar
cgrenier
Site Admin
Posts: 3764
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 » 24 Oct 2017, 06:42

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  Topic is solved

#3 Post by nardev » 24 Oct 2017, 09:05

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

Who is online

Users browsing this forum: No registered users and 2 guests