Title: Linux Wallet.dat files compatibility problem with Mac? Post by: LevelUP on February 28, 2014, 04:05:38 PM Hi all,
I'm having problems getting Mac Qt clients to acknowledge wallet.dat files created in live Linux usb environments. I've tried moving the wallet.dat file over directly from the ~/.bitcoin/ subdirectory onto a usb drive and from there I've rebooted into OSX and replaced the existing wallet.dat file... no luck. Is this only me? What am I missing? Title: Re: Linux Wallet.dat files compatibility problem with Mac? Post by: SlidingHorn on February 28, 2014, 04:13:12 PM Hi all, I'm having problems getting Mac Qt clients to acknowledge wallet.dat files created in live Linux usb environments. I've tried moving the wallet.dat file over directly from the ~/.bitcoin/ subdirectory onto a usb drive and from there I've rebooted into OSX and replaced the existing wallet.dat file... no luck. Is this only me? What am I missing? Have you verified that the file is owned by the correct user? e.g. do you use the same user name to log into both systems? Title: Re: Linux Wallet.dat files compatibility problem with Mac? Post by: LevelUP on February 28, 2014, 04:19:55 PM This is my exact process:
1. Boot into Linux Ubuntu 13.10 from a USB Drive (Trial mode) 2. Insert a second USB drive with bitcoin-0.8.6-linux.tar 3. Extract the files to the desktop 4. Run the Bitcoin Qt 5. Export the public addresses to a .csv file and onto the USB drive 6. Navigate to ~/.bitcoin/ subdirectory and copy the wallet.dat file to the 2nd USB drive (7. I would install Truecrypt and create a secure vault at this point but the process isn't working so I've cut this step for now) 7. Reboot into Mac OSX 10.9.1 8. Insert the USB drive and copy the public address from the .csv file 9. Open Bitcoin Qt and send a small amount of Bitcoin to the public offline wallet address 10. Wait for one confirmation by searching the public address on Blockchain.info 11. Close the Qt client, navigate to the Bitcoin directory in Application Support/Bitcoin 12. Copy the offline wallet.dat file created in Linux into the Bitcoin directory, in the process replacing the existing file. 13. Reboot the Bitcoin Qt, allow the network to sync (seems to happen pretty quickly) 14. Voila! Nothing. I hold alt coins also and so I've been trying to establish a universal technique for offline storage that doesn't depend on offline paper wallets, Armoury, Electrum etc. Title: Re: Linux Wallet.dat files compatibility problem with Mac? Post by: LevelUP on February 28, 2014, 04:27:55 PM Hi all, I'm having problems getting Mac Qt clients to acknowledge wallet.dat files created in live Linux usb environments. I've tried moving the wallet.dat file over directly from the ~/.bitcoin/ subdirectory onto a usb drive and from there I've rebooted into OSX and replaced the existing wallet.dat file... no luck. Is this only me? What am I missing? Have you verified that the file is owned by the correct user? e.g. do you use the same user name to log into both systems? No I don't. The Linux environment is live and so every time I boot from the USB it's a new OS Title: Re: Linux Wallet.dat files compatibility problem with Mac? Post by: SlidingHorn on February 28, 2014, 04:35:43 PM No I don't. The Linux environment is live and so every time I boot from the USB it's a new OS Since Mac is unix based, I'd assume it has a terminal? Open one, navigate (cd) to the directory containing the imported wallet.dat file and enter the following Code: ls -al Please paste the results in "CODE" tags here. Title: Re: Linux Wallet.dat files compatibility problem with Mac? Post by: LevelUP on February 28, 2014, 04:43:11 PM No I don't. The Linux environment is live and so every time I boot from the USB it's a new OS Since Mac is unix based, I'd assume it has a terminal? Open one, navigate (cd) to the directory containing the imported wallet.dat file and enter the following Code: ls -al Please paste the results in "CODE" tags here. Sure, I've been trialing my cold storage with peercoin right now so please bear that in mind. I've done this with Litecoin and Bitcoin already and the results have been the same, i.e. loss of 0.01 units of coin because I can't make the wallet hot. Code: total 566392 Title: Re: Linux Wallet.dat files compatibility problem with Mac? Post by: SlidingHorn on February 28, 2014, 04:54:02 PM Oh wait...I think I just remembered the solution to this. We were skipping something...:
1. Back up any old wallet.dat files you may have on the mac to a different directory 2. Close the qt wallet 3. Delete the contents of the ~/.bitcoin/ directory 4. Paste the linux-generated wallet.dat file in the folder 5. Restart the qt wallet & give it time to rebuild the block chain - this may take a while If all goes according to plan, you'll start seeing your coins coming in as the chain reloads. Important: This method is only suggested if you have NO coins in the mac-generated wallet to start. Title: Re: Linux Wallet.dat files compatibility problem with Mac? Post by: LevelUP on February 28, 2014, 04:56:16 PM Oh wait...I think I just remembered the solution to this. We were skipping something...: 1. Back up any old wallet.dat files you may have on the mac to a different directory 2. Close the qt wallet 3. Delete the contents of the ~/.bitcoin/ directory 4. Paste the linux-generated wallet.dat file in the folder 5. Restart the qt wallet & give it time to rebuild the block chain - this may take a while If all goes according to plan, you'll start seeing your coins coming in as the chain reloads. Important: This method is only suggested if you have NO coins in the mac-generated wallet to start. ok great. Ill try this and post the results here. Title: Re: Linux Wallet.dat files compatibility problem with Mac? Post by: LevelUP on February 28, 2014, 09:42:47 PM Oh wait...I think I just remembered the solution to this. We were skipping something...: 1. Back up any old wallet.dat files you may have on the mac to a different directory 2. Close the qt wallet 3. Delete the contents of the ~/.bitcoin/ directory 4. Paste the linux-generated wallet.dat file in the folder 5. Restart the qt wallet & give it time to rebuild the block chain - this may take a while If all goes according to plan, you'll start seeing your coins coming in as the chain reloads. Important: This method is only suggested if you have NO coins in the mac-generated wallet to start. ok great. Ill try this and post the results here. It worked out nicely bro. Thanks. I did some more searching for a solution that doesn't involve downloading the entire Blockchain and you can use the following command in terminal to rescan the blockchain and update balances without having to download anything or use bitcoind etc. (change the app name and directory to reflect your Qt client) Code: cd /Applications/Bitcoin-Qt.app/Contents/MacOS/ Title: Re: Linux Wallet.dat files compatibility problem with Mac? Post by: SlidingHorn on February 28, 2014, 10:58:38 PM It worked out nicely bro. Thanks. I did some more searching for a solution that doesn't involve downloading the entire Blockchain and you can use the following command in terminal to rescan the blockchain and update balances without having to download anything or use bitcoind etc. (change the app name and directory to reflect your Qt client) Good, I'm glad it worked. I'll make a mental note of the -rescan option. I think I remember seeing that somewhere, but I must have forgotten it. Cheers! |