Bitcoin Forum
April 23, 2024, 06:55:54 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Formatted Drive , Lost wallet.dat  (Read 3221 times)
Robert23 (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
January 06, 2012, 12:14:01 AM
 #21


Where are you located ? What SSD was it ?
I'm located in the Bay Area. It's a 40gb Intel X25-V
1713855354
Hero Member
*
Offline Offline

Posts: 1713855354

View Profile Personal Message (Offline)

Ignore
1713855354
Reply with quote  #2

1713855354
Report to moderator
1713855354
Hero Member
*
Offline Offline

Posts: 1713855354

View Profile Personal Message (Offline)

Ignore
1713855354
Reply with quote  #2

1713855354
Report to moderator
"Bitcoin: mining our own business since 2009" -- Pieter Wuille
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713855354
Hero Member
*
Offline Offline

Posts: 1713855354

View Profile Personal Message (Offline)

Ignore
1713855354
Reply with quote  #2

1713855354
Report to moderator
1713855354
Hero Member
*
Offline Offline

Posts: 1713855354

View Profile Personal Message (Offline)

Ignore
1713855354
Reply with quote  #2

1713855354
Report to moderator
1713855354
Hero Member
*
Offline Offline

Posts: 1713855354

View Profile Personal Message (Offline)

Ignore
1713855354
Reply with quote  #2

1713855354
Report to moderator
chromeguy
Newbie
*
Offline Offline

Activity: 28
Merit: 0



View Profile WWW
January 06, 2012, 12:15:19 AM
 #22

SSD make chance of recovery even worse as they have garbage collection.   I wouldn't even boot up until you are ready to attempt recovery.  SSD are slow to erase and must erase before they write so in the backup the SSD controller will erase blocks marked as unused.    Unlike a magnetic HDD where the file remains until it is overwritten w/ an SSD you can lose the data simply by letting SSD sit idle even if the file isn't overwritten.
that's nasty!

can you make a clone image using a program designed to image corrupt hdd's? this way you can poke and probe without fear of this garbage collection performing.

also, y u no old backup?!
just discussing on a different thread about the wallet, an old backup will restore up to 100 post-backup keys/transactions from the backup date.
what program do you suggest?
i have never done it before, only had to do a couple of data recoveries from disk hdd's & they were in decent enough shape i wasn't afraid of it suddenly grinding to a halt.

perhaps norton ghost? i am not sure.
bulanula
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile
January 06, 2012, 12:30:45 AM
 #23


Where are you located ? What SSD was it ?
I'm located in the Bay Area. It's a 40gb Intel X25-V

I will do it for 15 BTC if successful. Can you ship to the UK ?
Robert23 (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
January 06, 2012, 01:42:48 AM
 #24

I was hoping I could do something on my own to solve it. Will the hex editor method work on a SSD?
casascius
Mike Caldwell
VIP
Legendary
*
Offline Offline

Activity: 1386
Merit: 1136


The Casascius 1oz 10BTC Silver Round (w/ Gold B)


View Profile WWW
January 06, 2012, 02:00:59 AM
 #25

Yes it will work, though it just may not find anything.

If a hex editor can't find your wallet, I can't either.

Companies claiming they got hacked and lost your coins sounds like fraud so perfect it could be called fashionable.  I never believe them.  If I ever experience the misfortune of a real intrusion, I declare I have been honest about the way I have managed the keys in Casascius Coins.  I maintain no ability to recover or reproduce the keys, not even under limitless duress or total intrusion.  Remember that trusting strangers with your coins without any recourse is, as a matter of principle, not a best practice.  Don't keep coins online. Use paper or hardware wallets instead.
Robert23 (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
January 06, 2012, 03:35:19 AM
 #26

Yes it will work, though it just may not find anything.

If a hex editor can't find your wallet, I can't either.
How about the wallet.dat on the Flash drive? The only diffrence between that and the one on the ssd is 1 transaction and I put a password on it. Thanks for your help.
casascius
Mike Caldwell
VIP
Legendary
*
Offline Offline

Activity: 1386
Merit: 1136


The Casascius 1oz 10BTC Silver Round (w/ Gold B)


View Profile WWW
January 06, 2012, 04:10:57 AM
 #27

An old wallet has a VERY GOOD chance of being usable to recover bitcoins, even if they were received after the backup was made.

Make an extra copy of the wallet for safekeeping.  Then, shut down Bitcoin, put a copy of the flash drive wallet in place of the empty wallet.dat that was created by Bitcoin, and then restart Bitcoin with the "-rescan" command line switch.  This takes several minutes.  If any coins are recoverable and your block chain is up to date, they will show up in your balance.

Companies claiming they got hacked and lost your coins sounds like fraud so perfect it could be called fashionable.  I never believe them.  If I ever experience the misfortune of a real intrusion, I declare I have been honest about the way I have managed the keys in Casascius Coins.  I maintain no ability to recover or reproduce the keys, not even under limitless duress or total intrusion.  Remember that trusting strangers with your coins without any recourse is, as a matter of principle, not a best practice.  Don't keep coins online. Use paper or hardware wallets instead.
Robert23 (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
January 06, 2012, 05:40:12 AM
 #28

An old wallet has a VERY GOOD chance of being usable to recover bitcoins, even if they were received after the backup was made.

Make an extra copy of the wallet for safekeeping.  Then, shut down Bitcoin, put a copy of the flash drive wallet in place of the empty wallet.dat that was created by Bitcoin, and then restart Bitcoin with the "-rescan" command line switch.  This takes several minutes.  If any coins are recoverable and your block chain is up to date, they will show up in your balance.
Sorry I left out important information. I deleted the wallet.dat file on the flashdrive because I was going to move the updated wallet.dat onto it, which I forgot to do. I'm asking if the deleted wallet.dat on the flash drive is recoverable.
BurtW
Legendary
*
Offline Offline

Activity: 2646
Merit: 1130

All paid signature campaigns should be banned.


View Profile WWW
January 06, 2012, 05:43:02 AM
 #29

Since you did not reformat it, and assuming you have not written to it then it should be easier to recover than from the formatted drive.

Our family was terrorized by Homeland Security.  Read all about it here:  http://www.jmwagner.com/ and http://www.burtw.com/  Any donations to help us recover from the $300,000 in legal fees and forced donations to the Federal Asset Forfeiture slush fund are greatly appreciated!
casascius
Mike Caldwell
VIP
Legendary
*
Offline Offline

Activity: 1386
Merit: 1136


The Casascius 1oz 10BTC Silver Round (w/ Gold B)


View Profile WWW
January 06, 2012, 05:46:25 AM
 #30


Sorry I left out important information. I deleted the wallet.dat file on the flashdrive because I was going to move the updated wallet.dat onto it, which I forgot to do. I'm asking if the deleted wallet.dat on the flash drive is recoverable.

Very possibly, yes.

Install WinHex on your machine.  Insert the flash drive.  Run WinHex as administrator by rightclicking its icon and selecting Run As Administrator.  In WinHex, press F9 to see a list of physical drives, choose the flash drive.  (It appears twice, once as a drive letter and once as a physical device.  Choose the physical device - the bottom one.  If you did not run WinHex as administrator, flash drive will not appear in the physical media list.)

Perform a hex search on the entire drive.  Search for the following hex: 01036B657941.  It should take several minutes.  If you find a search result from these bytes, recovery from the drive is likely possible.  Do it, and let us know how it worked.  The recovery itself may be more complex, but at least you'll know it's there.

In the meantime, DO NOT SAVE OR WRITE any files to the flash drive.

Companies claiming they got hacked and lost your coins sounds like fraud so perfect it could be called fashionable.  I never believe them.  If I ever experience the misfortune of a real intrusion, I declare I have been honest about the way I have managed the keys in Casascius Coins.  I maintain no ability to recover or reproduce the keys, not even under limitless duress or total intrusion.  Remember that trusting strangers with your coins without any recourse is, as a matter of principle, not a best practice.  Don't keep coins online. Use paper or hardware wallets instead.
Robert23 (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
January 07, 2012, 12:07:24 AM
 #31

I found that series on my drive. What next? Thanks again for all the help
casascius
Mike Caldwell
VIP
Legendary
*
Offline Offline

Activity: 1386
Merit: 1136


The Casascius 1oz 10BTC Silver Round (w/ Gold B)


View Profile WWW
January 07, 2012, 02:22:22 AM
 #32

I found that series on my drive. What next? Thanks again for all the help

I offer to do a GoToMeeting recovery for 10 BTC.  (GoToMeeting is a commercial web conferencing platform I subscribe to.  I would invite you to a web meeting, make you the "presenter", and you offer control of mouse and keyboard.)

Meanwhile, here are the steps I intend to do (you're welcome to attempt DIY if you want by all means):

1. Repeat your search
2. Form an opinion as to which sectors belong to your wallet by scrolling through sectors on your flash drive (this is the subjective part)
3. Export those sectors to a file.
4. Have you open your e-mail so I can e-mail myself the file.
5. Use a utility on my side that breaks the private keys out of the file (I wrote it, it's a custom script).  The way this script works is described in a thread linked to previously in this thread.
6. Import them into a wallet and do a rescan (this takes 10 minutes)
7. Send you the BTC to the address of your choice

Companies claiming they got hacked and lost your coins sounds like fraud so perfect it could be called fashionable.  I never believe them.  If I ever experience the misfortune of a real intrusion, I declare I have been honest about the way I have managed the keys in Casascius Coins.  I maintain no ability to recover or reproduce the keys, not even under limitless duress or total intrusion.  Remember that trusting strangers with your coins without any recourse is, as a matter of principle, not a best practice.  Don't keep coins online. Use paper or hardware wallets instead.
casascius
Mike Caldwell
VIP
Legendary
*
Offline Offline

Activity: 1386
Merit: 1136


The Casascius 1oz 10BTC Silver Round (w/ Gold B)


View Profile WWW
January 07, 2012, 04:47:37 AM
 #33

Outcome: SUCCESSFUL RECOVERY.

Robert accepted a GoToMeeting invitation from me.  We had trouble with GoToMeeting, it would only let me see his screen, not control his computer.  Regardless, I just gave him instructions of what to click through the chat window.  I suppose it slowed us down some, but it still didn't take too long.

We repeated the hex search he said was successful on his 8GB USB flash drive.

I had him copy a group of sectors that appeared to contain wallet data.  He copied and pasted it to a file and e-mailed it to me.

We searched the remainder of the drive for additional wallet fragments and found none.

I used my script that digs through the raw data, looking for "0420" which marks private keys.  It grabs all of the keys (typically there will be over 100), and auto-generates a script that allows the creation of a brand new wallet.

After rescan, his full balance was recoverable.  I sent it to a brand new bitcoin address.

Successful recoveries are always better than having to tell people they are SOL, especially if it's a lot of money.

Companies claiming they got hacked and lost your coins sounds like fraud so perfect it could be called fashionable.  I never believe them.  If I ever experience the misfortune of a real intrusion, I declare I have been honest about the way I have managed the keys in Casascius Coins.  I maintain no ability to recover or reproduce the keys, not even under limitless duress or total intrusion.  Remember that trusting strangers with your coins without any recourse is, as a matter of principle, not a best practice.  Don't keep coins online. Use paper or hardware wallets instead.
BurtW
Legendary
*
Offline Offline

Activity: 2646
Merit: 1130

All paid signature campaigns should be banned.


View Profile WWW
January 07, 2012, 06:43:01 AM
 #34

That is great!  I guess you now have another new side business Smiley

Our family was terrorized by Homeland Security.  Read all about it here:  http://www.jmwagner.com/ and http://www.burtw.com/  Any donations to help us recover from the $300,000 in legal fees and forced donations to the Federal Asset Forfeiture slush fund are greatly appreciated!
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
January 07, 2012, 04:30:17 PM
 #35

That is great!  I guess you now have another new side business Smiley

Yeah he is 2 for 2 now right and both were good sized wallets.
marked
Full Member
***
Offline Offline

Activity: 168
Merit: 100



View Profile
January 07, 2012, 10:20:23 PM
 #36

Out of curiosity why isn't there a mechanism to write two wallet.dats atomically (both have to succeed), one to the [%APPDATA%|$user]\bitcoin directory, and another to a usb key or alternate drive?

or even to -dumpwallet after each transaction on the client?

marked
Gavin Andresen
Legendary
*
Offline Offline

Activity: 1652
Merit: 2216


Chief Scientist


View Profile WWW
January 07, 2012, 11:10:12 PM
 #37

Out of curiosity why isn't there a mechanism to write two wallet.dats atomically (both have to succeed), one to the [%APPDATA%|$user]\bitcoin directory, and another to a usb key or alternate drive?

or even to -dumpwallet after each transaction on the client?

Because we don't have infinite programming resources, and we've been busy working on low-level stuff that will lead to solutions that will fix the "my hard drive crashed" and also the "my computer got infected by malware" and "my house burned down along with my computer and all of my USB thumbdrives" disaster scenarios.


How often do you get the chance to work on a potentially world-changing project?
Wekkel
Legendary
*
Offline Offline

Activity: 3108
Merit: 1531


yes


View Profile
January 07, 2012, 11:15:48 PM
 #38

Out of curiosity why isn't there a mechanism to write two wallet.dats atomically (both have to succeed), one to the [%APPDATA%|$user]\bitcoin directory, and another to a usb key or alternate drive?

or even to -dumpwallet after each transaction on the client?

What's the problem with making the backup yourselves?
It's the same as loosing your Outlook inbox or, worse, your personal documents and pictures.

Backups are essential.

BurtW
Legendary
*
Offline Offline

Activity: 2646
Merit: 1130

All paid signature campaigns should be banned.


View Profile WWW
January 30, 2012, 08:53:53 PM
 #39

How much money is involved?  You can always contact casascius and he can help you for a fee.  He is very good at it and worth every bit cent!

Our family was terrorized by Homeland Security.  Read all about it here:  http://www.jmwagner.com/ and http://www.burtw.com/  Any donations to help us recover from the $300,000 in legal fees and forced donations to the Federal Asset Forfeiture slush fund are greatly appreciated!
Pages: « 1 [2]  All
  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!