Bitcoin Forum
May 06, 2024, 09:04:12 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Best method to recover this particular corrupt wallet.  (Read 2182 times)
dyseac (OP)
Member
**
Offline Offline

Activity: 90
Merit: 10



View Profile
November 08, 2013, 10:06:32 PM
 #1

Hi guys,

I have a corrupt wallet from the following scenario.


128gb SSD -> about 95% full with bitcoin-QT and wallet with 8 bitcoins on it.
HDD is quickformatted to win7
Approx 5gb of software installed (I would estimate still around 75% free)
Oh shit moment realised..

HDD removed -> put into other PC -> used Runtime GetDataBack to find wallet.dat

Wallet.dat is reading 1100kb

Have tried various Bitcoin-QT restore methods but all still saying corrupt.

I've also sent a copy to someone I trust and they are saying the file is blank ? Not sure what this means as its reading 1100kb.


What is the best procedure from here? should I try starting all over again from a Linux LiveCD with different recovery software? Then a different restore method?

Will donate something substantial to anyone who is able to provide successful help Smiley

Thanks
1714986252
Hero Member
*
Offline Offline

Posts: 1714986252

View Profile Personal Message (Offline)

Ignore
1714986252
Reply with quote  #2

1714986252
Report to moderator
1714986252
Hero Member
*
Offline Offline

Posts: 1714986252

View Profile Personal Message (Offline)

Ignore
1714986252
Reply with quote  #2

1714986252
Report to moderator
The grue lurks in the darkest places of the earth. Its favorite diet is adventurers, but its insatiable appetite is tempered by its fear of light. No grue has ever been seen by the light of day, and few have survived its fearsome jaws to tell the tale.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714986252
Hero Member
*
Offline Offline

Posts: 1714986252

View Profile Personal Message (Offline)

Ignore
1714986252
Reply with quote  #2

1714986252
Report to moderator
piotr_n
Legendary
*
Offline Offline

Activity: 2053
Merit: 1354


aka tonikt


View Profile WWW
November 08, 2013, 10:23:53 PM
 #2

What is the best procedure from here?
The best procedure is to just recover your last backup, but I guess it isn't a successful help, is it? Smiley

Check out gocoin - my original project of full bitcoin node & cold wallet written in Go.
PGP fingerprint: AB9E A551 E262 A87A 13BB  9059 1BE7 B545 CDF3 FD0E
Moebius327
Hero Member
*****
Offline Offline

Activity: 770
Merit: 500



View Profile
November 08, 2013, 10:48:24 PM
 #3

Have you tried with pywallet.py --dumpwallet --password=="[password]"
inform
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile WWW
November 08, 2013, 11:14:34 PM
 #4

i lost
2013 summer this
4 or 5 wallet btc/ltc my


i cry  Cry
some times  Undecided
not possible best way

all way you lost your bitcoins  Roll Eyes
Voogru
Member
**
Offline Offline

Activity: 99
Merit: 10



View Profile WWW
November 09, 2013, 02:34:30 AM
 #5



I've also sent a copy to someone I trust and they are saying the file is blank ? Not sure what this means as its reading 1100kb.



It could be full of zeros.
kjj
Legendary
*
Offline Offline

Activity: 1302
Merit: 1024



View Profile
November 09, 2013, 07:36:22 AM
 #6

I get asked to help with these fairly often.

Hard drives have blocks.  Files are chains of these blocks.  Directories are special files containing a list of file names and addresses for that file's chain.  When you format your drive, all of the blocks are marked free, but not typically changed.*

As you use the newly formatted drive, blocks get overwritten.  When you realize that you had a wallet on there and try to undelete it, the utility searches all of the blocks looking for directories, and then it scans the directory looking for a file named wallet.dat.

What you actually get is the current contents of the blocks that formerly had your wallet.  You should not hold your breath, because the odds aren't good, unless you realize your mistake very early and don't use the drive at all.  You can improve your chances slightly by shutting down the computer immediately (flip the switch), and then using a different computer to attempt the recovery.

If the undelete tool doesn't find a wallet.dat, the directory has been overwritten.  The blocks for the file may not have.  Pywallet can search the drive, block by block, looking for keys.

In an extreme case, if the wallet was not encrypted, you can walk the candidate file byte by byte, treating each overlapping region as if it were a private key to be checked.  This takes forever even for moderately sized files, and you can just plain forget about doing it on a whole drive.  Also, it never works.

This is extremely simplified.

17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8
I routinely ignore posters with paid advertising in their sigs.  You should too.
maaku
Legendary
*
Offline Offline

Activity: 905
Merit: 1011


View Profile
November 09, 2013, 09:17:45 AM
 #7

Have you tried performing BDB recovery and dumping of (a copy of) the wallet file? If it is at all damaged, Bitcoin-Qt probably won't load it, but the BDB tools might. You can then use pywallet or something similar to reconstruct a wallet with the keys you can find.

I'm an independent developer working on bitcoin-core, making my living off community donations.
If you like my work, please consider donating yourself: 13snZ4ZyCzaL7358SmgvHGC9AxskqumNxP
Bitsky
Hero Member
*****
Offline Offline

Activity: 576
Merit: 514


View Profile
November 09, 2013, 09:23:11 AM
 #8

Was the wallet encrypted? If not, you can try this: https://bitcointalk.org/index.php?topic=25091.0

Bounty: Earn up to 68.7 BTC
Like my post? Feel free to drop a tip to 1BitskyZbfR4irjyXDaGAM2wYKQknwX36Y
alamac
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
November 09, 2013, 06:01:13 PM
 #9

Have you tried something like ghost recovery software or some undelete software, just so you can at least see it and from there you should have better options to retrieve it.
Max
Maged
Legendary
*
Offline Offline

Activity: 1204
Merit: 1015


View Profile
November 12, 2013, 02:50:18 AM
 #10

I've also sent a copy to someone I trust and they are saying the file is blank ? Not sure what this means as its reading 1100kb.
That would be because the wallet was saved on a SSD. Within a few minutes, the garbage collection system of the SSD will wipe all erased data, even if you aren't reading or writing to the drive. By the time you recovered the filesystem, the wallet's data was gone.

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!