I have searched for answers to my problem and although have came up with a few results most are outdated or incomplete.
Basic problem statement: I formatted my 4 TB USB backup disk and then wrote OSMC a Linux based os to the drive. The OS is only about 300mb so I hope the rest of the 4 TBs are still intact. I need to recover the data from this.
I have started my process by taking a full backup.img of the drive using ddrescue in a live Kali environment.
Currently, I have the completed .img file and map file and it has finished successfully.
Next step that I could find was using Testdisk to search the drive for deleted files. While my live kali environment was giving me trouble installing Testdisk I decided to get the windows version and run it from another machine. I couldn’t get it to run with the .img file so I ran it against the main formatted drive.
Normal Testdisk operations in this case that I could find were select drive/partition, go to advanced, highlight partition, select undelete and it brings up a list of your files to copy to a new location. Testdisk just returned the files of the new OSMC- OS that is currently written to the dive and no other files.
I read using Testdisks analyze feature can recover partitions so I have started that process on the windows machine using the original drive. Everything takes forever on a 4TB drive. It is at 4%
I still have my image file, I am debating if Testdisks analyze will bring me to a point to recover files and wish to start another operation in parallel on the Kali/Linux box working from the .img file.
Next program I plan to use is foremost and start carving. Wondering if anyone has experience with this situation. A tool or process you recommend for me to retrieve the data.
I am aware of testdisks PhotoRec although majorly turned off that it can not recover file names. I have also tried Recuva Pro (from the creators of CCleaner) although it to only showed me the files of the current OSMC- OS partition and not the formatted partition.
A few important notes.
-The 4TB drive is only showing up as a 300mb drive with the OSMC- os on it.
-I am trying to recover all types of files, doc, raw images, mp3, mp4, wav.
-I have about 3.5 TBs of data that was on the drive.
-The ddrescue copied all 4TB to the .img file.
Appreciate any input or suggestions and open to answering any additional questions you may have.
Thank you for your time.