lundi 25 février 2019

Hard disk restore of a deleted btrfs partition

I have a situation where i ended up overwriting my main ssd of the workstation. Below is the chrnological order in which the system-partitions/ file-systems were created.

PROBLEM BACKGROUND/HISTORY

  1. GPT partition with 0%-33% , 33% to 66% and 66% to 100% partitions all btrfs type. some important data was stored in this partitions ( from here on refered to as the data
  2. I accidentally overwrote the whole disk with a new partion table and partitions , (2 to 3 times :( ) each partiton of 0 to 3% and 4% to 100% of GPT type and of FAT32 and ext4 file-systems respectively.

ISSUE:

With the above issue at hand i am trying to restore back to GPT - btrfs partitions mentioned in point "1" above

After initial research i am trying to use the testdisk software to restore back the deleted partions.

However upon selecting the particular partion to restore as listed below.

TestDisk 7.0, Data Recovery Utility, April 2015
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

Disk /dev/xvdi - 240 GB / 223 GiB - CHS 29185 255 63
     Partition               Start        End    Size in sectors
 D MS Data                     2046  468860925  468858880
 D MS Data                     2048  468860927  468858880
 D MS Data                     2048  468860927  468858880 [NO NAME]
 D MS Data                     2054  468860933  468858880 [NO NAME]
 D MS Data                     4096     618495     614400
 D MS Data                     4102     618501     614400
>D MS Data                   618496     622591       4096 <==trying to restore this

If I press "P" at this point (as per the instructions on the test-disk website), i see the below screen. TestDisk 7.0, Data Recovery Utility, April 2015 Christophe GRENIER http://www.cgsecurity.org

     MS Data               618496     622591       4096



 Support for this filesystem hasn't been implemented.

Question:

How to restore data from deleted BTRFS file system partitions using testdisk or any other method.

Aucun commentaire:

Enregistrer un commentaire