andlabs / reallymine

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

Specifying drive to write IMG file to #121

Open TorridgeYeti opened 3 years ago

TorridgeYeti commented 3 years ago

Hi, I have installed Reallymine on my main Linux 320Mb HD. I have a defunct WD 2Tb HDD (dev/sdb) that I am trying to decrypt. I successfully started decrypting then realised that the IMG probably wont fit in the bin folder on my main 320Mb drive so I did CTRL C and checked out the IMG file. Sure enough it was finding photos and portions of MP3 files. Now I have added a blank 3Tb HD (dev/sdc) formatted in EXT4 to save the full IMG file to. However, now I cannot find the write command line to write to the new disk. Tried sudo ./reallymine decrypt /dev/sdb /dev/sdc/decrypted.img but just got the error "running decrypt: open /dev/sdc/decrypted.img: not a directory" Tried variations of this but no luck. Where am I going wrong? Is it because Reallymine is not installed on the new disk? Any help is really appreciated, especially if you're out there @themaddoctor

themaddoctor commented 3 years ago

I can't say for certain, but try sudo ./reallymine decrypt /dev/sdb /dev/sdc/ without giving the output filename.

MrDecay commented 3 years ago

My linux is rusty so please bear with me...is the /dev/sdc mounted?

Could be thAt

On Tue, May 11, 2021, 2:25 PM TorridgeYeti @.***> wrote:

Hi, I have installed Reallymine on my main Linux 320Mb HD. I have a defunct WD 2Tb HDD (dev/sdb) that I am trying to decrypt. I successfully started decrypting then realised that the IMG probably wont fit in the bin folder on my main 320Mb drive so I did CTRL C and checked out the IMG file. Sure enough it was finding photos and portions of MP3 files. Now I have added a blank 3Tb HD (dev/sdc) formatted in EXT4 to save the full IMG file to. However, now I cannot find the write command line to write to the new disk. Tried sudo ./reallymine decrypt /dev/sdb /dev/sdc/decrypted.img but just got the error "running decrypt: open /dev/sdc/decrypted.img: not a directory" Tried variations of this but no luck. Where am I going wrong? Is it because Reallymine is not installed on the new disk? Any help is really appreciated, especially if you're out there @themaddoctor https://github.com/themaddoctor

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/andlabs/reallymine/issues/121, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEATVRKARRPMHMRPYZBIXQLTNGADVANCNFSM44WUTFHA .

themaddoctor commented 3 years ago

Oops. Right. Do this: sudo mkdir /mnt/stuff sudo mount /dev/sdc /mnt/stuff sudo ./reallymine decrypt /dev/sdb /mnt/stuff/

TorridgeYeti commented 3 years ago

Thanks for the suggestions. I stumbled upon the solution which was to type sudo ./reallymine decrypt /dev/sdb /media/[myUSERNAME]/[LABEL]/[FILENAME].img where my username and the label of my newly mounted disc form the address shown in the 'Disks' utility in Linux. Discs now whirring away, only a few days to wait now, lol!