Bitcoin Forum
May 13, 2024, 11:14:45 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Running bitcoin from a flash drive  (Read 3015 times)
MacFall (OP)
Member
**
Offline Offline

Activity: 84
Merit: 10


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
1715598885
Hero Member
*
Offline Offline

Posts: 1715598885

View Profile Personal Message (Offline)

Ignore
1715598885
Reply with quote  #2

1715598885
Report to moderator
1715598885
Hero Member
*
Offline Offline

Posts: 1715598885

View Profile Personal Message (Offline)

Ignore
1715598885
Reply with quote  #2

1715598885
Report to moderator
"If you don't want people to know you're a scumbag then don't be a scumbag." -- margaritahuyan
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715598885
Hero Member
*
Offline Offline

Posts: 1715598885

View Profile Personal Message (Offline)

Ignore
1715598885
Reply with quote  #2

1715598885
Report to moderator
1715598885
Hero Member
*
Offline Offline

Posts: 1715598885

View Profile Personal Message (Offline)

Ignore
1715598885
Reply with quote  #2

1715598885
Report to moderator
1715598885
Hero Member
*
Offline Offline

Posts: 1715598885

View Profile Personal Message (Offline)

Ignore
1715598885
Reply with quote  #2

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

Activity: 126
Merit: 100


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

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

Activity: 75
Merit: 10


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 (OP)
Member
**
Offline Offline

Activity: 84
Merit: 10


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
Merit: 100


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
Merit: 0


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 (OP)
Member
**
Offline Offline

Activity: 84
Merit: 10


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: 143
Merit: 100


So sexy, it hurts.


View Profile
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)
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!