External WD drive

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
kimbersc
Posts: 1
Joined: 15 Oct 2013, 07:33

External WD drive

#1 Post by kimbersc »

Currently have a 500 GB WD drive that has been working without problems using a Mac. I can't recall if I formatted it for use in both PC/Mac or just for a Mac. While it was connected, the connection to the hard drive came loose and the drive was unmounted improperly. Now when I connect the HD, the computer reads the "WD Smartware" portion of the drive but not the main partition. The first time I plugged it in I get the initialise/ignore popup. I tried running TestDisk, it automatically recognises the drive as a EFI GPT but when trying to Analyse it I get "Bad GPT partition, invalid signature". When I ran the drive as an Intel, I get the attached log. I tried running it on a deeper search but it freezes at 23%. Any help or guidance is greatly appreciated.
BAD_RS LBA=XXXXXXXXXXXXX
check_FAT: can't read FAT boot sector
check_part_i386 failed for partition type XX
HPFS - NTFS XXXXX XXXXX XXXXX
FATXX <XX XXXXX XXXXXX XXXXX
This partition ends after the disk limits.

Code: Select all

TestDisk

TestDisk 6.14, Data Recovery Utility, July 2013
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Darwin, kernel 11.4.2 (Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012; root:xnu-1699.3
Compiler: GCC 4.0
Compilation date: 2013-07-30T14:08:37
ext2fs lib: 1.41.8, ntfs lib: libntfs-3g, reiserfs lib: 0.3.1-rc8, ewf lib: 20120504
Hard disk list
Disk /dev/disk0 - 121 GB / 113 GiB - 236978176 sectors (RO), sector size=512
Disk /dev/disk1 - 499 GB / 465 GiB - 975400960 sectors, sector size=512
Disk /dev/disk2 - 804 MB / 767 MiB - 342016 sectors (RO), sector size=2352
Disk /dev/rdisk0 - 121 GB / 113 GiB - 236978176 sectors (RO), sector size=512
Disk /dev/rdisk1 - 499 GB / 465 GiB - 975400960 sectors, sector size=512
Disk /dev/rdisk2 - 804 MB / 767 MiB - 342016 sectors (RO), sector size=2352

Partition table type default to EFI GPT
Disk /dev/rdisk1 - 499 GB / 465 GiB
Partition table type: Intel

Analyse Disk /dev/rdisk1 - 499 GB / 465 GiB - 975400960 sectors
Current partition structure:

Partition sector doesn't have the endmark 0xAA55

search_part()
Disk /dev/rdisk1 - 499 GB / 465 GiB - 975400960 sectors
BAD_RS LBA=3542806872 567
check_part_i386 failed for partition type 07
     HPFS - NTFS           3542806872 3989369206  446562335
This partition ends after the disk limits. (start=3542806872, size=446562335, end=3989369206, disk end=975400960)
BAD_RS LBA=3979182693 708
check_FAT: can't read FAT boot sector
check_part_i386 failed for partition type 0E
     FAT16 LBA             3979182693 7177487430 3198304738
This partition ends after the disk limits. (start=3979182693, size=3198304738, end=2882520134, disk end=975400960)
BAD_RS LBA=777641521 764
check_part_i386 failed for partition type 0C

Disk /dev/rdisk1 - 499 GB / 465 GiB - 975400960 sectors
Check the harddisk size: HD jumpers settings, BIOS detection...
The harddisk (499 GB / 465 GiB) seems too small! (< 4727 GB / 4403 GiB)
The following partitions can't be recovered:
     FAT16 <32M             729232345 4487748544 3758516200
     FAT12                  751935405 2927117111 2175181707
     FAT32 LBA              777641521 3345892850 2568251330
     FAT32                  844523246 4123793336 3279270091
     FAT16 <32M             860498742 5003500984 4143002243
     FAT12                  868628446 1214535344  345906899
     HPFS - NTFS            981980022 2834163497 1852183476
     FAT12                  984105154 4456609651 3472504498
     FAT16 >32M             993304173 3410252471 2416948299
     HPFS - NTFS           1009318844 5045015880 4035697037
     FAT16 >32M            1063760104 2125227166 1061467063
     FAT12                 1106172011 5045173189 3939001179
     FAT12                 1106784014 4486078405 3379294392
     FAT12                 1146164122 4847865298 3701701177
     FAT32 LBA             1150895534 2637120890 1486225357
     FAT12                 1153252524 4915077806 3761825283
     HPFS - NTFS           1186686506 2424719213 1238032708
     FAT32 LBA             1237122763 2500407319 1263284557
     FAT16 >32M            1246238791 3127902829 1881664039
     HPFS - NTFS           1264892752 3769911251 2505018500
     FAT32                 1268779491 3879560546 2610781056
     FAT16 >32M            1296445631 4894478623 3598032993
     FAT16 LBA             1298285773 4429378103 3131092331
     FAT16 LBA             1328605174 2032644265  704039092
     FAT16 LBA             1346396127 2969969372 1623573246
     FAT32 LBA             1379481952 3867711674 2488229723
     FAT32                 1398351507 1399997936    1646430
     FAT16 <32M            1441912320 5447798687 4005886368
     HPFS - NTFS           1449669507 4655527618 3205858112
     FAT32                 1471669162 3736764367 2265095206
     FAT16 <32M            1475094293 5073038084 3597943792
     FAT32                 1479299572 4382764360 2903464789
     FAT16 LBA             1498182727 1602234543  104051817
     FAT16 LBA             1505145082 2121338946  616193865
     FAT32 LBA             1507061543 2504795208  997733666
     FAT16 >32M            1545432727 5143316654 3597883928
     FAT32                 1596434080 3105484703 1509050624
     FAT16 >32M            1604958647 2671360780 1066402134
     FAT32                 1617605386 2157887262  540281877
     FAT16 LBA             1622917789 3379596732 1756678944
     FAT16 LBA             1663888594 4467751116 2803862523
     HPFS - NTFS           1664909067 4355400581 2690491515
     FAT16 <32M            1695419288 3830239330 2134820043
     FAT16 <32M            1696555384 5047642566 3351087183
     FAT32 LBA             1710548760 3037052796 1326504037
     FAT12                 1736018136 4112610692 2376592557
     FAT12                 1750381312 2675263539  924882228
     FAT16 <32M            1762934045 2237847570  474913526
     FAT12                 1765450578 5467624948 3702174371
     FAT12                 1776281118 3434029721 1657748604
     FAT32 LBA             1818890344 4965868148 3146977805
     HPFS - NTFS           1875926232 5317049608 3441123377
     FAT16 LBA             1895404464 5032593753 3137189290
     FAT32 LBA             1907171932 5218056811 3310884880
     HPFS - NTFS           1919436556 2873776092  954339537
     FAT32 LBA             1929891475 2039170926  109279452
     FAT32 LBA             1931946366 2335073744  403127379
     FAT16 <32M            1933795348 6154757112 4220961765
     FAT16 LBA             1934592931 3880228067 1945635137
     FAT32 LBA             1944693687 5205295001 3260601315
     FAT32                 1980729412 3104597071 1123867660
     FAT16 >32M            1983674153 4960128959 2976454807
     HPFS - NTFS           2003115506 3201413874 1198298369
     FAT32                 2006395743 2472916731  466520989
     FAT16 <32M            2008335945 3905829629 1897493685
     FAT16 <32M            2008348712 3999130010 1990781299
     HPFS - NTFS           2012119617 3523882505 1511762889
     FAT32 LBA             2020568293 6263416867 4242848575
     FAT16 >32M            2034417241 5380397018 3345979778
     HPFS - NTFS           2082839497 5211046366 3128206870
     FAT12                 2104842939 3377367151 1272524213
     FAT16 >32M            2172839907 3166350514  993510608
     FAT32                 2181803529 3666145051 1484341523
     FAT32 LBA             2204045346 4537329896 2333284551
     FAT12                 2284154149 3561478462 1277324314
     FAT16 >32M            2303449089 4634194746 2330745658
     FAT12                 2303528914 4640385287 2336856374
     FAT16 <32M            2330254723 5278963762 2948709040
     FAT16 LBA             2337714252 3531440588 1193726337
     FAT16 >32M            2366954922 6293828550 3926873629
     FAT16 LBA             2425722464 3878518213 1452795750
     HPFS - NTFS           2440496091 2665555392  225059302
     FAT16 <32M            2482811044 3596542024 1113730981
     FAT32                 2489129049 3929244727 1440115679
     FAT32 LBA             2490239097 4734282972 2244043876
     FAT12                 2491029008 6474454861 3983425854
     FAT16 >32M            2497836362 2709178016  211341655
     FAT32 LBA             2515253722 5185200398 2669946677
     FAT16 LBA             2545167067 6413434842 3868267776
     FAT16 <32M            2570914212 5567689265 2996775054
     FAT16 LBA             2571242545 4651992484 2080749940
     FAT16 <32M            2621447814 4983612565 2362164752
     FAT32                 2641264362 4021200360 1379935999
     FAT32 LBA             2654785684 2864331609  209545926
     FAT16 LBA             2654899389 6416548814 3761649426
     HPFS - NTFS           2710132638 2907783662  197651025
     FAT16 LBA             2723053279 3883472215 1160418937
     FAT16 >32M            2727689053 3780571010 1052881958
     FAT32 LBA             2729126975 4415196436 1686069462
     FAT32                 2786559625 5246411097 2459851473
     FAT32                 2808443631 3464452776  656009146
     FAT12                 2820267881 5838554174 3018286294
     FAT16 <32M            2844181252 6217382063 3373200812
     FAT16 >32M            2845708714 3408781061  563072348
     FAT32                 2860488120 6686213198 3825725079
     FAT32 LBA             2894012167 5755310259 2861298093
     FAT16 <32M            2924028998 6170857075 3246828078
     FAT16 >32M            2933870128 5825904815 2892034688
     FAT16 LBA             2950738111 5856087213 2905349103
     FAT16 >32M            3012135212 3896238664  884103453
     FAT32                 3014675314 3598873036  584197723
     HPFS - NTFS           3050483767 4798901109 1748417343
     FAT12                 3054451141 3933966173  879515033
     FAT16 LBA             3077226533 4822151158 1744924626
     FAT16 <32M            3080731334 4481453055 1400721722
     FAT16 LBA             3145431471 3648941323  503509853
     FAT16 <32M            3161287661 3380630722  219343062
     FAT32 LBA             3202249747 5977677414 2775427668
     FAT32                 3212448056 6712284954 3499836899
     FAT16 >32M            3214388029 6695715488 3481327460
     FAT32                 3238837797 4720679455 1481841659
     FAT32 LBA             3260241648 5431675371 2171433724
     FAT16 <32M            3286269181 7199718490 3913449310
     FAT32                 3311541816 5777127955 2465586140
     FAT32                 3318372452 7422556719 4104184268
     FAT32                 3331501732 4100303377  768801646
     FAT32 LBA             3333605375 4808475485 1474870111
     FAT16 >32M            3359519937 6869322890 3509802954
     FAT16 <32M            3396084947 7127890123 3731805177
     FAT16 <32M            3411845040 5971490505 2559645466
     HPFS - NTFS           3445680910 5374453239 1928772330
     FAT32                 3488923164 7423279163 3934356000
     FAT16 >32M            3494125208 7760392787 4266267580
     FAT32 LBA             3529233959 5752957228 2223723270
     HPFS - NTFS           3542806872 3989369206  446562335
     FAT16 LBA             3543166921 4181846749  638679829
     HPFS - NTFS           3567390179 4796315847 1228925669
     FAT16 >32M            3577057475 4372267827  795210353
     FAT32                 3609465392 6505822094 2896356703
     FAT16 <32M            3668443545 4139106269  470662725
     FAT12                 3771969378 5362192126 1590222749
     FAT16 <32M            3776044500 4557524977  781480478
     FAT16 LBA             3777708820 6612093801 2834384982
     HPFS - NTFS           3791048438 5092346712 1301298275
     HPFS - NTFS           3816337530 7039498643 3223161114
     HPFS - NTFS           3857451319 7941979785 4084528467
     FAT32 LBA             3893472664 7457026608 3563553945
     FAT16 LBA             3979182693 7177487430 3198304738
     FAT16 <32M            3991134796 4645547915  654413120
     FAT32                 3996133759 7465610321 3469476563
     HPFS - NTFS           4002662000 6398416423 2395754424
     FAT12                 4006502143 4174916165  168414023
     FAT32                 4009549870 7573217771 3563667902
     FAT16 <32M            4038491254 7280911102 3242419849
     FAT32                 4066328711 5463273919 1396945209
     FAT16 LBA             4071287422 8327794048 4256506627
     FAT32                 4089314169 6210307404 2120993236
     HPFS - NTFS           4091827825 7634761594 3542933770
     FAT32 LBA             4113085827 7999588233 3886502407
     FAT16 LBA             4178429643 5924943810 1746514168
     FAT32                 4248769133 6838402677 2589633545
     FAT16 >32M            4254760721 6289841044 2035080324
     FAT16 >32M            4261540333 7462597130 3201056798
     FAT12                 4264042389 7454132455 3190090067
     FAT16 LBA             4279291698 7089108951 2809817254
     FAT16 <32M            4292827339 8232344827 3939517489
     FAT12                 4309287749 4852254560  542966812
     HPFS - NTFS           4359126004 5497470331 1138344328
     FAT12                 4426655209 4849617633  422962425
     FAT12                 4442043158 6221708467 1779665310
     FAT16 <32M            4459410914 8033587245 3574176332
     FAT12                 4482536854 6457671589 1975134736
     FAT16 <32M            4528147032 8186260663 3658113632
     FAT16 <32M            4537222439 7745878937 3208656499
     HPFS - NTFS           4550107840 6595994599 2045886760
     FAT12                 4556826202 5192499833  635673632
     FAT16 <32M            4573194816 6804003633 2230808818
     FAT16 <32M            4630476361 4738691630  108215270
     FAT16 >32M            4637006810 7875750242 3238743433
     HPFS - NTFS           4678288632 8120303541 3442014910
     FAT32                 4715379994 8327681921 3612301928
     HPFS - NTFS           4724715667 6846587157 2121871491
     FAT16 LBA             4740243710 5231494385  491250676
     FAT16 <32M            4771332070 6461908781 1690576712
     FAT16 <32M            4796972900 8576587429 3779614530
     FAT32 LBA             4871814347 6175662837 1303848491
     FAT16 >32M            4873588731 9157833809 4284245079
     FAT32                 4892692550 7646107774 2753415225
     HPFS - NTFS           4912888622 7777399675 2864511054
     FAT32 LBA             4940726168 5683448817  742722650
     FAT16 <32M            4954022555 8012910929 3058888375
     FAT32                 4957160870 6625042616 1667881747
     FAT16 LBA             5152014731 9233782219 4081767489
get_geometry_from_list_part_aux head=1 nbr=2

Results
   * FAT12                   80649695  509349383  428699689


TestDisk exited normally.
Locked