Mac Book Partition Map Receovery || Illegal Instruction 4

How to use TestDisk to recover lost partition
Message
Author
ameetmw
Posts: 1
Joined: 17 May 2014, 02:26

Mac Book Partition Map Receovery || Illegal Instruction 4

#1 Post by ameetmw » 17 May 2014, 02:41

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

Sponsored links

Blinkin
Posts: 8
Joined: 07 Jul 2014, 03:41

Re: Mac Book Partition Map Receovery || Illegal Instruction

#2 Post by Blinkin » 07 Jul 2014, 03:50

Getting same "Illegal instruction: 4" error in Terminal in Mountain Lion recovery mode.

Cannot proceed. Any suggestions?

User avatar
Fiona
Posts: 2836
Joined: 18 Feb 2012, 17:19
Location: Ludwigsburg/Stuttgart - Germany

Re: Mac Book Partition Map Receovery || Illegal Instruction

#3 Post by Fiona » 07 Jul 2014, 05:35

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

Blinkin
Posts: 8
Joined: 07 Jul 2014, 03:41

Re: Mac Book Partition Map Receovery || Illegal Instruction

#4 Post by Blinkin » 07 Jul 2014, 06:21

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

User avatar
Fiona
Posts: 2836
Joined: 18 Feb 2012, 17:19
Location: Ludwigsburg/Stuttgart - Germany

Re: Mac Book Partition Map Receovery || Illegal Instruction

#5 Post by Fiona » 07 Jul 2014, 08:06

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

Blinkin
Posts: 8
Joined: 07 Jul 2014, 03:41

Re: Mac Book Partition Map Receovery || Illegal Instruction

#6 Post by Blinkin » 07 Jul 2014, 13:32

Oops, I pasted the wrong link. 6.14 is the one I tried. I'll try 7.0 when I get home tonight.

Blinkin
Posts: 8
Joined: 07 Jul 2014, 03:41

Re: Mac Book Partition Map Receovery || Illegal Instruction

#7 Post by Blinkin » 08 Jul 2014, 03:14

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.

User avatar
Fiona
Posts: 2836
Joined: 18 Feb 2012, 17:19
Location: Ludwigsburg/Stuttgart - Germany

Re: Mac Book Partition Map Receovery || Illegal Instruction

#8 Post by Fiona » 08 Jul 2014, 05:43

I'll report your problem today.

Fiona

Blinkin
Posts: 8
Joined: 07 Jul 2014, 03:41

Re: Mac Book Partition Map Receovery || Illegal Instruction

#9 Post by Blinkin » 09 Jul 2014, 12:22

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.

rarick123
Posts: 1
Joined: 10 Jul 2014, 21:42

Re: Mac Book Partition Map Receovery || Illegal Instruction

#10 Post by rarick123 » 10 Jul 2014, 21:46

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?

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests