Page 1 of 3

Mac Book Partition Map Receovery || Illegal Instruction 4

Posted: 17 May 2014, 02:41
by ameetmw
Hi.
Last night my system crashed and am trying to recover my data using testdisk

I downloaded,unzipped Mac OS X Intel version of testdisk and tried executing through terminal. I'm getting "Illegal Intruction 4" error when i try to execute testdisk.

Can some one please suggest me what should i do to pass this error message??

./testdisk
Illegal Intruction 4

Re: Mac Book Partition Map Receovery || Illegal Instruction

Posted: 07 Jul 2014, 03:50
by Blinkin
Getting same "Illegal instruction: 4" error in Terminal in Mountain Lion recovery mode.

Cannot proceed. Any suggestions?

Re: Mac Book Partition Map Receovery || Illegal Instruction

Posted: 07 Jul 2014, 05:35
by Fiona
Partition map is only intended to old Apple Power PC and not Intel.
If you have an Intel Mac you should use EFI GPT instead.

Fiona

Re: Mac Book Partition Map Receovery || Illegal Instruction

Posted: 07 Jul 2014, 06:21
by Blinkin
Thanks for the reply.

I don't even get a chance to enter "EFI GPT" for the partition type. The program doesn't execute.

Unless you're referring to running the powerpc binary as opposed to the intel. I correctly downloaded the intel one (http://www.cgsecurity.org/testdisk-7.0- ... el.tar.bz2). Could the 'testdisk' binary in that tarball be for the wrong architecture? Here's the output from 'file':

$file testdisk
testdisk: Mach-O executable i386

Re: Mac Book Partition Map Receovery || Illegal Instruction

Posted: 07 Jul 2014, 08:06
by Fiona
Currently I've no Mac available to test it.
I'll forward it to Christophe Grenier.
In the meantime, could you try testdisk 6.14?

Fiona

Re: Mac Book Partition Map Receovery || Illegal Instruction

Posted: 07 Jul 2014, 13:32
by Blinkin
Oops, I pasted the wrong link. 6.14 is the one I tried. I'll try 7.0 when I get home tonight.

Re: Mac Book Partition Map Receovery || Illegal Instruction

Posted: 08 Jul 2014, 03:14
by Blinkin
Nope, 7.0 also gives the same error for me.

BTW, photorec also gives the same error (in both versions).

FYI, when I'm in recovery mode on the macbook pro, I see in a log file that this is 10.8.3 (Mountain Lion). So, even though Mavericks was last installed, it was originally shipped with ML.

Re: Mac Book Partition Map Receovery || Illegal Instruction

Posted: 08 Jul 2014, 05:43
by Fiona
I'll report your problem today.

Fiona

Re: Mac Book Partition Map Receovery || Illegal Instruction

Posted: 09 Jul 2014, 12:22
by Blinkin
A side question - I read a comment somewhere that SSD's behave differently from a standard disk drive when a partition is deleted. As in, being able to recover it with data recovery tools will be more difficult, if not impossible. Can anyone comment?

Just trying to judge how much it is worth it to try to restore this laptop.

Re: Mac Book Partition Map Receovery || Illegal Instruction

Posted: 10 Jul 2014, 21:46
by rarick123
Count me as another user getting Illegal Instruction: 4. Same results running testdisk with no flags or with something like /list. Any word from Christophe?