Crashed HD in Macbook

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
webby
Posts: 3
Joined: 10 May 2016, 19:13

Crashed HD in Macbook

#1 Post by webby »

Hi Guys,
my 8 Months old Data HD in Macbook - besides SSD for Operating System - crashed while Usage.
It is still rotating, but askes for "Initialising" -> formating. I am always using escape, there is no possibility to see partition on "First Aid" by Apple.
So Thank you very much for TestDisk - hopefully it will help to recover my important data... :oops:
I am reading rdisk2 in TestDisk and 2000GB is correct, showing 3907029168 sectors. Here is the full code - is it scanning?

Code: Select all

TestDisk 7.0, Data Recovery Utility, April 2015
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

Disk /dev/rdisk2 - 2000 GB / 1863 GiB - 3907029168 sectors

check_FAT: Unusual media descriptor (0xf0!=0xf8)
Warning: number of heads/cylinder mismatches 16 (FAT) != 1 (HD)
Warning: number of sectors per track mismatches 32 (FAT) != 1 (HD)
  EFI System                    40     409639     409600 [EFI]
  Mac HFS                   409640 3906766983 3906357344

  Stop  

How long does it need for 2TB? Thanks for your help!

User avatar
cgrenier
Site Admin
Posts: 5432
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: Crashed HD in Macbook

#2 Post by cgrenier »

Can you copy/paste the testdisk.log file ?
If the partition isn't deleted, there is no need to use "Analyse" to search for a lost partition. You should use Advanced instead.

webby
Posts: 3
Joined: 10 May 2016, 19:13

Re: Crashed HD in Macbook

#3 Post by webby »

Started again, had no sudo:

I think it is still the "Quick Search", right?

Code: Select all

Command line: TestDisk

TestDisk 7.0, Data Recovery Utility, April 2015
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Darwin, kernel 15.4.0 (Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05 PST 2016; root:xnu-3248.4
Compiler: GCC 4.0
Compilation date: 2015-04-18T13:01:34
ext2fs lib: 1.42.8, ntfs lib: libntfs-3g, reiserfs lib: 0.3.1-rc8, ewf lib: 20120504, curses lib: ncurses 5.4
Hard disk list
Disk /dev/disk0 - 256 GB / 238 GiB - 500118192 sectors (RO), sector size=512
Disk /dev/disk2 - 2000 GB / 1863 GiB - 3907029168 sectors, sector size=512
Disk /dev/rdisk0 - 256 GB / 238 GiB - 500118192 sectors (RO), sector size=512
Disk /dev/rdisk1 - 254 GB / 237 GiB - 497713920 sectors (RO), sector size=512
Disk /dev/rdisk2 - 2000 GB / 1863 GiB - 3907029168 sectors, sector size=512

Partition table type (auto): Intel
Disk /dev/rdisk2 - 2000 GB / 1863 GiB
Partition table type: EFI GPT

Analyse Disk /dev/rdisk2 - 2000 GB / 1863 GiB - 3907029168 sectors
file_pread(8,16,buffer,1(1/0/1)) read err: Input/output error
hdr_size=92
hdr_lba_self=1
hdr_lba_alt=3907029167 (expected 3907029167)
hdr_lba_start=34
hdr_lba_end=3907029134
hdr_lba_table=2
hdr_entries=128
hdr_entsz=128
file_pread(8,32,buffer,2(2/0/1)) read err: Input/output error
Current partition structure:
 1 P EFI System                    40     409639     409600
 2 P Mac HFS                   409640 3906766983 3906357344

search_part()
Disk /dev/rdisk2 - 2000 GB / 1863 GiB - 3907029168 sectors
file_pread(8,16,buffer,34(34/0/1)) read err: Input/output error
file_pread(8,16,buffer,35(35/0/1)) read err: Input/output error
file_pread(8,16,buffer,36(36/0/1)) read err: Input/output error
file_pread(8,16,buffer,50(50/0/1)) read err: Input/output error
file_pread(8,16,buffer,97(97/0/1)) read err: Input/output error
file_pread(8,16,buffer,113(113/0/1)) read err: Input/output error
file_pread(8,16,buffer,160(160/0/1)) read err: Input/output error
file_pread(8,16,buffer,2082(2082/0/1)) read err: Input/output error
file_pread(8,16,buffer,35(35/0/1)) read err: Input/output error
file_pread(8,16,buffer,36(36/0/1)) read err: Input/output error
file_pread(8,16,buffer,37(37/0/1)) read err: Input/output error
file_pread(8,16,buffer,51(51/0/1)) read err: Input/output error
file_pread(8,16,buffer,98(98/0/1)) read err: Input/output error
file_pread(8,16,buffer,114(114/0/1)) read err: Input/output error
file_pread(8,1,buffer,114(114/0/1)) read err: Input/output error
file_pread(8,11,buffer,161(161/0/1)) read err: Input/output error
file_pread(8,16,buffer,36(36/0/1)) read err: Input/output error
file_pread(8,16,buffer,37(37/0/1)) read err: Input/output error
file_pread(8,16,buffer,38(38/0/1)) read err: Input/output error
file_pread(8,1,buffer,39(39/0/1)) read err: Input/output error
file_pread(8,8,buffer,44(44/0/1)) read err: Input/output error
file_pread(8,3,buffer,52(52/0/1)) read err: Input/output error
file_pread(8,16,buffer,115(115/0/1)) read err: Input/output error
file_pread(8,1,buffer,121(121/0/1)) read err: Input/output error
file_pread(8,11,buffer,162(162/0/1)) read err: Input/output error
file_pread(8,16,buffer,37(37/0/1)) read err: Input/output error
file_pread(8,1,buffer,37(37/0/1)) read err: Input/output error
file_pread(8,16,buffer,39(39/0/1)) read err: Input/output error
file_pread(8,1,buffer,43(43/0/1)) read err: Input/output error
file_pread(8,8,buffer,45(45/0/1)) read err: Input/output error
file_pread(8,3,buffer,53(53/0/1)) read err: Input/output error
file_pread(8,3,buffer,100(100/0/1)) read err: Input/output error
file_pread(8,8,buffer,116(116/0/1)) read err: Input/output error
file_pread(8,1,buffer,173(173/0/1)) read err: Input/output error
file_pread(8,16,buffer,44(44/0/1)) read err: Input/output error
file_pread(8,16,buffer,56(56/0/1)) read err: Input/output error
file_pread(8,16,buffer,103(103/0/1)) read err: Input/output error
file_pread(8,16,buffer,124(124/0/1)) read err: Input/output error
file_pread(8,16,buffer,164(164/0/1)) read err: Input/output error
file_pread(8,16,buffer,2086(2086/0/1)) read err: Input/output error
file_pread(8,16,buffer,39(39/0/1)) read err: Input/output error
file_pread(8,16,buffer,40(40/0/1)) read err: Input/output error
file_pread(8,16,buffer,41(41/0/1)) read err: Input/output error
file_pread(8,1,buffer,42(42/0/1)) read err: Input/output error
file_pread(8,8,buffer,47(47/0/1)) read err: Input/output error
file_pread(8,3,buffer,55(55/0/1)) read err: Input/output error
file_pread(8,3,buffer,102(102/0/1)) read err: Input/output error
file_pread(8,8,buffer,118(118/0/1)) read err: Input/output error
file_pread(8,11,buffer,165(165/0/1)) read err: Input/output error
file_pread(8,16,buffer,43(43/0/1)) read err: Input/output error
file_pread(8,16,buffer,58(58/0/1)) read err: Input/output error
file_pread(8,16,buffer,105(105/0/1)) read err: Input/output error
file_pread(8,16,buffer,126(126/0/1)) read err: Input/output error
file_pread(8,16,buffer,176(176/0/1)) read err: Input/output error
file_pread(8,16,buffer,2089(2089/0/1)) read err: Input/output error
file_pread(8,16,buffer,41(41/0/1)) read err: Input/output error
file_pread(8,16,buffer,42(42/0/1)) read err: Input/output error
file_pread(8,16,buffer,43(43/0/1)) read err: Input/output error
file_pread(8,16,buffer,57(57/0/1)) read err: Input/output error
file_pread(8,16,buffer,104(104/0/1)) read err: Input/output error
file_pread(8,16,buffer,120(120/0/1)) read err: Input/output error
file_pread(8,1,buffer,122(122/0/1)) read err: Input/output error
file_pread(8,1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\08/0/1)) read err: Input/output error

HFS+ magic value at 409640/0/1
file_pread(8,16,buffer,3906766982(3906766982/0/1)) read err: Input/output error

HFS+ magic value at 409640/0/1
part_size 3906357344
     Mac HFS                   409640 3906766983 3906357344
     HFS+ blocksize=4096 + Backup, 2000 GB / 1862 GiB
file_pread(8,16,buffer,3906766984(3906766984/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906766985(3906766985/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906766986(3906766986/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767000(3906767000/0/1)) read err: Input/output error
file_pread(8,1,buffer,3906767000(3906767000/0/1)) read err: Input/output error
file_pread(8,3,buffer,3906767047(3906767047/0/1)) read err: Input/output error
file_pread(8,8,buffer,3906767063(3906767063/0/1)) read err: Input/output error
file_pread(8,11,buffer,3906767110(3906767110/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906766985(3906766985/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906766986(3906766986/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906766987(3906766987/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767001(3906767001/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767048(3906767048/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767064(3906767064/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767111(3906767111/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906769033(3906769033/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906766986(3906766986/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906766987(3906766987/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906766988(3906766988/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767002(3906767002/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767049(3906767049/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767065(3906767065/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767112(3906767112/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906769034(3906769034/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906766987(3906766987/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906766988(3906766988/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906766989(3906766989/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767003(3906767003/0/1)) read err: Input/output error
file_pread(8,1,buffer,3906767004(3906767004/0/1)) read err: Input/output error
file_pread(8,3,buffer,3906767050(3906767050/0/1)) read err: Input/output error
file_pread(8,8,buffer,3906767066(3906767066/0/1)) read err: Input/output error
file_pread(8,11,buffer,3906767113(3906767113/0/1)) read err: Input/output error
file_pread(8,2,buffer,3906769035(3906769035/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906766989(3906766989/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906766990(3906766990/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767004(3906767004/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767051(3906767051/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767067(3906767067/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767114(3906767114/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906769036(3906769036/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906766989(3906766989/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906766990(3906766990/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906766991(3906766991/0/1)) read err: Input/output error
file_pread(8,1,buffer,3906767002(3906767002/0/1)) read err: Input/output error
file_pread(8,2,buffer,3906767003(3906767003/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767052(3906767052/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767068(3906767068/0/1)) read err: Input/output error
file_pread(8,1,buffer,3906767072(3906767072/0/1)) read err: Input/output error
file_pread(8,11,buffer,3906767115(3906767115/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906766990(3906766990/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906766991(3906766991/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906766992(3906766992/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767006(3906767006/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767053(3906767053/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767069(3906767069/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767116(3906767116/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906769038(3906769038/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906766991(3906766991/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906766992(3906766992/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906766993(3906766993/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767007(3906767007/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767054(3906767054/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767070(3906767070/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767117(3906767117/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906769039(3906769039/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906766992(3906766992/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906766993(3906766993/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906766994(3906766994/0/1)) read err: Input/output error
file_pread(8,1,buffer,3906767006(3906767006/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767008(3906767008/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767055(3906767055/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767071(3906767071/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767118(3906767118/0/1)) read err: Input/output error
file_pread(8,1,buffer,3906767125(3906767125/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906766993(3906766993/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906766994(3906766994/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906766995(3906766995/0/1)) read err: Input/output error
file_pread(8,1,buffer,3906766995(3906766995/0/1)) read err: Input/output error
file_pread(8,8,buffer,3906767001(3906767001/0/1)) read err: Input/output error
file_pread(8,3,buffer,3906767009(3906767009/0/1)) read err: Input/output error
file_pread(8,3,buffer,3906767056(3906767056/0/1)) read err: Input/output error
file_pread(8,8,buffer,3906767072(3906767072/0/1)) read err: Input/output error
file_pread(8,11,buffer,3906767119(3906767119/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906766996(3906766996/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767012(3906767012/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767059(3906767059/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767080(3906767080/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767130(3906767130/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906769043(3906769043/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906766995(3906766995/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906766996(3906766996/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906766997(3906766997/0/1)) read err: Input/output error
file_pread(8,1,buffer,3906767000(3906767000/0/1)) read err: Input/output error
file_pread(8,8,buffer,3906767003(3906767003/0/1)) read err: Input/output error
file_pread(8,3,buffer,3906767011(3906767011/0/1)) read err: Input/output error
file_pread(8,3,buffer,3906767058(3906767058/0/1)) read err: Input/output error
file_pread(8,8,buffer,3906767074(3906767074/0/1)) read err: Input/output error
file_pread(8,11,buffer,3906767121(3906767121/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767001(3906767001/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767014(3906767014/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767061(3906767061/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767082(3906767082/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767132(3906767132/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906769045(3906769045/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906766997(3906766997/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906766998(3906766998/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906766999(3906766999/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767013(3906767013/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767060(3906767060/0/1)) read err: Input/output error
file_pread(8,1,buffer,3906767060(3906767060/0/1)) read err: Input/output error
file_pread(8,8,buffer,3906767076(3906767076/0/1)) read err: Input/output error
file_pread(8,11,buffer,3906767123(3906767123/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906766998(3906766998/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906766999(3906766999/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767000(3906767000/0/1)) read err: Input/output error
file_pread(8,1,buffer,3906767007(3906767007/0/1)) read err: Input/output error
file_pread(8,6,buffer,3906767008(3906767008/0/1)) read err: Input/output error
file_pread(8,3,buffer,3906767014(3906767014/0/1)) read err: Input/output error
file_pread(8,3,buffer,3906767061(3906767061/0/1)) read err: Input/output error
file_pread(8,8,buffer,3906767077(3906767077/0/1)) read err: Input/output error
file_pread(8,11,buffer,3906767124(3906767124/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767017(3906767017/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767064(3906767064/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767085(3906767085/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767135(3906767135/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906769048(3906769048/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767000(3906767000/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767001(3906767001/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767002(3906767002/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767016(3906767016/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767063(3906767063/0/1)) read err: Input/output error
file_pread(8,1,buffer,3906767065(3906767065/0/1)) read err: Input/output error
file_pread(8,8,buffer,3906767079(3906767079/0/1)) read err: Input/output error
file_pread(8,11,buffer,3906767126(3906767126/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767001(3906767001/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767002(3906767002/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767003(3906767003/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767017(3906767017/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767064(3906767064/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767080(3906767080/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767127(3906767127/0/1)) read err: Input/output error
file_pread(8,1,buffer,3906767131(3906767131/0/1)) read err: Input/output error
file_pread(8,2,buffer,3906769049(3906769049/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767003(3906767003/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767004(3906767004/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767018(3906767018/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767065(3906767065/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767081(3906767081/0/1)) read err: Input/output error
file_pread(8,16,buffer,3906767128(3906767128/0/1)) read err: Input/output error
file_pread(8,1,buffer,3906767137(3906767137/0/1)) read err: Input/output error

webby
Posts: 3
Joined: 10 May 2016, 19:13

Re: Crashed HD in Macbook

#4 Post by webby »

Any suggestions?

Locked