Author

Topic: Help creating a custom Ubuntu live-cd with armory included. (Read 1254 times)

hero member
Activity: 560
Merit: 509
I prefer Zakir over Muhammed when mentioning me!
Thanks for posting here. It will help others(including me). You will have to install the missing modules. Just search in Google: .py download. Most probably , the file you are missing can be downloaded from https://pypi.python.org/pypi/setuptools. If it isn't or you couldn't find the file using the method above, please copy-paste the line here.

   ~~MZ~~
newbie
Activity: 6
Merit: 0
I did it! Well the easy part at least... For those interested the way I installed Armory into a custom ubuntu .iso was this. Also the resulting .iso is too big to fit on a cd so you need to use a dvd. Use a dvd-r or this whole project is pointless.

1. Start the Ubuntu Customization Kit and follow the steps until it asks you if you want to run the console or continue building. Choose run the console.
2. Run the command mkdir /Armory/
3. Run the command cd /Armory/
4. Open a brand new console window and run: sudo nautilus ~/tmp/remaster-root/Armory/  (This opens a file explorer window with root access right at the directory we need)
5. Copy and paste the Armory offline bundle (with all the dependencies) into this folder
6. Back in the uck customization console run sudo dpkg -i *.deb

While learning about using the ubuntu customization kit I also did some nifty things. I uninstalled the network manager by running sudo apt-get purge network-manager
This is probably pointless and it does add a minute to startup while it looks for the network manager, but I want the coldest storage possible  Cool. Since I plan on only running this as a livecd I also removed the welcome screen where it asks if you want to install or just try ubuntu. To do this just run sudo apt-get remove ubiquity (I think. This one I'm kind of hazy on.) To help achieve my goal of using no usb drives or the like I also copied my encrypted wallet file to ~/tmp/remaster-root/Armory/ using the same file explorer window used to copy the Armory files. I also included the python scripts but this is where I'm hitting another road block.

How do I run the python scripts that I linked to in my first post? I try running python setup.py on my online machine but It gives me an error saying some setup module is not found. I've never ran a script before so detailed help would be much appreciated.

newbie
Activity: 6
Merit: 0
Thanks for the help Muhammed. I guess I should have made myself more clear. I have the offline bundle and the dependencies downloaded but I'm not sure how to add it to the customized live-cd through the uck customization console. Normally on my offline machine to install the armory offline bundle I run sudo dpkg -i then drag and drop armory and all the dependencies to the terminal. When I try that in the uck customization console, it gives me an error saying cannot access archive: No such file or directory. I'm just lost as to what the actual console commands to use are because installing it like normal is not working. Thanks again for the help!
hero member
Activity: 560
Merit: 509
I prefer Zakir over Muhammed when mentioning me!
First download, Armory offline bundle[1] which have all dependencies. Remember, you may need to get updated version as the bundle is for Ubuntu 12.04. Install every dependencies with internet connection[2] if there is error when installing offline excpet Armory. When installing Armory, don't connect internet. All the files are .deb files, so if you double click the file, you can install the files using Software center. If libconfig-file-perl is missing, download it[3] and install it like other files. Don't forget to download the github repo. More  doubts? Post here! Smiley

[1] https://bitcoinarmory.com/download
[2] I don't recommend installing while the connection is active. Its better if you can download the latest .deb file of dependencies. You can download files from https://launchpad.net/ubuntu/trusty .
[3] https://launchpad.net/ubuntu/trusty/i386/libconfig-file-perl/1.50-2

   ~~MZ~~
newbie
Activity: 6
Merit: 0
First off I'm a total linux noob. My goal is to create an offline environment for armory where I will never need to use a USB drive or SD card to move transactions (Using qr codes instead; check out https://www.youtube.com/watch?v=ZlSC3mLjNSg). Right now I have a stock ubuntu 64 bit live-dvd and use a usb stick to install armory and move transactions. I'm using the ubuntu customization kit (uck) and having problems adding the armory package. I follow the uck tutorial and open the uck customization console. I know this is where I add it but I have no idea how to do it. I tried apt-get install armory like an idiot hoping it would work but it just says

E: Unable to locate package armory

I feel like this a really easy fix but like I said I'm a noob and know next to nothing about using linux let alone the console. I'm using ubuntu 14.04 64-bit. Any help is greatly appreciated. Thanks!

Edit: I also just realized I will need to include the qr code encoding/decoding software. I want to use this https://github.com/hank/armorycompanion-python. How do I add the required dependencies and the python scripts? Maybe this is all way over my head and I'm just being too paranoid haha. But it would be nice to get this working if only to understand linux better. It seems like using armory without writable removable media would be pretty desirable so I'm surprised there's so little info on this.
Jump to: