Bitcoin Forum
May 02, 2024, 06:20:11 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Bitcoin Technical Support / Re: Old HDD with wallet.dat, several reformatting and heavy use, is all hope lost? on: July 15, 2021, 02:53:05 AM
Thanks for all your replies.

However, there are few other magic bytes you could try such as 62 31 05 00 09 00 00 00 according to https://bitcoin.stackexchange.com/a/41450.
I tried but couldn't find anything. I also tried the other bytes in the linked post. I found some results for "defaultkey" but what follows the string is "site-packages/route.py". I guess it's from some other apps and not what a normal wallet.dat file contains?

Did you try any data recovery tools? Huh Or did you just make an image of the drive and search through the image? Huh
Yes, I first tried some data recovery tools such as disk genius. I couldn't find any file named "wallet.dat" and got thousands of unnamed files which are impractical to go through manually.

Mount the disk read only in linux and use photorec to copy all files that are found to another harddisk, and then look for files that have .db extension.
If you find any of those use the file <filename> command to examine the exact file type and if its a Berkeley DB Btree then it's most likely your wallet.
Photorec works on RAW data so it will not restore actual filenames like for example wallet.dat.
In stead it will give each file it finds a number, and look at the bytes and try to figure out the filetype from that so it does not matter how many times you formatted the drive if the bytes are still there then you will find it.

See here for more: https://www.cgsecurity.org/wiki/PhotoRec_Step_By_Step
This tutorial suggests to try testdisk first but in your case it is best you start with Photorec directly.
Thank you very much. I tried this software. I looked for .db files and couldn't find anything. Looking for other types of files yields some results. I wonder if I should look for all types and turn on options like "brute force"?
2  Bitcoin / Bitcoin Technical Support / Old HDD with wallet.dat, several reformatting and heavy use, is all hope lost? on: June 19, 2021, 04:56:32 AM
I got some bitcoins back in 2011. Recently I found the old HDD where I put the wallet.dat file. The HDD had been reformatted several times and used as the system disk (drive C:) for several years.
I followed the instructions in this post: https://bitcointalk.org/index.php?topic=2857580.0 and made an image of the disk and searched for 308201130201010420 with WinHex. No results. (I have tried to search for other values to make sure I'm doing it right.)
So, is all hope lost? Is there any other way where I can try to retrieve my bitcoins, or should I just give up?
Thank you very much.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!