Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
ec2 build
#create a 64 bit m1.large instance using ami-08f40561
ssh -i key ubuntu@...
sudo apt-get update
sudo apt-get install python-vm-builder qemu-kvm apt-cacher git-core ruby
# turn it on
sudo vi /etc/default/apt-cacher
sudo service apt-cacher start
sudo chown ubuntu /mnt
cd /mnt
#this takes about 30 minutes
#you can change the script to access
bin/make-base-vm --arch=amd64
bin/make-base-vm --arch=i386

This comment has been minimized.

Copy link
Owner Author

@devrandom devrandom commented Apr 28, 2011

Attempt to use VirtualBox:

sudo apt-get install linux-headers-virtual virtualbox-ose
qemu-img convert -O vdi target-lucid-i386.qcow2 target-lucid-i386.vdi
VBoxManage createvm --name gitian -ostype Ubuntu_64 --register
VBoxManage storagectl gitian --name IDEController --add ide --controller PIIX4
VBoxManage storageattach gitian --storagectl IDEController --port 0 --device 0 --type hdd --medium pwd/target-lucid-i386.vdi
sudo modprobe vboxdrv
VBoxHeadless --startvm gitian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.