Bitcoin Forum
May 04, 2024, 06:21:18 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: My portable Bitcoin for Flash Drives  (Read 8354 times)
bbulker (OP)
Full Member
***
Offline Offline

Activity: 124
Merit: 100


View Profile
March 24, 2011, 04:03:42 AM
Last edit: March 24, 2011, 09:23:32 AM by bbulker
 #1

Not sure if this has been done yet or if this is the right section, but I felt like sharing my portable setup that I keep on an encrypted flash drive.

Just copy your wallet to the DATA folder and run "launch.bat".


-Link removed, tutorial at post #6.-
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
FreeMoney
Legendary
*
Offline Offline

Activity: 1246
Merit: 1014


Strength in numbers


View Profile WWW
March 24, 2011, 04:24:35 AM
 #2

I apologize, but I need to warn people to be careful. This seems dangerous.

Play Bitcoin Poker at sealswithclubs.eu. We're active and open to everyone.
Cryptoman
Hero Member
*****
Offline Offline

Activity: 726
Merit: 500



View Profile
March 24, 2011, 05:02:26 AM
 #3

I apologize, but I need to warn people to be careful. This seems dangerous.

+1

"A small body of determined spirits fired by an unquenchable faith in their mission can alter the course of history." --Gandhi
bbulker (OP)
Full Member
***
Offline Offline

Activity: 124
Merit: 100


View Profile
March 24, 2011, 05:09:09 AM
Last edit: March 24, 2011, 05:20:52 AM by bbulker
 #4

I apologize, but I need to warn people to be careful. This seems dangerous.

You can replace everything in the APP folder if you don't trust me, which I don't blame you. The only important part really is the launcher:

Code:
start %cd%\APP\bitcoin.exe -server -datadir="%cd%\DATA"
EXIT
Anonymous
Guest

March 24, 2011, 08:38:00 AM
 #5

I apologize, but I need to warn people to be careful. This seems dangerous.

You can replace everything in the APP folder if you don't trust me, which I don't blame you. The only important part really is the launcher:

Code:
start %cd%\APP\bitcoin.exe -server -datadir="%cd%\DATA"
EXIT

I'll wait till someone else installs it first .



bbulker (OP)
Full Member
***
Offline Offline

Activity: 124
Merit: 100


View Profile
March 24, 2011, 09:22:30 AM
 #6

Didn't think this would cause such a big fuss, forget my download, removed from OP, here is a tutorial on how I made my install portable:


1) Create an empty folder on your flashdrive called "Bitcoin".
2) Create folders "APP" and "DATA" in the "Bitcoin" folder.
3) Copy all files from "AppData\Roaming\Bitcoin" into "DATA" folder.
4) Copy all files from "Program Files\Bitcoin" into "APP" folder.
5) Open a new Notepad document and paste the following launch code:

Code:
start %cd%\APP\bitcoin.exe -server -datadir="%cd%\DATA"
EXIT

6) Save document in the newly created "Bitcoin" folder as "launch.bat".
7) Run "launch.bat" to run Bitcoin.
Cryptoman
Hero Member
*****
Offline Offline

Activity: 726
Merit: 500



View Profile
March 24, 2011, 05:27:31 PM
 #7

Appreciate the contribution.  There have been some wallet scams lately, so that is the reason for an abundance of caution.

"A small body of determined spirits fired by an unquenchable faith in their mission can alter the course of history." --Gandhi
zellfaze
Full Member
***
Offline Offline

Activity: 141
Merit: 101


Security Enthusiast


View Profile WWW
March 29, 2011, 07:11:57 PM
 #8

I have one that is very similar.  It though also adds some nodes.   I use it for when I have to run bitcoin through tor.

Code:
@echo off
echo Launching BitCoin...
echo ----------------------------------------
echo Please make sure to exit before removal!
echo ----------------------------------------
bitcoin.exe -datadir=./data -addnode=69.164.218.197 -addnode=217.157.1.202 -addnode=178.63.15.200 -addnode=109.75.176.193 -addnode=174.120.185.74

The warning at the beginning of the batch file is so that you are reminded to close bitcoin before removing your flash drive.

Also, I can vouch for bbulker's batch file.  There is nothing malicious in his program.

A+, CCENT, CCNA
Security Enthusiast
PHP Coder

Not that I expect anyone to, but should you like my post, please donate:
Donate: 1BRbfqii6Sm9tEUE8A16H7QeDmYFjyBZ7V
theGECK
Sr. Member
****
Offline Offline

Activity: 411
Merit: 250



View Profile
April 01, 2011, 12:58:08 AM
 #9

Would this work without the server switch, or is that necessary to set the data folder?

Use my referral codes for Bitcoin faucets and I'll send you 30% of my referral bonus - Win/Win! PM for details on all sites available or use one of the links here.

FreeBitco.in | FreeDoge.co.in
Alex Beckenham
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile
April 01, 2011, 01:38:36 AM
 #10

Also, I can vouch for bbulker's batch file.  There is nothing malicious in his program.

Quote
Posts: 2

You need more vouching credits Smiley

cw
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
April 01, 2011, 04:57:56 AM
 #11

The only important part really is the launcher:

You better have TrueCrypt (or simiar) installed in the Flash Drive and keep Bitcoin data in an encrypted file/partition.
bbulker (OP)
Full Member
***
Offline Offline

Activity: 124
Merit: 100


View Profile
April 02, 2011, 06:34:39 PM
 #12

The only important part really is the launcher:

You better have TrueCrypt (or simiar) installed in the Flash Drive and keep Bitcoin data in an encrypted file/partition.

Yes, that is very important. When I said the launcher is the only important part, that was in regards to making it work regardless of drive letter and path, as I included an unmodified Bitcoin app in my original link.

I keep a portable TrueCrypt on my Flash Drive to mount the standard TrueCrypt volume that contains my portable Bitcoin. I also backup my wallet to my harddrive regularly since data on Flash Drives can easily become damaged.
zellfaze
Full Member
***
Offline Offline

Activity: 141
Merit: 101


Security Enthusiast


View Profile WWW
April 05, 2011, 02:10:06 PM
 #13

Also, I can vouch for bbulker's batch file.  There is nothing malicious in his program.

Quote
Posts: 2

You need more vouching credits Smiley


You're right.  I forget that I start with no reputation when I join a new forum.  Forgive me.

Quote
You better have TrueCrypt (or simiar) installed in the Flash Drive and keep Bitcoin data in an encrypted file/partition.

I keep my portable copy of bitcoin on a flash drive with hardware based encryption.  At some point I'll add TrueCrypt to the mix as well, but I haven't had the time yet.

A+, CCENT, CCNA
Security Enthusiast
PHP Coder

Not that I expect anyone to, but should you like my post, please donate:
Donate: 1BRbfqii6Sm9tEUE8A16H7QeDmYFjyBZ7V
dishwara
Legendary
*
Offline Offline

Activity: 1855
Merit: 1016



View Profile
April 18, 2011, 11:10:55 PM
Last edit: April 19, 2011, 03:25:54 AM by dishwara
 #14

Nice portable edition. Good work.

+10 for your work.

I just created folder & encrypted the folder with windows encryption. job done. perfect & simple.
lulzplzkthx
Sr. Member
****
Offline Offline

Activity: 322
Merit: 251



View Profile WWW
April 18, 2011, 11:34:33 PM
Last edit: April 19, 2011, 01:35:48 AM by lulzplzkthx
 #15

Just by reading the batch file, it's valid and safe. I plan on using this soley in a few. I think it would be nice to post this on the main page as a Windows Portable edition.

EDIT: You can remove license.txt, readme.txt, and src/ if you are short on space. Wink

Alex Beckenham
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile
April 21, 2011, 07:47:05 AM
 #16

Thanks everyone, I'm finally getting around to setting up my savings account.

When using Truecrypt you could just have the data directory encrypted and not the program files...

eg.

launcher.bat says:
bitcoin.exe -datadir=x:\data

Truecrypt container : data.tc
Contains the bitcoin data directory which you always make sure to mount as x:\ (or whatever drive letter you've chosen in launcher.bat).

Alex Beckenham
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile
April 21, 2011, 04:29:08 PM
 #17

Could someone answer a quick question... what is the 'database' directory exactly? And are files such as log.0000000002 necessary?

There's 257mb of files in there which has made my thumb drive so full that bitcoin isn't even able to download the full block chain.


theymos
Administrator
Legendary
*
Offline Offline

Activity: 5194
Merit: 12968


View Profile
April 21, 2011, 06:00:11 PM
 #18

Could someone answer a quick question... what is the 'database' directory exactly? And are files such as log.0000000002 necessary?

You can delete them. They contain journaling information in case database recovery is necessary.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
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!