Bitcoin Forum

Other => Beginners & Help => Topic started by: clicky_the_mouse on February 10, 2013, 03:29:58 PM



Title: transfer wallet from Windows 7 to Ubuntu
Post by: clicky_the_mouse on February 10, 2013, 03:29:58 PM
I have a dual boot system and I've tried copying my wallet straight from where it is stored in Windows 7 to where it is stored in Ubuntu, but then when I try to start up bitcoin in Ubuntu I get an error message about a corrupted wallet. What do?


Title: Re: transfer wallet from Windows 7 to Ubuntu
Post by: Raoul Duke on February 10, 2013, 03:41:39 PM
First, fire up the Ubuntu client with the previous wallet.dat it had, go to options and select Detach Databases on shutdown.
Stop bitcoin. It will take a few minutes to stop completely. Replace the wallet.dat with the Windows one, and fire it up again and see if it works.
If it doesn't you can always try to start bitcoin-qt from the command line with the -salvagewallet flag and see if it fixes the wallet. Or maybe try the salvagewallet command first.


Title: Re: transfer wallet from Windows 7 to Ubuntu
Post by: clicky_the_mouse on February 10, 2013, 07:17:58 PM
My Ubuntu client doesn't have any menu options that I can see. I just have 6 buttons across the top that say Overview, Send Coins, Receive Coins, Transactions, Address Book and Export.
Do more options become available once it has fully synchronized with the network?


Title: Re: transfer wallet from Windows 7 to Ubuntu
Post by: Raoul Duke on February 10, 2013, 07:24:45 PM
My Ubuntu client doesn't have any menu options that I can see. I just have 6 buttons across the top that say Overview, Send Coins, Receive Coins, Transactions, Address Book and Export.
Do more options become available once it has fully synchronized with the network?

You suffer from the no icon/no menu bug on ubuntu 12.04 and 12.10. No worries.

You can just start it from the command line with
Code:
$ bitcoin-qt -detachdb=1
and when you close it it will do the same thing.


Title: Re: transfer wallet from Windows 7 to Ubuntu
Post by: clicky_the_mouse on February 10, 2013, 11:06:13 PM
I used the command terminal solution but it still didn't work. Also tried using the salvage command without any success. When attempting to use the wallet from windows afterwords, Bitcoin-qt threw an error message on start-up telling me to delete all files from the bitcoin directory except for wallet.dat and then restarting bitcoin, but this brought me back to the corrupted wallet error message. I've restored the wallet back to the original ubuntu wallet for now.

Are there any third party tools that can facilitate this?

Thanks for your help!


Title: Re: transfer wallet from Windows 7 to Ubuntu
Post by: Raoul Duke on February 11, 2013, 12:56:06 AM
You can retrieve your private keys and import them after.
You should look for pywallet to dump the wallet contents: private keys and transactions.
Then you can import those private keys to any other wallet.

https://github.com/jackjack-jj/pywallet

Just do backups, OK. Everything, wallets, blockchain files, etc.