How to export a Vagrant virtual machine to transfer it

You have two ways to do this, I’ll call it dirty way and clean way: 1. The dirty way Create a box from your current virtual environment, using vagrant package command: http://docs.vagrantup.com/v2/cli/package.html Then copy the box to the other pc, add it using vagrant box add and run it using vagrant up as usual. Keep … Read more

What are the differences between QEMU and VirtualBox? [closed]

Basically both have features which the other does not have, so this might ease the decision. QEMU/KVM is better integrated in Linux, has a smaller footprint and should therefore be faster. VirtualBox is a virtualization software limited to x86 and amd64 architecture. Xen uses QEMU for the hardware assisted virtualization, but can also paravirtualize guests … Read more

Using vagrant to run virtual machines with desktop environment

I just got this working with basically three steps. The advice from askubuntu.com didn’t quite work for me, so try this simplified version: Get a basic Ubuntu image working. You should be able to boot it and vagrant ssh. Next, enable the VirtualBox display, which is off by default. Halt the VM and uncomment these … Read more

VBoxManage: error: Failed to create the host-only adapter [closed]

I had the same problem today. The reason was that I had another VM running in VirtualBox. Solution: Open VirtualBox and shut down every VM running Go to System Preferences > Security & Privacy Then hit the “Allow” button to let Oracle (VirtualBox) load. Restart VirtualBox sudo “/Library/Application Support/VirtualBox/LaunchDaemons/VirtualBoxStartup.sh” restart You should now be able … Read more