ethereum: geth how to change the database (chaindata) directory?

Follow this simple steps to change ethereum database path:

  1. Dowload or compile from source geth.
  2. Execute geth --datadir "/mnt/external" .
  3. Optional: Execute Ethereum-Wallet that will connect to the geth node.