Bitcoin Forum
November 15, 2024, 10:41:42 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to import btc wallet from usb into Bitcoin-qt using ubuntu 13.10  (Read 1086 times)
Plankowner (OP)
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
April 08, 2014, 07:28:18 PM
 #1

Hello all'

Can someone help me on how to import a btc wallet from usb into Bitcoin-qt version 0.8.6. on Ubuntu 13.10 ?
Can you also be so kindly as to explain this clearly, I've searched and not found a real definitive way on how to do this

Your help is well appreciated

I'm a newb to the forum, and fairly new to bitcoin

Thanks to all Smiley
BookLover
Hero Member
*****
Offline Offline

Activity: 533
Merit: 500


^Bitcoin Library of Congress.


View Profile
April 08, 2014, 08:23:35 PM
 #2

I'm going to assume you have already installed bitcoin-qt and that there is an existing wallet.dat in the bitcoin data directory.

1) Make sure bitcoin-qt is not running. (You can check using System Moniter)
2) Go to the bitcoin data directory (it's installed in the home directory by default - if you can't find it this link should help https://en.bitcoin.it/wiki/Data_directory)
3) Remove the current wallet.dat file and put it somewhere safe (the desktop works fine)
4) Place the wallet.dat you want to import in the .bitcoin directory
5) Start bitcoin-qt.

Note: this method allows you access to the backup but does not merge the two wallets.  If you want all your coins in the same wallet you need to send the coins from the wallet you don't want to use to an address in the wallet you do want to use.

Plankowner (OP)
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
April 08, 2014, 08:51:34 PM
 #3

Attempted and importing was unsuccessful. Just shows Zero balance in the qt. A wallet.dat file appeared in the directory on start up.
BookLover
Hero Member
*****
Offline Offline

Activity: 533
Merit: 500


^Bitcoin Library of Congress.


View Profile
April 09, 2014, 02:50:46 PM
 #4

So after placing the wallet.dat file you wanted to import into the bitcoin data directory (step 4), another wallet.dat file appeared in the same directory when you started bitcoin-qt?  I must be misunderstanding something because it is not possible to have multiple files with the same name in one directory.

titanza
Newbie
*
Offline Offline

Activity: 17
Merit: 0



View Profile
April 09, 2014, 07:43:53 PM
 #5

Attempted and importing was unsuccessful. Just shows Zero balance in the qt. A wallet.dat file appeared in the directory on start up.

I'm going to assume you have already installed bitcoin-qt and that there is an existing wallet.dat in the bitcoin data directory.

1) Make sure bitcoin-qt is not running. (You can check using System Moniter)
2) Go to the bitcoin data directory (it's installed in the home directory by default - if you can't find it this link should help https://en.bitcoin.it/wiki/Data_directory)
3) Remove the current wallet.dat file and put it somewhere safe (the desktop works fine)
4) Place the wallet.dat you want to import in the .bitcoin directory
5) Start bitcoin-qt.

Note: this method allows you access to the backup but does not merge the two wallets.  If you want all your coins in the same wallet you need to send the coins from the wallet you don't want to use to an address in the wallet you do want to use.

Are you using an existing wallet.dat from the official Bitcoin client? or from another wallet application? bitcoin-qt only understands wallets that are in wallet.dat files. If you are importing from another wallet application you might have to import the private keys manually.

bitcoin-qt will automatically create a wallet.dat file on startup if one does not exist. Make sure that you have copied the correct wallet.dat file from the usb to the data directory (normally at ~/.bitcoin) and when you start bitcoin-qt you should see the balance (assuming that you are using the correct wallet file). You can see if you have the correct receiving addresses in "File>Receiving addresses...".

If the wallet.dat file is correct but bitcoin-qt is not reflecting the correct transactions, you might have to rescan the blockchain. You can start a rescan by typing following command from the terminal:

Code:
bitcoin-qt -rescan

It shouldn't do any harm to the wallet.dat file (Nevertheless, you should have a backup in case of emergency), but it does take quite a while to complete.
Plankowner (OP)
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
April 09, 2014, 11:37:18 PM
 #6

Yes, the wallet.dat file is from the bitcoin client. I did a rescan at the terminal and it said command not found.
Dare
Hero Member
*****
Offline Offline

Activity: 508
Merit: 500


Techwolf on #bitcoin and Reddit


View Profile WWW
April 10, 2014, 03:00:53 AM
 #7

Yes, the wallet.dat file is from the bitcoin client. I did a rescan at the terminal and it said command not found.

First, close bitcoin-qt and stop bitcoind if it's running. If there is a wallet.dat in ~/.bitcoin, back it up and then replace it with the one from your USB drive. The restart bitcoin-qt (or bitcoind) with the --rescan flag, and give it a few hours (depending on your system) to rescan the blockchain for transactions in that wallet. Example: "bitcoin-qt --rescan". If that returns something along the lines of "bitcoin-qt: command not found", make sure you're in the same directory you compiled bitcoin in and run "./bitcoin-qt --rescan", or make sure it is installed properly and try again without the "./".

BTC: 1M8oUcBnkRDEhWWgV8ZXLTB6p1mgnejVbX
How Forum Activity Works
Bitcointalk Forum Rules
|
|
|
Firstbits (lucky vanitygen): 1WoLfRUGDx1
How Forum Trust Works
Bitcoin Source Code
Plankowner (OP)
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
April 10, 2014, 08:40:33 PM
 #8

Yes, the wallet.dat file is from the bitcoin client. I did a rescan at the terminal and it said command not found.

First, close bitcoin-qt and stop bitcoind if it's running. If there is a wallet.dat in ~/.bitcoin, back it up and then replace it with the one from your USB drive. The restart bitcoin-qt (or bitcoind) with the --rescan flag, and give it a few hours (depending on your system) to rescan the blockchain for transactions in that wallet. Example: "bitcoin-qt --rescan". If that returns something along the lines of "bitcoin-qt: command not found", make sure you're in the same directory you compiled bitcoin in and run "./bitcoin-qt --rescan", or make sure it is installed properly and try again without the "./".

That didn't work either. More suggestions please, I need to resolve this. Thank you all thus far for your help.  Grin
Dare
Hero Member
*****
Offline Offline

Activity: 508
Merit: 500


Techwolf on #bitcoin and Reddit


View Profile WWW
April 10, 2014, 10:31:38 PM
 #9

Yes, the wallet.dat file is from the bitcoin client. I did a rescan at the terminal and it said command not found.

First, close bitcoin-qt and stop bitcoind if it's running. If there is a wallet.dat in ~/.bitcoin, back it up and then replace it with the one from your USB drive. The restart bitcoin-qt (or bitcoind) with the --rescan flag, and give it a few hours (depending on your system) to rescan the blockchain for transactions in that wallet. Example: "bitcoin-qt --rescan". If that returns something along the lines of "bitcoin-qt: command not found", make sure you're in the same directory you compiled bitcoin in and run "./bitcoin-qt --rescan", or make sure it is installed properly and try again without the "./".

That didn't work either. More suggestions please, I need to resolve this. Thank you all thus far for your help.  Grin

Try running these commands, in order, from the directory on your USB drive containing the wallet:
1. killall bitcoind; killall bitcoin-qt
2. mv ~/.bitcoin/wallet.dat ~/.bitcoin/wallet.dat.old
3. mv wallet.dat ~/.bitcoin/wallet.dat 
4. bitcoin-qt -rescan &

The first one closes any copies of bitcoind and bitcoin-qt, the second one make a backup of your old wallet (make sure there isn't another backup with the same name there first!), the third one copies in the new wallet, and the fourth one starts bitcoin-qt with the -rescan flag.

Let me know if any of the commands return errors, so I can help troubleshoot further.

Hope this helps!

BTC: 1M8oUcBnkRDEhWWgV8ZXLTB6p1mgnejVbX
How Forum Activity Works
Bitcointalk Forum Rules
|
|
|
Firstbits (lucky vanitygen): 1WoLfRUGDx1
How Forum Trust Works
Bitcoin Source Code
Plankowner (OP)
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
April 10, 2014, 11:24:01 PM
 #10

Yes, the wallet.dat file is from the bitcoin client. I did a rescan at the terminal and it said command not found.

First, close bitcoin-qt and stop bitcoind if it's running. If there is a wallet.dat in ~/.bitcoin, back it up and then replace it with the one from your USB drive. The restart bitcoin-qt (or bitcoind) with the --rescan flag, and give it a few hours (depending on your system) to rescan the blockchain for transactions in that wallet. Example: "bitcoin-qt --rescan". If that returns something along the lines of "bitcoin-qt: command not found", make sure you're in the same directory you compiled bitcoin in and run "./bitcoin-qt --rescan", or make sure it is installed properly and try again without the "./".

That didn't work either. More suggestions please, I need to resolve this. Thank you all thus far for your help.  Grin

Try running these commands, in order, from the directory on your USB drive containing the wallet:
1. killall bitcoind; killall bitcoin-qt
2. mv ~/.bitcoin/wallet.dat ~/.bitcoin/wallet.dat.old
3. mv wallet.dat ~/.bitcoin/wallet.dat  
4. bitcoin-qt -rescan &

The first one closes any copies of bitcoind and bitcoin-qt, the second one make a backup of your old wallet (make sure there isn't another backup with the same name there first!), the third one copies in the new wallet, and the fourth one starts bitcoin-qt with the -rescan flag.

Let me know if any of the commands return errors, so I can help troubleshoot further.

Hope this helps!


I only have the wallet.dat file on my usb, that's all!!
Dare
Hero Member
*****
Offline Offline

Activity: 508
Merit: 500


Techwolf on #bitcoin and Reddit


View Profile WWW
April 11, 2014, 02:12:04 AM
 #11

Yes, the wallet.dat file is from the bitcoin client. I did a rescan at the terminal and it said command not found.

First, close bitcoin-qt and stop bitcoind if it's running. If there is a wallet.dat in ~/.bitcoin, back it up and then replace it with the one from your USB drive. The restart bitcoin-qt (or bitcoind) with the --rescan flag, and give it a few hours (depending on your system) to rescan the blockchain for transactions in that wallet. Example: "bitcoin-qt --rescan". If that returns something along the lines of "bitcoin-qt: command not found", make sure you're in the same directory you compiled bitcoin in and run "./bitcoin-qt --rescan", or make sure it is installed properly and try again without the "./".

That didn't work either. More suggestions please, I need to resolve this. Thank you all thus far for your help.  Grin

Try running these commands, in order, from the directory on your USB drive containing the wallet:
1. killall bitcoind; killall bitcoin-qt
2. mv ~/.bitcoin/wallet.dat ~/.bitcoin/wallet.dat.old
3. mv wallet.dat ~/.bitcoin/wallet.dat  
4. bitcoin-qt -rescan &

The first one closes any copies of bitcoind and bitcoin-qt, the second one make a backup of your old wallet (make sure there isn't another backup with the same name there first!), the third one copies in the new wallet, and the fourth one starts bitcoin-qt with the -rescan flag.

Let me know if any of the commands return errors, so I can help troubleshoot further.

Hope this helps!


I only have the wallet.dat file on my usb, that's all!!

Do you have bitcoin-qt installed on the system you're trying to copy it to? If so, those commands should work; if not, you'll need to install it first.

BTC: 1M8oUcBnkRDEhWWgV8ZXLTB6p1mgnejVbX
How Forum Activity Works
Bitcointalk Forum Rules
|
|
|
Firstbits (lucky vanitygen): 1WoLfRUGDx1
How Forum Trust Works
Bitcoin Source Code
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!