Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: Cryptron500 on November 18, 2017, 08:25:56 AM



Title: Corrupted Wallet.dat - help, reward
Post by: Cryptron500 on November 18, 2017, 08:25:56 AM
Hi All

I have a corrupted wallet.dat and I’ve tried most suggestions on how to recover it.

I have a all the details here (didnt want to re-type it all). Offering a reward to anyone that helps recover it.

https://www.reddit.com/r/Bitcoin/comments/7diyg6/reward_help_recovering_corrupt_walletdat/

Thanks!!


Title: Re: Corrupted Wallet.dat - New help, reward
Post by: HCP on November 18, 2017, 09:32:37 AM
Do you still have a copy of the wallet.dat before you ran -salvagewallet? Apparently, salvagewallet can make things worse... so I'd suggest that you start each attempt with a fresh "copy" of the wallet.dat file... and only ever work on the copies ;)

In any case, your recovery attempt with pywallet seems a little off... as far as I'm aware, you can't run it on a file... only on disk/partition. So, my suggestion is to put the wallet.dat on a "small" USB stick... ideally less that 4GB... then use:
Code:
python pywallet.py --recover --recov_device=/dev/sdb1 --recov_size=4Gio --recov_outputdir=./recovered
as per this post: https://bitcointalk.org/index.php?topic=1404609.msg14257235#msg14257235

Obviously replace /dev/sdb1 with whatever the actual path to where the USB stick is mounted... I've done this on a Windows box and it was able to recover keys from an encrypted wallet.dat... if you can create a 1GB partition on the disk, even better, it'll reduce the time it spends scanning by quite a bit! ;)


Title: Re: Corrupted Wallet.dat - help, reward
Post by: Cryptron500 on November 18, 2017, 08:00:48 PM
Thanks!!

Will try


Title: Re: Corrupted Wallet.dat - help, reward
Post by: Slowpok3 on November 21, 2017, 08:57:18 PM
Maybe you have an older version of the archive file?
If you make a copy, then usually in several copies on different carriers,
Can the old version of this file remain on the old laptop or work computer?


Title: Re: Corrupted Wallet.dat - help, reward
Post by: kahc on November 22, 2017, 07:14:02 PM
Thanks!!

Will try

So did you manage to salvage with pywallet?? If not, next step will be Hex-editor and extract keys manually.