Android emulator and virtualbox cannot run at same time

Removing the kvm kernel modules (using ‘sudo rmmod kvm_intel kvm’) makes it possible to run the Virtualbox and the Android emulator at the same time but the performance of the Android emulator in such a setup is extremely bad. If possible it is better to shutdown the Virtualbox emulator and unload its driver (vboxdrv) by … Read more

How do I associate a Vagrant project directory with an existing VirtualBox VM?

For Vagrant 1.6.3 do the following: 1) In the directory where your Vagrantfile is located, run the command VBoxManage list vms You will have something like this: “virtualMachine” {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} 2) Go to the following path: cd .vagrant/machines/default/virtualbox 3) Create a file called id with the ID of your VM xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx 4) Save the file and … 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

Git error “fatal: ambiguous argument ‘HEAD’: unknown revision or path not in the working tree”

As others pointed out, this message is coming from your shell prompt. The problem is that in a freshly created repository HEAD (.git/HEAD) points to a ref that doesn’t exist yet. % git init test Initialized empty shared Git repository in /Users/jhelwig/tmp/test/.git/ % cd test % cat .git/HEAD ref: refs/heads/master % ls -l .git/refs/heads total … Read more

How to change Vagrant ‘default’ machine name?

I found the multiple options confusing, so I decided to test all of them to see exactly what they do. I’m using VirtualBox 4.2.16-r86992 and Vagrant 1.3.3. I created a directory called nametest and ran vagrant init precise64 http://files.vagrantup.com/precise64.box to generate a default Vagrantfile. Then I opened the VirtualBox GUI so I could see what … Read more

Vagrant error : Failed to mount folders in Linux guest

The plugin vagrant-vbguest solved my problem: $ vagrant plugin install vagrant-vbguest Output: $ vagrant reload ==> default: Attempting graceful shutdown of VM… … ==> default: Machine booted and ready! GuestAdditions 4.3.12 running — OK. ==> default: Checking for guest additions in VM… ==> default: Configuring and enabling network interfaces… ==> default: Exporting NFS shared folders… … Read more

Vagrant box could not be found or could not be accessed in the remote catalog – incompatible curl version

There seems to be an issue with vagrant 1.8.7 and the embedded curl version vs the mac os binary (shipped by default on mac os Sierra and others) – remove the embedded one sudo rm /opt/vagrant/embedded/bin/curl Note: you also need to remove the embedded curl when you add a vagrant box (remotely or locally) so … Read more

tech