I really need some help recovering data on an EZ Media & Backup Center 2TB version after partition table being overwritten in mistake.
I have two EZ Media & Backup Center boxes 2TB version. One day one of them start to have trouble logging in to management. It seems some part of the hard drive is corrupted, so I took the drive out, did a full format, and tried to reinstall firmware to this hard drive. I followed what says here viewtopic.php?f=279&t=8317
step by step, but it didn't work after many tries. Before I found out it's the USB stick that caused all the trouble (firmware installed later on after using another USB stick), I thought I can copy the partition table of the hard drive from another working EZ Media & Back Center to this hard drive, so I played with sgdisk -R=/dev/sdY /dev/sdX after googling it. The trouble it, I took the order wrong. I thought it means copy partition table from /dev/sdY to /dev/sdX, Actually it's the other way round.
In summary, the partition of a fully working EZ M&B hard drive is overwritten with the one from another hard drive fully for mated and treated with
sudo dd if=/home/username*/ez/zImage of=/dev/sdb bs=512 seek=2048
sudo dd if=/home/username*/ez/initrd of=/dev/sdb bs=512 seek=8192
Any chance the data can still be recovered?
I tried using testdisk in Ubuntu. After going through deep search, some data seems recoverable at file level, meaning files are list not in their original name, but in name like 0001.jpg, 0002.jpg. I really want files can be recovered at directory level.
Is it still possible to recover data at directory level?
I know that there are virus that can corrupt partition table. Once the virus is cleaned and partition table recovered, the data is still there as long as no addition data is written to the drive afterwards. I'm not sure if it's the case for GPT partition table.