Skip to content

Instantly share code, notes, and snippets.

@lloydroc
Created August 17, 2016 04:32
Show Gist options
  • Save lloydroc/570e19cfa9423ffaf1f9134dc87a4ae6 to your computer and use it in GitHub Desktop.
Save lloydroc/570e19cfa9423ffaf1f9134dc87a4ae6 to your computer and use it in GitHub Desktop.
Steps Setting up Virtual Box
cd ~
mkdir avm
mkdir avm/downloads
mkdir avm/dvd
mkdir avm/vms
mkdir avm/bin
mkdir avm/shares
mkdir avm/log
cd ~/avm/downloads
wget "http://download.virtualbox.org/virtualbox/5.0.26/Oracle_VM_VirtualBox_Extension_Pack-5.0.26-108824.vbox-extpack"
VBoxManage extpack http://download.virtualbox.org/virtualbox/5.0.26/Oracle_VM_VirtualBox_Extension_Pack-5.0.26-108824.vbox-extpack
VBoxManage list extpacks
VBoxManage createvm --name "SaucySalamander" --register
VBoxManage setpropery machinefolder ~/avm/vms
VBoxManage modifyvm "SaucySalamander" --ostype Ubuntu_64 --memory 512 --acpi on --ioapic on --cpus 1 --boot1 dvd --nic1 bridged --bridgeadapter1 eth0 --vrde on
VBoxManage list ostypes
# Create the disk
cd ~/avm/vms
# 1 of 3 - Establish the controller
VBoxManage storagectl "SaucySalamander" --name "SATAController" --add sata --bootable on --portcount 8 --hostiocache off
# 2 of 3 - Create RAW HardDisk
VBoxManage createhd --filename "Trusty/Trusty/vdi" --size --12000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment