Overlapping Partitions on External HD

How to use TestDisk to recover lost partition
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
necktweaker
Posts: 1
Joined: 15 Mar 2013, 01:19

Overlapping Partitions on External HD

#1 Post by necktweaker »

Hello,

I have searched through previous forum posts but have not been able to find a solution for my problem. I recently received an external HD with 1.82 TB of data loaded onto it. I am attempting to access the data, however I get the following error on Mac when attempting to connect the external: "The disk you inserted was not readable by this computer."

I have run test disk, and it seems as though the 2 partitions (EFI System and MS Data) are overlapping:
Disk /dev/rdisk1 - 2000 GB / 1863 GiB - CHS 7630917 16 32
Partition Start End Size in sectors
>D EFI System 40 409639 409600 [EFI]
D MS Data 2046 3907028989 3907026944

After a few seconds of a Deeper Search, I get the following:
Disk /dev/rdisk1 - 2000 GB / 1863 GiB - CHS 7630917 16 32
Partition Start End Size in sectors
D EFI System 40 409639 409600 [EFI]
D EFI System 46 409645 409600 [EFI]
D MS Data 2046 3907028989 3907026944
>D MS Data 2048 3907028991 3907026944

If I press P on the final partition, I am able to see all of the files. I am also able to copy files from the partition onto my local HD. However, I am unable to set both an EFI and MS Data as Primary because of the overlap (EFI ends around 409,640 and MS Data starts at 2046 or 2048).

Attached is the log. As it is a 2 TB drive, I have not completed a Deeper Scan.

Code: Select all


Thu Mar 14 18:23:20 2013
Command line: TestDisk

TestDisk 6.14-WIP, Data Recovery Utility, March 2013
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Darwin, kernel 12.2.0 (Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.1
Compiler: GCC 4.0
Compilation date: 2013-03-10T16:31:24
ext2fs lib: 1.41.8, ntfs lib: libntfs-3g, reiserfs lib: 0.3.1-rc8, ewf lib: 20120504
Hard disk list
Disk /dev/disk0 - 512 GB / 476 GiB - 1000215216 sectors (RO), sector size=512
Disk /dev/disk1 - 2000 GB / 1863 GiB - 3907029152 sectors, sector size=512
Disk /dev/rdisk0 - 512 GB / 476 GiB - 1000215216 sectors (RO), sector size=512
Disk /dev/rdisk1 - 2000 GB / 1863 GiB - 3907029152 sectors, sector size=512

Partition table type (auto): EFI GPT
Disk /dev/rdisk1 - 2000 GB / 1863 GiB
Partition table type: EFI GPT
New geometry
Disk /dev/rdisk1 - 2000 GB / 1863 GiB - CHS 7630917 16 32 sector_size=512

Analyse Disk /dev/rdisk1 - 2000 GB / 1863 GiB - CHS 7630917 16 32
hdr_size=92
hdr_lba_self=1
hdr_lba_alt=3907029503 (expected 3907029503)
hdr_lba_start=34
hdr_lba_end=3907029470
hdr_lba_table=2
hdr_entries=128
hdr_entsz=128
Current partition structure:
 1 P MS Data                     2048 3907028991 3907026944

search_part()
Disk /dev/rdisk1 - 2000 GB / 1863 GiB - CHS 7630917 16 32
check_FAT: Unusual media descriptor (0xf0!=0xf8)
FAT32 at 0/1/9
FAT1 : 32-3182
FAT2 : 3183-6333
start_rootdir : 6334 root cluster : 2
Data : 6334-409599
sectors : 409600
cluster_size : 1
no_of_cluster : 403266 (2 - 403267)
fat_length 3151 calculated 3151
FAT differs, FAT sectors=0-16/3151
set_FAT_info: name from BS used

FAT32 at 0/1/9
     EFI System                    40     409639     409600 [EFI]
     FAT32, blocksize=512, 209 MB / 200 MiB

block_group_nr 3

recover_EXT2: "e2fsck -b 98304 -B 4096 device" may be needed
recover_EXT2: s_block_group_nr=3/14904, s_mnt_count=1/22, s_blocks_per_group=32768, s_inodes_per_group=8192
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 488378368
recover_EXT2: part_size 3907026944
     MS Data                     2046 3907028989 3907026944
     ext3 blocksize=4096 Large file Sparse superblock Backup superblock, 2000 GB / 1863 GiB

Results
     EFI System                    40     409639     409600 [EFI]
     FAT32, blocksize=512, 209 MB / 200 MiB
     MS Data                     2046 3907028989 3907026944
     ext3 blocksize=4096 Large file Sparse superblock Backup superblock, 2000 GB / 1863 GiB

interface_write()
 
No partition found or selected for recovery

search_part()
Disk /dev/rdisk1 - 2000 GB / 1863 GiB - CHS 7630917 16 32
check_FAT: Unusual media descriptor (0xf0!=0xf8)
FAT32 at 0/1/9
FAT1 : 32-3182
FAT2 : 3183-6333
start_rootdir : 6334 root cluster : 2
Data : 6334-409599
sectors : 409600
cluster_size : 1
no_of_cluster : 403266 (2 - 403267)
fat_length 3151 calculated 3151
FAT differs, FAT sectors=0-16/3151
set_FAT_info: name from BS used

FAT32 at 0/1/9
     EFI System                    40     409639     409600 [EFI]
     FAT32, blocksize=512, 209 MB / 200 MiB
check_FAT: Unusual media descriptor (0xf0!=0xf8)
FAT32 at 0/1/15
FAT1 : 32-3182
FAT2 : 3183-6333
start_rootdir : 6334 root cluster : 2
Data : 6334-409599
sectors : 409600
cluster_size : 1
no_of_cluster : 403266 (2 - 403267)
fat_length 3151 calculated 3151
FAT differs, FAT sectors=0-16/3151
set_FAT_info: name from BS used

FAT32 at 0/1/15
     EFI System                    46     409645     409600 [EFI]
     FAT32, blocksize=512, 209 MB / 200 MiB

recover_EXT2: s_block_group_nr=0/14904, s_mnt_count=3/22, s_blocks_per_group=32768, s_inodes_per_group=8192
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 488378368
recover_EXT2: part_size 3907026944
     MS Data                     2048 3907028991 3907026944
     ext3 blocksize=4096 Large file Sparse superblock, 2000 GB / 1863 GiB

block_group_nr 1

recover_EXT2: "e2fsck -b 32768 -B 4096 device" may be needed
recover_EXT2: s_block_group_nr=1/14904, s_mnt_count=1/22, s_blocks_per_group=32768, s_inodes_per_group=8192
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 488378368
recover_EXT2: part_size 3907026944
     MS Data                     2046 3907028989 3907026944
     ext3 blocksize=4096 Large file Sparse superblock Backup superblock, 2000 GB / 1863 GiB

block_group_nr 1

recover_EXT2: "e2fsck -b 32768 -B 4096 device" may be needed
recover_EXT2: s_block_group_nr=1/14904, s_mnt_count=1/22, s_blocks_per_group=32768, s_inodes_per_group=8192
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 488378368
recover_EXT2: part_size 3907026944
     MS Data                     2048 3907028991 3907026944
     ext3 blocksize=4096 Large file Sparse superblock Backup superblock, 2000 GB / 1863 GiB
Search for partition aborted

Results
     EFI System                    40     409639     409600 [EFI]
     FAT32, blocksize=512, 209 MB / 200 MiB
     EFI System                    46     409645     409600 [EFI]
     FAT32, blocksize=512, 209 MB / 200 MiB
     MS Data                     2046 3907028989 3907026944
     ext3 blocksize=4096 Large file Sparse superblock Backup superblock, 2000 GB / 1863 GiB
     MS Data                     2048 3907028991 3907026944
     ext3 blocksize=4096 Large file Sparse superblock, 2000 GB / 1863 GiB


dir_partition inode=2
     MS Data                     2048 3907028991 3907026944
     ext3 blocksize=4096 Large file Sparse superblock, 2000 GB / 1863 GiB
Directory /
       2 drwxr-xr-x  2060      0      4096  5-Feb-2013 13:54 .
       2 drwxr-xr-x  2060      0      4096  5-Feb-2013 13:54 ..
      11 drwx------     0      0     16384  5-Feb-2013 13:47 lost+found
 114966529 drwxr-xr-x  2060     99      4096  6-Feb-2013 06:13 BCON
 51355649 drwxr-xr-x  2060     99      4096  6-Feb-2013 07:14 OTHER
 19996673 drwxr-xr-x  2060     99    102400  6-Feb-2013 05:53 MCIP

interface_write()
 
No partition found or selected for recovery
simulate write!

Analyse Disk /dev/rdisk1 - 2000 GB / 1863 GiB - CHS 7630917 16 32
hdr_size=92
hdr_lba_self=1
hdr_lba_alt=3907029503 (expected 3907029503)
hdr_lba_start=34
hdr_lba_end=3907029470
hdr_lba_table=2
hdr_entries=128
hdr_entsz=128
Current partition structure:
 1 P MS Data                     2048 3907028991 3907026944

search_part()
Disk /dev/rdisk1 - 2000 GB / 1863 GiB - CHS 7630917 16 32
check_FAT: Unusual media descriptor (0xf0!=0xf8)
FAT32 at 0/1/9
FAT1 : 32-3182
FAT2 : 3183-6333
start_rootdir : 6334 root cluster : 2
Data : 6334-409599
sectors : 409600
cluster_size : 1
no_of_cluster : 403266 (2 - 403267)
fat_length 3151 calculated 3151
FAT differs, FAT sectors=0-16/3151
set_FAT_info: name from BS used

FAT32 at 0/1/9
     EFI System                    40     409639     409600 [EFI]
     FAT32, blocksize=512, 209 MB / 200 MiB

block_group_nr 3

recover_EXT2: "e2fsck -b 98304 -B 4096 device" may be needed
recover_EXT2: s_block_group_nr=3/14904, s_mnt_count=1/22, s_blocks_per_group=32768, s_inodes_per_group=8192
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 488378368
recover_EXT2: part_size 3907026944
     MS Data                     2046 3907028989 3907026944
     ext3 blocksize=4096 Large file Sparse superblock Backup superblock, 2000 GB / 1863 GiB

Results
     EFI System                    40     409639     409600 [EFI]
     FAT32, blocksize=512, 209 MB / 200 MiB
     MS Data                     2046 3907028989 3907026944
     ext3 blocksize=4096 Large file Sparse superblock Backup superblock, 2000 GB / 1863 GiB

interface_write()
 
No partition found or selected for recovery

search_part()
Disk /dev/rdisk1 - 2000 GB / 1863 GiB - CHS 7630917 16 32
check_FAT: Unusual media descriptor (0xf0!=0xf8)
FAT32 at 0/1/9
FAT1 : 32-3182
FAT2 : 3183-6333
start_rootdir : 6334 root cluster : 2
Data : 6334-409599
sectors : 409600
cluster_size : 1
no_of_cluster : 403266 (2 - 403267)
fat_length 3151 calculated 3151
FAT differs, FAT sectors=0-16/3151
set_FAT_info: name from BS used

FAT32 at 0/1/9
     EFI System                    40     409639     409600 [EFI]
     FAT32, blocksize=512, 209 MB / 200 MiB
check_FAT: Unusual media descriptor (0xf0!=0xf8)
FAT32 at 0/1/15
FAT1 : 32-3182
FAT2 : 3183-6333
start_rootdir : 6334 root cluster : 2
Data : 6334-409599
sectors : 409600
cluster_size : 1
no_of_cluster : 403266 (2 - 403267)
fat_length 3151 calculated 3151
FAT differs, FAT sectors=0-16/3151
set_FAT_info: name from BS used

FAT32 at 0/1/15
     EFI System                    46     409645     409600 [EFI]
     FAT32, blocksize=512, 209 MB / 200 MiB

recover_EXT2: s_block_group_nr=0/14904, s_mnt_count=3/22, s_blocks_per_group=32768, s_inodes_per_group=8192
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 488378368
recover_EXT2: part_size 3907026944
     MS Data                     2048 3907028991 3907026944
     ext3 blocksize=4096 Large file Sparse superblock, 2000 GB / 1863 GiB

block_group_nr 1

recover_EXT2: "e2fsck -b 32768 -B 4096 device" may be needed
recover_EXT2: s_block_group_nr=1/14904, s_mnt_count=1/22, s_blocks_per_group=32768, s_inodes_per_group=8192
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 488378368
recover_EXT2: part_size 3907026944
     MS Data                     2046 3907028989 3907026944
     ext3 blocksize=4096 Large file Sparse superblock Backup superblock, 2000 GB / 1863 GiB

block_group_nr 1

recover_EXT2: "e2fsck -b 32768 -B 4096 device" may be needed
recover_EXT2: s_block_group_nr=1/14904, s_mnt_count=1/22, s_blocks_per_group=32768, s_inodes_per_group=8192
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 488378368
recover_EXT2: part_size 3907026944
     MS Data                     2048 3907028991 3907026944
     ext3 blocksize=4096 Large file Sparse superblock Backup superblock, 2000 GB / 1863 GiB

block_group_nr 3

recover_EXT2: "e2fsck -b 98304 -B 4096 device" may be needed
recover_EXT2: s_block_group_nr=3/14904, s_mnt_count=1/22, s_blocks_per_group=32768, s_inodes_per_group=8192
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 488378368
recover_EXT2: part_size 3907026944
     MS Data                     2046 3907028989 3907026944
     ext3 blocksize=4096 Large file Sparse superblock Backup superblock, 2000 GB / 1863 GiB

block_group_nr 3

recover_EXT2: "e2fsck -b 98304 -B 4096 device" may be needed
recover_EXT2: s_block_group_nr=3/14904, s_mnt_count=1/22, s_blocks_per_group=32768, s_inodes_per_group=8192
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 488378368
recover_EXT2: part_size 3907026944
     MS Data                     2048 3907028991 3907026944
     ext3 blocksize=4096 Large file Sparse superblock Backup superblock, 2000 GB / 1863 GiB

block_group_nr 5

recover_EXT2: "e2fsck -b 163840 -B 4096 device" may be needed
recover_EXT2: s_block_group_nr=5/14904, s_mnt_count=1/22, s_blocks_per_group=32768, s_inodes_per_group=8192
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 488378368
recover_EXT2: part_size 3907026944
     MS Data                     2046 3907028989 3907026944
     ext3 blocksize=4096 Large file Sparse superblock Backup superblock, 2000 GB / 1863 GiB

block_group_nr 5

recover_EXT2: "e2fsck -b 163840 -B 4096 device" may be needed
recover_EXT2: s_block_group_nr=5/14904, s_mnt_count=1/22, s_blocks_per_group=32768, s_inodes_per_group=8192
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 488378368
recover_EXT2: part_size 3907026944
     MS Data                     2048 3907028991 3907026944
     ext3 blocksize=4096 Large file Sparse superblock Backup superblock, 2000 GB / 1863 GiB

block_group_nr 7

recover_EXT2: "e2fsck -b 229376 -B 4096 device" may be needed
recover_EXT2: s_block_group_nr=7/14904, s_mnt_count=1/22, s_blocks_per_group=32768, s_inodes_per_group=8192
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 488378368
recover_EXT2: part_size 3907026944
     MS Data                     2046 3907028989 3907026944
     ext3 blocksize=4096 Large file Sparse superblock Backup superblock, 2000 GB / 1863 GiB

block_group_nr 7

recover_EXT2: "e2fsck -b 229376 -B 4096 device" may be needed
recover_EXT2: s_block_group_nr=7/14904, s_mnt_count=1/22, s_blocks_per_group=32768, s_inodes_per_group=8192
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 488378368
recover_EXT2: part_size 3907026944
     MS Data                     2048 3907028991 3907026944
     ext3 blocksize=4096 Large file Sparse superblock Backup superblock, 2000 GB / 1863 GiB

block_group_nr 9

recover_EXT2: "e2fsck -b 294912 -B 4096 device" may be needed
recover_EXT2: s_block_group_nr=9/14904, s_mnt_count=1/22, s_blocks_per_group=32768, s_inodes_per_group=8192
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 488378368
recover_EXT2: part_size 3907026944
     MS Data                     2046 3907028989 3907026944
     ext3 blocksize=4096 Large file Sparse superblock Backup superblock, 2000 GB / 1863 GiB

block_group_nr 9

recover_EXT2: "e2fsck -b 294912 -B 4096 device" may be needed
recover_EXT2: s_block_group_nr=9/14904, s_mnt_count=1/22, s_blocks_per_group=32768, s_inodes_per_group=8192
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 488378368
recover_EXT2: part_size 3907026944
     MS Data                     2048 3907028991 3907026944
     ext3 blocksize=4096 Large file Sparse superblock Backup superblock, 2000 GB / 1863 GiB

block_group_nr 25

recover_EXT2: "e2fsck -b 819200 -B 4096 device" may be needed
recover_EXT2: s_block_group_nr=25/14904, s_mnt_count=1/22, s_blocks_per_group=32768, s_inodes_per_group=8192
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 488378368
recover_EXT2: part_size 3907026944
     MS Data                     2046 3907028989 3907026944
     ext3 blocksize=4096 Large file Sparse superblock Backup superblock, 2000 GB / 1863 GiB

block_group_nr 25

recover_EXT2: "e2fsck -b 819200 -B 4096 device" may be needed
recover_EXT2: s_block_group_nr=25/14904, s_mnt_count=1/22, s_blocks_per_group=32768, s_inodes_per_group=8192
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 488378368
recover_EXT2: part_size 3907026944
     MS Data                     2048 3907028991 3907026944
     ext3 blocksize=4096 Large file Sparse superblock Backup superblock, 2000 GB / 1863 GiB

block_group_nr 27

recover_EXT2: "e2fsck -b 884736 -B 4096 device" may be needed
recover_EXT2: s_block_group_nr=27/14904, s_mnt_count=1/22, s_blocks_per_group=32768, s_inodes_per_group=8192
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 488378368
recover_EXT2: part_size 3907026944
     MS Data                     2046 3907028989 3907026944
     ext3 blocksize=4096 Large file Sparse superblock Backup superblock, 2000 GB / 1863 GiB

block_group_nr 27

recover_EXT2: "e2fsck -b 884736 -B 4096 device" may be needed
recover_EXT2: s_block_group_nr=27/14904, s_mnt_count=1/22, s_blocks_per_group=32768, s_inodes_per_group=8192
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 488378368
recover_EXT2: part_size 3907026944
     MS Data                     2048 3907028991 3907026944
     ext3 blocksize=4096 Large file Sparse superblock Backup superblock, 2000 GB / 1863 GiB

block_group_nr 49

recover_EXT2: "e2fsck -b 1605632 -B 4096 device" may be needed
recover_EXT2: s_block_group_nr=49/14904, s_mnt_count=1/22, s_blocks_per_group=32768, s_inodes_per_group=8192
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 488378368
recover_EXT2: part_size 3907026944
     MS Data                     2046 3907028989 3907026944
     ext3 blocksize=4096 Large file Sparse superblock Backup superblock, 2000 GB / 1863 GiB

block_group_nr 49

recover_EXT2: "e2fsck -b 1605632 -B 4096 device" may be needed
recover_EXT2: s_block_group_nr=49/14904, s_mnt_count=1/22, s_blocks_per_group=32768, s_inodes_per_group=8192
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 488378368
recover_EXT2: part_size 3907026944
     MS Data                     2048 3907028991 3907026944
     ext3 blocksize=4096 Large file Sparse superblock Backup superblock, 2000 GB / 1863 GiB

block_group_nr 81

recover_EXT2: "e2fsck -b 2654208 -B 4096 device" may be needed
recover_EXT2: s_block_group_nr=81/14904, s_mnt_count=1/22, s_blocks_per_group=32768, s_inodes_per_group=8192
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 488378368
recover_EXT2: part_size 3907026944
     MS Data                     2046 3907028989 3907026944
     ext3 blocksize=4096 Large file Sparse superblock Backup superblock, 2000 GB / 1863 GiB

block_group_nr 81

recover_EXT2: "e2fsck -b 2654208 -B 4096 device" may be needed
recover_EXT2: s_block_group_nr=81/14904, s_mnt_count=1/22, s_blocks_per_group=32768, s_inodes_per_group=8192
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 488378368
recover_EXT2: part_size 3907026944
     MS Data                     2048 3907028991 3907026944
     ext3 blocksize=4096 Large file Sparse superblock Backup superblock, 2000 GB / 1863 GiB
Search for partition aborted

Results
     EFI System                    40     409639     409600 [EFI]
     FAT32, blocksize=512, 209 MB / 200 MiB
     EFI System                    46     409645     409600 [EFI]
     FAT32, blocksize=512, 209 MB / 200 MiB
     MS Data                     2046 3907028989 3907026944
     ext3 blocksize=4096 Large file Sparse superblock Backup superblock, 2000 GB / 1863 GiB
     MS Data                     2048 3907028991 3907026944
     ext3 blocksize=4096 Large file Sparse superblock, 2000 GB / 1863 GiB

interface_write()
 
No partition found or selected for recovery
simulate write!

TestDisk exited normally.
I attempted to assign the MS Data as Primary, but I get a "Write Error" when attempting to write. I have also attempted to use gparted to resize and shift the MS Data partition, but gparted says that the entire drive is unallocated.

Any suggestions on how I might be able to resolve this problem?

Thanks
Locked