Bitcoin Forum
November 19, 2024, 05:04:46 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: transfer wallet from Windows 7 to Ubuntu  (Read 718 times)
clicky_the_mouse (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
February 10, 2013, 03:29:58 PM
 #1

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?
Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1358
Merit: 1002



View Profile
February 10, 2013, 03:41:39 PM
 #2

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.
clicky_the_mouse (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
February 10, 2013, 07:17:58 PM
 #3

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?
Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1358
Merit: 1002



View Profile
February 10, 2013, 07:24:45 PM
 #4

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.
clicky_the_mouse (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
February 10, 2013, 11:06:13 PM
 #5

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!
Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1358
Merit: 1002



View Profile
February 11, 2013, 12:56:06 AM
 #6

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.
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!