I was trying to recover the partition of my external 3TB HDD by using testdisk. Unfortunately it was unsuccessful. I followed the procedure but it shows the same problem again.
Here is my setup:
1. Linux Mint 18.2
2. HDD connected through USB
3. HDD size: 3 TB, 1 NTFS partition
I am posting my screenshots here,
I have restarted the PC and it seems it didn't work.
My log file looks life this,
Code: Select all
Sat Sep 23 19:36:29 2017
Command line: TestDisk
TestDisk 7.0, Data Recovery Utility, April 2015
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Linux, kernel 4.10.0-35-generic (#39~16.04.1-Ubuntu SMP Wed Sep 13 09:02:42 UTC 2017) x86_64
Compiler: GCC 5.3
ext2fs lib: 1.42.13, ntfs lib: libntfs-3g, reiserfs lib: none, ewf lib: none, curses lib: ncurses 6.0
/dev/sda: LBA, HPA, LBA48, DCO support
/dev/sda: size 1953525168 sectors
/dev/sda: user_max 1953525168 sectors
/dev/sda: native_max 1953525168 sectors
/dev/sda: dco 1953525168 sectors
Warning: can't get size for Disk /dev/mapper/control - 0 B - 0 sectors, sector size=512
Hard disk list
Disk /dev/sda - 1000 GB / 931 GiB - CHS 121601 255 63, sector size=512 - TOSHIBA HDWD110, S/N:477H6DSFS, FW:MS2OA8J0
Disk /dev/sdb - 3000 GB / 2794 GiB - CHS 45599 255 63, sector size=4096 - WD Elements 107C, FW:1042
Partition table type (auto): Intel
Disk /dev/sdb - 3000 GB / 2794 GiB - WD Elements 107C
Partition table type: Intel
Analyse Disk /dev/sdb - 3000 GB / 2794 GiB - CHS 45599 255 63
Geometry from i386 MBR: head=255 sector=63
check_part_i386 failed for partition type 07
Current partition structure:
Invalid NTFS or EXFAT boot
1 * HPFS - NTFS 0 32 33 267349 121 35 4294967295
1 * HPFS - NTFS 0 32 33 267349 121 35 4294967295
search_part()
Disk /dev/sdb - 3000 GB / 2794 GiB - CHS 45599 255 63
NTFS at 0/4/5
filesystem size 732558080
sectors_per_cluster 1
mft_lcn 4
mftmirr_lcn 366279039
clusters_per_mft_record 1
clusters_per_index_record 1
HPFS - NTFS 0 4 5 45599 165 6 732558080 [3tb]
NTFS, blocksize=4096, 3000 GB / 2794 GiB
Results
* HPFS - NTFS 0 4 5 45599 165 6 732558080 [3tb]
NTFS, blocksize=4096, 3000 GB / 2794 GiB
Hint for advanced users. dmsetup may be used if you prefer to avoid to rewrite the partition table for the moment:
echo "0 5860464640 linear /dev/sdb 2048" | dmsetup create test0
interface_write()
1 * HPFS - NTFS 0 4 5 45599 165 6 732558080 [3tb]
write!
write_mbr_i386: starting...
write_all_log_i386: starting...
No extended partition
You will have to reboot for the change to take effect.
TestDisk exited normally.