Bitcoin Forum
May 27, 2024, 06:32:03 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: recover corrupted wallet.dat file  (Read 1186 times)
lordviper2300 (OP)
Newbie
*
Offline Offline

Activity: 32
Merit: 0


View Profile
March 07, 2015, 01:42:51 AM
 #1

hello all. i really screwed up here. and i reformated my hdd and after i reinstalled windows i remembered i had forgotten to backup my wallet.dat file.

i used a program to recover it. but unfortunatly when i try and load it up it says that the wallet is corrupt.

i found this topic https://bitcointalk.org/index.php?topic=25091.0 but i am not very good at linux. i do happen the have a virtualbox installed with ubluntu installed.

i have tried everything i can think of to get this to work to try and recover the wallet or at least get some private keys from it.

is there anyone that could help me out and see if i can get anything back.

this is for ruby coin. and the wallet was not encrypted. i downloaded the wallet.dat using a dropbox link. so i do have full access to a copy of it in ubluntu.
lordviper2300 (OP)
Newbie
*
Offline Offline

Activity: 32
Merit: 0


View Profile
March 07, 2015, 10:23:02 PM
 #2

so im guessing by the lack or any response from 63 views i should just give up on the wallet.
anotherlateminer
Legendary
*
Offline Offline

Activity: 1413
Merit: 1003

Bagholder. Hodling shit since 2014


View Profile
March 07, 2015, 10:41:29 PM
 #3

Have you tried to use Pywallet?
lordviper2300 (OP)
Newbie
*
Offline Offline

Activity: 32
Merit: 0


View Profile
March 07, 2015, 10:44:55 PM
 #4

no i havent. because im not to familier with linux im not exactly sure how to do it. i have tried looking for a step by step guide. but most things i have found are requiring some understanding of linux.
anotherlateminer
Legendary
*
Offline Offline

Activity: 1413
Merit: 1003

Bagholder. Hodling shit since 2014


View Profile
March 07, 2015, 10:47:05 PM
 #5

no i havent. because im not to familier with linux im not exactly sure how to do it. i have tried looking for a step by step guide. but most things i have found are requiring some understanding of linux.
You can run it on Windows. All you need is Python installed.
mullick
Legendary
*
Offline Offline

Activity: 1064
Merit: 1002


View Profile
March 08, 2015, 05:30:17 AM
 #6

If you have the wallet on linux its pretty simple with the above utility. Although I used the source code when it was available. Which it isn't anymore. You would be placing trust of your bitcoins with the owner of that domain.

I would recommend if you do use that script do like I did and run it on a box with no external connections.

simply run the following commands from your home directory

wget http://www.makomk.com/~aidan/wallet-recover-0.3-linux.tar.gz

tar -xf wallet-recover-0.3-linux.tar.gz

cd wallet-recover-0.3-linux/bin/32

./wallet-recover /path/to/bitcoinwallet /path/to/new/wallet

that will scan the file you have for any strings resembling a private key and import it into a wallet at the path you specified. If you have deleted the file and are trying to recover any private keys you can you could change the last line to

./wallet-recover /dev/sda /path/to/new/wallet

lordviper2300 (OP)
Newbie
*
Offline Offline

Activity: 32
Merit: 0


View Profile
March 08, 2015, 10:55:46 PM
Last edit: March 08, 2015, 11:30:51 PM by lordviper2300
 #7

everytime i enter in either of the last 2 lines i just get a message saying wallet-recover: command not found.

so here is were i have the wallet.dat file now. /home/amber/downloads

so im entering ./wallet-recover /home/amber/downloads /home/amber/

did i miss something?
mullick
Legendary
*
Offline Offline

Activity: 1064
Merit: 1002


View Profile
March 08, 2015, 11:43:10 PM
 #8

everytime i enter in either of the last 2 lines i just get a message saying wallet-recover: command not found.

so here is were i have the wallet.dat file now. /home/amber/downloads

so im entering ./wallet-recover /home/amber/downloads /home/amber/

did i miss something?

try this

Code:
cd

cd wallet-recover-0.3-linux/bin/32

./wallet-recover /home/amber/downloads/wallet.dat /home/amber/wallet.recover.dat

You may also need to chmod the file. If the above doesnt work run

Code:
chmod +x wallet-recover

./wallet-recover /home/amber/downloads/wallet.dat /home/amber/downloads/wallet.recover.dat
lordviper2300 (OP)
Newbie
*
Offline Offline

Activity: 32
Merit: 0


View Profile
March 09, 2015, 12:22:31 AM
 #9

maybe the wallet is just to screwed up. im trying that exactly as is. and i just keep getting a ./wallet-recover: no such file or directory

there wouldnt happen to be like a gui program to use to look at the wallet file and find the keys?
anotherlateminer
Legendary
*
Offline Offline

Activity: 1413
Merit: 1003

Bagholder. Hodling shit since 2014


View Profile
March 09, 2015, 07:33:22 AM
 #10

maybe the wallet is just to screwed up. im trying that exactly as is. and i just keep getting a ./wallet-recover: no such file or directory

there wouldnt happen to be like a gui program to use to look at the wallet file and find the keys?

Pywallet has web interface: https://bitcointalk.org/index.php?topic=34028.0

BTW, have you tried to start wallet with -salvagewallet key?
lordviper2300 (OP)
Newbie
*
Offline Offline

Activity: 32
Merit: 0


View Profile
March 09, 2015, 11:12:46 PM
 #11

yes i have tried the -salvagewallet. but i just get a error message saying the wallet is corrupt.
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!