andlabs / reallymine

WD MyBook encrypted hard drive decryption (still WIP).
https://github.com/andlabs/reallymine/issues/38
GNU General Public License v3.0
214 stars 47 forks source link

Really mine won't run #5

Open duhh opened 8 years ago

duhh commented 8 years ago

Booted to partedmagic and lubuntu live discs and get a syntax error. Check this post for details.

http://forum.hddguru.com/viewtopic.php?f=1&t=34028

Code: sudo ./reallymine-linux-amd64 /dev/sdb /dev/sda1/image.img ./reallymine-linux-amd64: 2: ./reallymine-linux-amd64: Syntax error: end of file unexpected (expecting ")"

Thanks

andlabs commented 8 years ago

What does

file ./reallymine-linux-amd64

say?

duhh commented 8 years ago

lubuntu@lubuntu:~/Downloads$ file ./reallymine-linux-amd64 ./reallymine-linux-amd64: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, not stripped

andlabs commented 8 years ago

That's weird. It seems like something is trying to run reallymine as some sort of script?

What happens if you try just ./reallymine-linux-amd64 without any arguments or sudo?

MrDecay commented 8 years ago

Did you use partedmagic64 not the 32bit version. Also right click on the. reallymine-linux-amd64 and check off the execute properties to acknowledge its a binary.

LuckyLuzz commented 8 years ago

someone should make a standalone prog out of this ;)

duhh commented 8 years ago

SUCCESS!!! Downloaded a fresh copy of reallymine in partedmagic 64 bit. Then right clicked the file and changed the execute properties as MrDecay suggested. Previously I ran chmod a+x on the file which I read suggested somewhere else, but this might have been the reason why it wouldn't run.

Ran it pointed at an encrypted image file created with DDRescue and decrypted the whole thing without a hitch.

Mounted the decrypted image reallymine created and looks like the data is ok.

Thank you for creating reallymine and your help.

andlabs commented 8 years ago

No problem! Glad it worked out for you. Enjoy your data!

MrDecay commented 8 years ago

Glad it worked out an that we can help

On Aug 27, 2016 9:33 AM, "Pietro Gagliardi" notifications@github.com wrote:

No problem! Glad it worked out for you. Enjoy your data!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/andlabs/reallymine/issues/5#issuecomment-242920490, or mute the thread https://github.com/notifications/unsubscribe-auth/AQE6xV7mgu6lhIfJL_62-PVM0nQ7mQd5ks5qkEqngaJpZM4JsGOX .

MrDecay commented 8 years ago

I never had a chance to congratulate you and express my appreciation for what you accomplished in writing this tool

On Aug 27, 2016 9:33 AM, "Pietro Gagliardi" notifications@github.com wrote:

No problem! Glad it worked out for you. Enjoy your data!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/andlabs/reallymine/issues/5#issuecomment-242920490, or mute the thread https://github.com/notifications/unsubscribe-auth/AQE6xV7mgu6lhIfJL_62-PVM0nQ7mQd5ks5qkEqngaJpZM4JsGOX .