Bitcoin Forum
May 17, 2024, 01:28:08 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Need help getting private keys from a corrupted wallet  (Read 1572 times)
asciicat (OP)
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
November 18, 2013, 08:02:45 PM
 #1

So, a year+ ago, I reformated my computer and the one thing I forgot to backup was my bitcoins. After I reinstalled windows I remembered "MY BITCOINS!". I held power and turned my comp off, booted into a separate hard drive, and used a recovery program (recuva) to get the wallet.dat file.

But of course, when I ran bitcoin with the recovered wallet, it failed instantly on startup. "wallet corrupt - salvage failed"

Here's what happens with pywallet:
Code:
<~/Documents/Backup/bitcoins>python pywallet.py wallet.dat --dumpwallet
'ecdsa' package is not installed, pywallet won't be able to sign/verify messages
ERROR:root:Couldn't open wallet.dat/main. Try quitting Bitcoin and running this again.
Here's what happens with bitcointools:
Code:
<~/Documents/Backup/bitcoins/bitcointools>python dbdump.py --wallet
ERROR:root:Couldn't open wallet.dat/main. Try quitting Bitcoin and running this again.

Bitcoin is not running - I just restarted my computer.

I am offering a bounty to anyone who can help me recover these.

Thanks in advance.
Ecurb123
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
November 26, 2013, 09:59:48 PM
 #2

Maybe you can create a new wallet.dat, open it up in a text editor and look at it side by side with you corrupted one and see if there is something that stands out. I have no experience with wallet.dat files other than using them so I have no idea if that advice will help or not.
deepceleron
Legendary
*
Offline Offline

Activity: 1512
Merit: 1032



View Profile WWW
November 26, 2013, 10:31:13 PM
 #3

Nearly identical thread:

The second that you say the word "format" or "repartition", the only hope is to yank the drive from service and scan the whole surface for any recoverable private keys. Data likely will no longer be where it should be, recovery software will find junk in the sectors where "wallet.dat" is indicated to have been.

A year+ ago you formatted your drive.

You "recovered" a wallet a year ago, without looking to see if it even has correct data in it?

Slim to none would be the odds I place on recover.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!