Questions tagged [virtualbox]

[Notice: Only programming-related questions are on-topic] Oracle VM VirtualBox is an x86 virtualization software package, now developed by Oracle Corporation

Oracle VM VirtualBox

Oracle VM VirtualBox is an x86 virtualization software package. It was created by software company innotek GmbH, purchased by Sun Microsystems, and is now developed by Oracle Corporation as part of its family of virtualization products.

VirtualBox is installed on an existing host operating system; within this application, additional guest operating systems can be loaded and run. Each guest OS operates within its own virtual environment.

Presently, VirtualBox runs on Windows, Linux, Macintosh, and Solaris hosts. It supports a large number of guest operating systems including but not limited to:

  • Windows (NT 4.0, 2000, XP, Server 2003, Vista, Windows 7)
  • DOS/Windows 3.x,
  • Linux (2.4 and 2.6)
  • Solaris and OpenSolaris
  • OS/2
  • OpenBSD

See also:

5682 questions
173
votes
23 answers

SSH to Vagrant box in Windows?

I'm using Vagrant to start a VirtualBox VM in windows. In other platforms, I can just $ vagrant ssh to connect to the VM. How do i connect to this Vagrant box in windows? The way suggested in Vagrant documentation to use PuTTy also did not…
Sathish
  • 20,660
  • 24
  • 63
  • 71
173
votes
11 answers

Using vagrant to run virtual machines with desktop environment

My company's development environment is based on virtual machines, running on VirtualBox. We would like to move one step further, and use the capabilities of Vagrant to have the description of the machine in a text file and then be able to "raise"…
PRiera
  • 1,731
  • 3
  • 11
  • 3
172
votes
32 answers

Vagrant ssh authentication failure

The problem with ssh authentication: ==> default: Clearing any previously set forwarded ports... ==> default: Clearing any previously set network interfaces... ==> default: Preparing network interfaces based on configuration... default: Adapter…
ic3b3rg
  • 14,629
  • 4
  • 30
  • 53
169
votes
10 answers

macOS - vagrant up failed, /dev/vboxnetctl: no such file or directory

Can be useful, I found this error. The common solution is reinstall virtualbox but there are a better way. Solution sudo /Library/StartupItems/VirtualBox/VirtualBox restart or sudo /Library/StartupItems/VirtualBox/VirtualBox start VirtualBox…
Lucas Serafim
  • 3,702
  • 6
  • 30
  • 36
163
votes
10 answers

How do I ssh into the VM for Minikube?

What is the username/password/keys to ssh into the Minikube VM?
soupybionics
  • 4,200
  • 6
  • 31
  • 43
161
votes
16 answers

Virtualbox enable nested vtx/amd-v greyed out

On my Ubuntu 18.04, I've installed VirtualBox 6.0 in order to have nested virtualization. Virtualization is enabled in my bios. However, when I open the settings of my (powered off) virtual machine and go to System -> Processor, the option "Enable…
Francesco Borzi
  • 56,083
  • 47
  • 179
  • 252
146
votes
9 answers

How do I change the UUID of a virtual disk?

I am trying to create a new virtual machine with Oracle VirtualBox, using an already-existing hard disk. When I try to select the existing hard disk file, a .vhd file, it displays an error saying the virtual hard disk cannot be used because the UUID…
CJAY
  • 6,989
  • 18
  • 64
  • 106
142
votes
21 answers

virtualbox Raw-mode is unavailable courtesy of Hyper-V windows 10

issues: Failed to open a session for the virtual machine ubuntu. Raw-mode is unavailable courtesy of Hyper-V. (VERR_SUPDRV_NO_RAW_MODE_HYPER_V_ROOT). Result Code: E_FAIL (0x80004005) Component: ConsoleWrap Interface: IConsole…
AKB
  • 5,918
  • 10
  • 53
  • 90
140
votes
11 answers

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

Somehow my Vagrant project has disassociated itself from its VirtualBox VM, so that when I vagrant up Vagrant will import the base-box and create a new virtual machine. Is there a way to re-associate the Vagrant project with the existing VM? How…
jrdmcgr
  • 1,681
  • 3
  • 13
  • 13
136
votes
3 answers

What are the differences between QEMU and VirtualBox?

Recently, I found out that there is the QEMU project. I've used VirtualBox before, and I know about Xen and VMWare. What are the differences between QEMU and VirtualBox? Should I stick with VirtualBox? In which cases is QEMU better?
Pavlo
  • 1,594
  • 2
  • 15
  • 30
133
votes
17 answers

Vagrant Not Starting Up. User that created VM doesn't match current user

I was trying to start up my vagrant machine, so I navigated to the folder where my vagrantfile is, and used: vagrant up && vagrant ssh but I got the following error message: The VirtualBox VM was created with a user that doesn't match the …
Luke
  • 1,736
  • 2
  • 16
  • 34
127
votes
32 answers

A VirtualBox machine with the name 'homestead' already exists

Since homestead 2.0 homestead laravel has not been working I don't know why 'homestead init' creates a Homestead.yaml file in mydirectory/.homestead and not in the project directory. Homestead up OR Vagrant up create the following message A…
Matt Doran
  • 2,050
  • 2
  • 16
  • 18
121
votes
8 answers

How to increase docker-machine memory Mac

I am new to Docker, and trying to go through this tutorial setting up MemSQL from a Docker image - http://docs.memsql.com/4.0/setup/docker/ . I am on a Mac, and the tutorial uses boot2docker which seems to have been deprecated. The VM needs 4GB…
DJElbow
  • 3,345
  • 11
  • 41
  • 52
120
votes
14 answers

Android emulator and virtualbox cannot run at same time

Whenever I have Virtualbox running, I cannot start an Android emulator image (and vice versa). The error message in the AVD manager is ioctl(KVM_CREATE_VM) failed: Device or resource busy ko:failed to initialize KVM How can I make both run at the…
Bananeweizen
  • 21,797
  • 8
  • 68
  • 88
119
votes
8 answers

How to connect to a docker container from outside the host (same network) [Windows]

I've created my first docker container, it's running a server using Go but I can't access it from outside the host computer. I've just started with docker so I'm a little lost here. So I have a very simple Go code that starts a server, I have built…
redsalt
  • 1,519
  • 4
  • 20
  • 28