Bitcoin Forum
December 08, 2016, 08:26:14 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Running bitcoin from a flash drive  (Read 2821 times)
MacFall
Member
**
Offline Offline

Activity: 84


Agorist


View Profile WWW
June 09, 2011, 10:27:56 PM
 #1

I installed bitcoin on an encrypted flash drive, but the folder in Windows's Application Data still exists. Is there any way to run it entirely from a flash drive so that my wallet doesn't ever appear on my hard drive? Keep in mind that I'm sort of tech retarded so if it involves hacking the source code or recompiling kernels or anything like that, it's out of my reach.

No king but Christ; no law but Liberty!

Fledge Press: Pro-Liberty Fiction and Art
1JBmYmG2U5ETj8BXZUBCXDKWCQcFoERBNP
1481228774
Hero Member
*
Offline Offline

Posts: 1481228774

View Profile Personal Message (Offline)

Ignore
1481228774
Reply with quote  #2

1481228774
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481228774
Hero Member
*
Offline Offline

Posts: 1481228774

View Profile Personal Message (Offline)

Ignore
1481228774
Reply with quote  #2

1481228774
Report to moderator
mewantsbitcoins
Full Member
***
Offline Offline

Activity: 126


View Profile
June 09, 2011, 10:30:11 PM
 #2

Use -datadir=<dir>
tunatime
Member
**
Offline Offline

Activity: 75


View Profile
June 09, 2011, 10:37:19 PM
 #3

back up your wallet a lot flash drives die at a high rate. and if your going to have you main wallet on the flash i woudl back it up to at least 2 other places
MacFall
Member
**
Offline Offline

Activity: 84


Agorist


View Profile WWW
June 09, 2011, 10:46:48 PM
 #4

Use -datadir=<dir>

...¿Que?

No king but Christ; no law but Liberty!

Fledge Press: Pro-Liberty Fiction and Art
1JBmYmG2U5ETj8BXZUBCXDKWCQcFoERBNP
mewantsbitcoins
Full Member
***
Offline Offline

Activity: 126


View Profile
June 09, 2011, 10:53:51 PM
 #5

You have to copy the whole bitcoin directory, then open cmd, navigate where your bitcoin binary is(program files?) and run
Code:
bitcoin.exe -datadir=path_to_the_directory_on_your_flash_drive
BudGecko
Newbie
*
Offline Offline

Activity: 1


View Profile
June 09, 2011, 11:10:20 PM
 #6

https://en.bitcoin.it/wiki/Securing_your_wallet#Locating_BitCoin_s_data_directory
Locate your data directory:

Start > Run
explorer %APPDATA%\Bitcoin

..then copy its contents (which includes wallet.dat) to the encrypted flash drive.

https://en.bitcoin.it/wiki/Securing_your_wallet#Windows

Then, like mewantsbitcoin said, either run from a commandline or make a shortcut with the contents:
bitcoin.exe -datadir=path_to_the_directory_on_your_flash_drive

https://en.bitcoin.it/wiki/Securing_your_wallet#Erasing_Plain_Text_Wallets

Then shred your wallet off your Windows hard drive.
MacFall
Member
**
Offline Offline

Activity: 84


Agorist


View Profile WWW
June 10, 2011, 03:00:43 AM
 #7

Ok, thanks guys! Now will this work every time I run bitcoin from here on, or do I need to use the same process/shortcut for it to work? The shortcut wouldn't be a problem except for the possibility of the drive letter changing.

No king but Christ; no law but Liberty!

Fledge Press: Pro-Liberty Fiction and Art
1JBmYmG2U5ETj8BXZUBCXDKWCQcFoERBNP
AtomSea
Full Member
***
Offline Offline

Activity: 125


So sexy, it hurts.


View Profile WWW
June 02, 2015, 06:34:08 AM
 #8

The -datadir=<dir> works nicely for other blockchain wallets Smiley Thank you.
My goal is to have multiple blockchains on one thumbdrive.
The hardware now exists to usher in the age of the blockchain. . .
(cue dramatic music)

1AtomSeaGScKNAv3ciFtc1oL1V1zPwdSAF
Blockchain publishing - Apertus.io
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!