PhotoRec on TS-419p - cannot execute binary file Topic is solved

Using PhotoRec to recover lost data
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
badmax0815
Posts: 5
Joined: 25 Aug 2020, 14:34

PhotoRec on TS-419p - cannot execute binary file

#1 Post by badmax0815 »

Hi,

I'll tried to use PhotoRec on my NAS to recover deleted files.
I used a procedure described at page:
http://qnapsupport.net/teknik-destek/ra ... -kurtarma/
I logged into my NAS using Putty, what worked well.
But when I tried to execute PhotoRec I've got the error "cannot execute binary file" :oops:

same error with both linux versions:
- Linux, kernel 2.6.18 or later i386
- Linux, kernel 2.6.18 or later x86_64

I found a hint in another forum, stating that QNAP TS-419p is using an ARM-processor and so SW compiled for Intel-processors will not work.
Is there any chance to compile an ARM-version of PhotoRec or can I compile PhotoRec for ARM-processor myself?

thanks for any comment or support.
BR Hilmar

recuperation
Posts: 2729
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: PhotoRec on TS-419p - cannot execute binary file

#2 Post by recuperation »

How did you configure the drives? Single,JBOD, Raidx?

badmax0815
Posts: 5
Joined: 25 Aug 2020, 14:34

Re: PhotoRec on TS-419p - cannot execute binary file

#3 Post by badmax0815 »

Raid1, but I have removed one of the mirrored hard disks to have a second chance for an recovery attempt, just in case I mess up something. ;)

Thank and BR
Hilmar

recuperation
Posts: 2729
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: PhotoRec on TS-419p - cannot execute binary file

#4 Post by recuperation »

If you are dealing with a plain vanilla simple single drive you would simply remove the drive and connect it to a linux machine.
On that linux machine you would run testdisk.

When you stated that you removed it from a RAID 1 configuration I don't know if the removal changed the RAID specific layout changes back to regular MBR/GPT standards that Testdisk understands Will have to ask Christophe here.

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

Re: PhotoRec on TS-419p - cannot execute binary file

#5 Post by cgrenier »

You can connect one of the disk to a computer running Windows or Linux and use PhotoRec from here.
It's easier than using PhotoRec in the NAS itself.

badmax0815
Posts: 5
Joined: 25 Aug 2020, 14:34

Re: PhotoRec on TS-419p - cannot execute binary file

#6 Post by badmax0815 »

Hi, many thanks to cgrenier and recuperation for your direct feedback.
I've just recieved the USB3.0 - SATA adapter and I'am installing now photorec for Windows on my Notebook. I'll keep you updated.
BR Hilmar

badmax0815
Posts: 5
Joined: 25 Aug 2020, 14:34

Re: PhotoRec on TS-419p - cannot execute binary file

#7 Post by badmax0815 »

Brief update,
Recovery started.
Estimated time to completion currently 7h but permanently increasing. ;)
I count with several days to restore roughly 1TB.
Thanks for your support
:)

badmax0815
Posts: 5
Joined: 25 Aug 2020, 14:34

Re: PhotoRec on TS-419p - cannot execute binary file

#8 Post by badmax0815 »

Hi to all and thanks for your Support.

Recovery worked well has taken roughly 140 hours.

Locked