I am trying to recover the filesystem of one of my external drives: Seagate Expansion 2TB
The disk works correctly, the problem is that, while trying to write an ISO image (with OpenSuse live dvd) to a my usb flash memory), I accidentally wrote onto the disk instead (using dd command).
I know the portion of the disk that is already overwritten is unrecoverable, but I would like to know if the rest of the files that were in the disk could be recoverable if I manage to restore the backup sector. I scanned with testdisk and it didn't found any, could a bad geometry disk specification in testdisk be the reason for that?
Some (maybe useful) info:
Disk drive: Seagate Expansion (2TB)
The disk had the default geometry, partitions and fileystems.
Old number of partitions: 1
Old FileSystem (what i'm trying to restore): NTFS
New filesystem: raw iso dvd image.
Copied with dd if=(iso file) of=/dev/sdX (X was the corresponding disk character)
For security, I've created a disk image, in case the disk was damaged or the information was lost while trying to recover it.
The log file:
Code: Select all
Fri May 2 11:46:28 2014
Command line: TestDisk
TestDisk 6.13, Data Recovery Utility, November 2011
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Linux, kernel 3.8.0-19-generic (#29-Ubuntu SMP Wed Apr 17 18:19:42 UTC 2013) i686
Compiler: GCC 4.7
Compilation date: 2013-02-16T06:54:06
ext2fs lib: 1.42.5, ntfs lib: libntfs-3g, reiserfs lib: none, ewf lib: none
/dev/sda: LBA, HPA, LBA48, DCO support
/dev/sda: size 976771055 sectors
/dev/sda: user_max 976771055 sectors
/dev/sda: native_max 976773168 sectors
/dev/sda: dco 976773168 sectors
Warning: can't get size for Disk /dev/mapper/control - 0 B - CHS 1 1 1, sector size=512
Hard disk list
Disk /dev/sda - 500 GB / 465 GiB - CHS 60801 255 63, sector size=512 - SAMSUNG HD502IJ, S/N:S13TJ1KQ504864, FW:1AA01112
Disk /dev/sdb - 2000 GB / 1863 GiB - CHS 1907729 64 32, sector size=512 - Seagate External, FW:SG12
Partition table type (auto): None
Disk /dev/sdb - 2000 GB / 1863 GiB - Seagate External
Partition table type: None
Interface Advanced
P ISO 0 0 1 1907729 5 12 3907029164 [openSUSE 13.1 KDE Live]
ISO9660, 2000 GB / 1863 GiB
Change partition type:
P NTFS 0 0 1 1907729 5 12 3907029164 [openSUSE 13.1 KDE Live]
ISO9660, 2000 GB / 1863 GiB
ntfs_boot_sector
P NTFS 0 0 1 1907729 5 12 3907029164 [openSUSE 13.1 KDE Live]
ISO9660, 2000 GB / 1863 GiB
filesystem size 14497481767095041276 1
sectors_per_cluster 144 0
mft_lcn 1365660518 0
mftmirr_lcn 3193095566 0
clusters_per_mft_record 6 0
clusters_per_index_record -13 0
Boot sector
Status: Bad
Backup boot sector
Status: Bad
Sectors are not identical.
A valid NTFS Boot sector must be present in order to access
any data; even if the partition is not bootable.
rebuild_NTFS_BS
mft at 6291519, seq=1, main=0 res=1
read_mft_info failed
ntfs_find_mft: sectors_per_cluster invalid
ntfs_find_mft: mft_lcn 786432
ntfs_find_mft: mftmirr_lcn 244189004
ntfs_find_mft: mft_record_size 1024
mft at 1953512095, seq=1, main=0 res=1
read_mft_info failed
ntfs_find_mft: sectors_per_cluster invalid
ntfs_find_mft: mft_lcn 786432
ntfs_find_mft: mftmirr_lcn 244189004
ntfs_find_mft: mft_record_size 1024
Potential partition:
P NTFS 0 1 32 1907729 7 11 3907029164 [openSUSE 13.1 KDE Live]
ISO9660, 2000 GB / 1863 GiB
Failed to rebuild NTFS boot sector.
ntfs_boot_sector
P NTFS 0 0 1 1907729 5 12 3907029164 [openSUSE 13.1 KDE Live]
ISO9660, 2000 GB / 1863 GiB
filesystem size 14497481767095041276 1
sectors_per_cluster 144 0
mft_lcn 1365660518 0
mftmirr_lcn 3193095566 0
clusters_per_mft_record 6 0
clusters_per_index_record -13 0
Boot sector
Status: Bad
Backup boot sector
Status: Bad
Sectors are not identical.
A valid NTFS Boot sector must be present in order to access
any data; even if the partition is not bootable.
Boot sector Backup boot sector
0000 33ed9090 90909090 3....... 00000000 00000000 ........
0008 90909090 90909090 ........ 00000000 00000000 ........
0010 90909090 90909090 ........ 00000000 00000000 ........
0018 90909090 90909090 ........ 00000000 00000000 ........
0020 33edfa8e d5bc007c 3......| 00000000 00000000 ........
0028 fbfc6631 db6631c9 ..f1.f1. 00000000 00000000 ........
0030 66536651 06578edd fSfQ.W.. 00000000 00000000 ........
0038 8ec552be 007cbf00 ..R..|.. 00000000 00000000 ........
0040 06b90001 f3a5ea4b .......K 00000000 00000000 ........
0048 06000052 b441bbaa ...R.A.. 00000000 00000000 ........
0050 5531c930 f6f9cd13 U1.0.... 00000000 00000000 ........
0058 721681fb 55aa7510 r...U.u. 00000000 00000000 ........
0060 83e10174 0b66c706 ...t.f.. 00000000 00000000 ........
0068 f106b442 eb15eb00 ...B.... 00000000 00000000 ........
0070 5a51b408 cd1383e1 ZQ...... 00000000 00000000 ........
0078 3f5b510f b6c64050 ?[Q...@P 00000000 00000000 ........
0080 f7e15352 50bb007c ..SRP..| 00000000 00000000 ........
0088 b9040066 a1b007e8 ...f.... 00000000 00000000 ........
0090 44000f82 80006640 D.....f@ 00000000 00000000 ........
0098 80c702e2 f266813e .....f.> 00000000 00000000 ........
00A0 407cfbc0 78707509 @|..xpu. 00000000 00000000 ........
00A8 fabcec7b ea447c00 ...{.D|. 00000000 00000000 ........
00B0 00e88300 69736f6c ....isol 00000000 00000000 ........
00B8 696e7578 2e62696e inux.bin 00000000 00000000 ........
00C0 206d6973 73696e67 missing 00000000 00000000 ........
00C8 206f7220 636f7272 or corr 00000000 00000000 ........
00D0 7570742e 0d0a6660 upt...f` 00000000 00000000 ........
00D8 6631d266 0306f87b f1.f...{ 00000000 00000000 ........
00E0 661316fc 7b665266 f...{fRf 00000000 00000000 ........
00E8 5006536a 016a1089 P.Sj.j.. 00000000 00000000 ........
00F0 e666f736 e87bc0e4 .f.6.{.. 00000000 00000000 ........
00F8 0688e188 c592f636 .......6 00000000 00000000 ........
0100 ee7b88c6 08e141b8 .{....A. 00000000 00000000 ........
0108 01028a16 f27bcd13 .....{.. 00000000 00000000 ........
0110 8d641066 61c3e81e .d.fa... 00000000 00000000 ........
0118 004f7065 72617469 .Operati 00000000 00000000 ........
0120 6e672073 79737465 ng syste 00000000 00000000 ........
0128 6d206c6f 61642065 m load e 00000000 00000000 ........
0130 72726f72 2e0d0a5e rror...^ 00000000 00000000 ........
0138 acb40e8a 3e6204b3 ....>b.. 00000000 00000000 ........
0140 07cd103c 0a75f1cd ...<.u.. 00000000 00000000 ........
0148 18f4ebfd 00000000 ........ 00000000 00000000 ........
0150 00000000 00000000 ........ 00000000 00000000 ........
0158 00000000 00000000 ........ 00000000 00000000 ........
0160 00000000 00000000 ........ 00000000 00000000 ........
0168 00000000 00000000 ........ 00000000 00000000 ........
0170 00000000 00000000 ........ 00000000 00000000 ........
0178 00000000 00000000 ........ 00000000 00000000 ........
0180 00000000 00000000 ........ 00000000 00000000 ........
0188 00000000 00000000 ........ 00000000 00000000 ........
0190 00000000 00000000 ........ 00000000 00000000 ........
0198 00000000 00000000 ........ 00000000 00000000 ........
01A0 00000000 00000000 ........ 00000000 00000000 ........
01A8 00000000 00000000 ........ 00000000 00000000 ........
01B0 d80c0000 00000000 ........ 00000000 00000000 ........
01B8 c1ad5a67 00008033 ..Zg...3 00000000 00000000 ........
01C0 0900833f e0866806 ...?..h. 00000000 00000000 ........
01C8 00009831 1c000000 ...1.... 00000000 00000000 ........
01D0 00000000 00000000 ........ 00000000 00000000 ........
01D8 00000000 00000000 ........ 00000000 00000000 ........
01E0 00000000 00000000 ........ 00000000 00000000 ........
01E8 00000000 00000000 ........ 00000000 00000000 ........
01F0 00000000 00000000 ........ 00000000 00000000 ........
01F8 00000000 000055aa ......U. 00000000 00000000 ........
ntfs_boot_sector
P NTFS 0 0 1 1907729 5 12 3907029164 [openSUSE 13.1 KDE Live]
ISO9660, 2000 GB / 1863 GiB
filesystem size 14497481767095041276 1
sectors_per_cluster 144 0
mft_lcn 1365660518 0
mftmirr_lcn 3193095566 0
clusters_per_mft_record 6 0
clusters_per_index_record -13 0
Boot sector
Status: Bad
Backup boot sector
Status: Bad
Sectors are not identical.
A valid NTFS Boot sector must be present in order to access
any data; even if the partition is not bootable.
Boot sector Backup boot sector
0000 33ed9090 90909090 3....... 00000000 00000000 ........
0008 90909090 90909090 ........ 00000000 00000000 ........
0010 90909090 90909090 ........ 00000000 00000000 ........
0018 90909090 90909090 ........ 00000000 00000000 ........
0020 33edfa8e d5bc007c 3......| 00000000 00000000 ........
0028 fbfc6631 db6631c9 ..f1.f1. 00000000 00000000 ........
0030 66536651 06578edd fSfQ.W.. 00000000 00000000 ........
0038 8ec552be 007cbf00 ..R..|.. 00000000 00000000 ........
0040 06b90001 f3a5ea4b .......K 00000000 00000000 ........
0048 06000052 b441bbaa ...R.A.. 00000000 00000000 ........
0050 5531c930 f6f9cd13 U1.0.... 00000000 00000000 ........
0058 721681fb 55aa7510 r...U.u. 00000000 00000000 ........
0060 83e10174 0b66c706 ...t.f.. 00000000 00000000 ........
0068 f106b442 eb15eb00 ...B.... 00000000 00000000 ........
0070 5a51b408 cd1383e1 ZQ...... 00000000 00000000 ........
0078 3f5b510f b6c64050 ?[Q...@P 00000000 00000000 ........
0080 f7e15352 50bb007c ..SRP..| 00000000 00000000 ........
0088 b9040066 a1b007e8 ...f.... 00000000 00000000 ........
0090 44000f82 80006640 D.....f@ 00000000 00000000 ........
0098 80c702e2 f266813e .....f.> 00000000 00000000 ........
00A0 407cfbc0 78707509 @|..xpu. 00000000 00000000 ........
00A8 fabcec7b ea447c00 ...{.D|. 00000000 00000000 ........
00B0 00e88300 69736f6c ....isol 00000000 00000000 ........
00B8 696e7578 2e62696e inux.bin 00000000 00000000 ........
00C0 206d6973 73696e67 missing 00000000 00000000 ........
00C8 206f7220 636f7272 or corr 00000000 00000000 ........
00D0 7570742e 0d0a6660 upt...f` 00000000 00000000 ........
00D8 6631d266 0306f87b f1.f...{ 00000000 00000000 ........
00E0 661316fc 7b665266 f...{fRf 00000000 00000000 ........
00E8 5006536a 016a1089 P.Sj.j.. 00000000 00000000 ........
00F0 e666f736 e87bc0e4 .f.6.{.. 00000000 00000000 ........
00F8 0688e188 c592f636 .......6 00000000 00000000 ........
0100 ee7b88c6 08e141b8 .{....A. 00000000 00000000 ........
0108 01028a16 f27bcd13 .....{.. 00000000 00000000 ........
0110 8d641066 61c3e81e .d.fa... 00000000 00000000 ........
0118 004f7065 72617469 .Operati 00000000 00000000 ........
0120 6e672073 79737465 ng syste 00000000 00000000 ........
0128 6d206c6f 61642065 m load e 00000000 00000000 ........
0130 72726f72 2e0d0a5e rror...^ 00000000 00000000 ........
0138 acb40e8a 3e6204b3 ....>b.. 00000000 00000000 ........
0140 07cd103c 0a75f1cd ...<.u.. 00000000 00000000 ........
0148 18f4ebfd 00000000 ........ 00000000 00000000 ........
0150 00000000 00000000 ........ 00000000 00000000 ........
0158 00000000 00000000 ........ 00000000 00000000 ........
0160 00000000 00000000 ........ 00000000 00000000 ........
0168 00000000 00000000 ........ 00000000 00000000 ........
0170 00000000 00000000 ........ 00000000 00000000 ........
0178 00000000 00000000 ........ 00000000 00000000 ........
0180 00000000 00000000 ........ 00000000 00000000 ........
0188 00000000 00000000 ........ 00000000 00000000 ........
0190 00000000 00000000 ........ 00000000 00000000 ........
0198 00000000 00000000 ........ 00000000 00000000 ........
01A0 00000000 00000000 ........ 00000000 00000000 ........
01A8 00000000 00000000 ........ 00000000 00000000 ........
01B0 d80c0000 00000000 ........ 00000000 00000000 ........
01B8 c1ad5a67 00008033 ..Zg...3 00000000 00000000 ........
01C0 0900833f e0866806 ...?..h. 00000000 00000000 ........
01C8 00009831 1c000000 ...1.... 00000000 00000000 ........
01D0 00000000 00000000 ........ 00000000 00000000 ........
01D8 00000000 00000000 ........ 00000000 00000000 ........
01E0 00000000 00000000 ........ 00000000 00000000 ........
01E8 00000000 00000000 ........ 00000000 00000000 ........
01F0 00000000 00000000 ........ 00000000 00000000 ........
01F8 00000000 000055aa ......U. 00000000 00000000 ........
ntfs_boot_sector
P NTFS 0 0 1 1907729 5 12 3907029164 [openSUSE 13.1 KDE Live]
ISO9660, 2000 GB / 1863 GiB
filesystem size 14497481767095041276 1
sectors_per_cluster 144 0
mft_lcn 1365660518 0
mftmirr_lcn 3193095566 0
clusters_per_mft_record 6 0
clusters_per_index_record -13 0
Boot sector
Status: Bad
Backup boot sector
Status: Bad
Sectors are not identical.
A valid NTFS Boot sector must be present in order to access
any data; even if the partition is not bootable.
TestDisk exited normally.
Thanks