Bitcoin Forum
April 20, 2014, 05:43:53 AM *
News: Due to the OpenSSL heartbleed bug, changing your forum password is recommended.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: My portable Bitcoin for Flash Drives  (Read 4732 times)
bbulker
Member
**
Offline Offline

Activity: 117


View Profile

Ignore
March 24, 2011, 04:03:42 AM
 #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.-
1397972633
Hero Member
*
Offline Offline

Posts: 1397972633

View Profile Personal Message (Offline)

Ignore
1397972633
Reply with quote  #2

1397972633
Report to moderator
1397972633
Hero Member
*
Offline Offline

Posts: 1397972633

View Profile Personal Message (Offline)

Ignore
1397972633
Reply with quote  #2

1397972633
Report to moderator
Unbeatable Service & Product Support
Grab Your Miners at GAWMiners.com
Order Before April 25th to receive
Double your Hashing Power for 1 week!

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

Posts: 1397972633

View Profile Personal Message (Offline)

Ignore
1397972633
Reply with quote  #2

1397972633
Report to moderator
FreeMoney
Hero Member
*****
Offline Offline

Activity: 1246


Strength in numbers


View Profile WWW

Ignore
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



View Profile

Ignore
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
Member
**
Offline Offline

Activity: 117


View Profile

Ignore
March 24, 2011, 05:09:09 AM
 #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
Member
**
Offline Offline

Activity: 117


View Profile

Ignore
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



View Profile

Ignore
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: 142


Security Enthusiast


View Profile WWW

Ignore
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: 399



View Profile

Ignore
April 01, 2011, 12:58:08 AM
 #9

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

13shEJVGamWDu1qkAjbjD8g62hacPFmjQc
Alex Beckenham
Full Member
***
Offline Offline

Activity: 154


View Profile

Ignore
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
Jr. Member
*
Offline Offline

Activity: 41


View Profile

Ignore
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
Member
**
Offline Offline

Activity: 117


View Profile

Ignore
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: 142


Security Enthusiast


View Profile WWW

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

Activity: 1162


Truth may get delay, but NEVER fails


View Profile

Ignore
April 18, 2011, 11:10:55 PM
 #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: 308



View Profile WWW

Ignore
April 18, 2011, 11:34:33 PM
 #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


View Profile

Ignore
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


View Profile

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

Activity: 1540


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.

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!