VirtualBox is a free, open source virtualization program from Oracle for the x86/x86_64 architectures.

learn more… | top users | synonyms (3)

154
votes
4answers
134k views

How to compact VirtualBox's VDI file size?

I've a VirtualBox VM which configured a very large hard disk size (bigger than host). By my mistake, a program on the VM generated lots of log files and the VDI file size keeps growing until there is ...
141
votes
4answers
61k views

Why should I use Vagrant instead of just VirtualBox?

I've been using VirtualBox for many years to create a development environment. A lot of my colleagues are talking about Vagrant and many people seem very excited about it but I just can't seem to ...
133
votes
7answers
159k views

What disk image should I use with VirtualBox, VDI, VMDK, VHD or HDD?

Latest versions of VirtualBox supports several formats for virtual disks, but they forgot to provide a comparison between them. VDI VMDK VHD HDD Now, I am interested about a recommendation or ...
126
votes
5answers
119k views

Connect to the host machine from a VirtualBox guest OS?

I'd essentially like to access my host computer from the guest in VirtualBox. Is there an IP address given for my host which I can use from the guest? Are there extra steps required to set this up? I'...
113
votes
4answers
107k views

How do I enable the shared clipboard in VirtualBox?

Where is the configuration option for sharing clipboards (copy & paste) between the host OS and the guest OS?
107
votes
11answers
113k views

How to move VirtualBox files?

By default VirtualBox stores all data in a directory below the home directory. I know how to change it but how can I change the location of existing images (without editing VirtualBox.xml manually)? ...
103
votes
5answers
97k views

What's the recommended way to move a VirtualBox VM to another computer?

I use VirtualBox 4.1.x on my Ubuntu machine and I’ve set up several virtual machines. Since there are several ways one can move a virtual machine in VirtualBox to another computer, I was wondering ...
90
votes
4answers
235k views

Why does virtualbox only have 32-bit option, no 64-bit option on Windows 7?

I have downloaded and installed the newest virtualbox 4.3.20 for my Windows 7 (64-bit OS), but when I want to install 64-bit Linux, the New->Create Virtual Machine only displays 32-bit option, no 64-...
85
votes
9answers
66k views

Run VirtualBox in background, without a window?

I was wondering if it's possible to run an Ubuntu virtual machine using VirtualBox in background, I mean, without any window open. The idea is to connect via SSH to the Linux host, that would be ...
73
votes
5answers
194k views

How do I exit an SSH connection?

I’m connecting to a server via SSH to send a message to a socket server using a command like: ssh 181.169.1.2 -p 5566 After the connection is established and I write the message and send it I ...
70
votes
6answers
42k views

VirtualBox guest OS accessing local server on host OS

On my Ubuntu host I have my local webserver. I installed VirtualBox and Debian as a guest. I would like the Debian guest to be able to hit my webserver running on my Ubuntu host (for example, I just ...
67
votes
7answers
285k views

How do I enable VT-X?

I'd like to provide a guest OS with multiple CPUs in VirtualBox. My host machine is a quad core HP Compaq and uses the Intel Core 2 vPro hardware. However, when I try to enable the setting in vbox, ...
67
votes
8answers
221k views

Why Virtual Box won't give me option to create 64 bits guests?

My host is x64 bits Windows 8.1. I downloaded the latest Virtual Box (4.3) and I'm trying to create a VM with a 64 bits Ubuntu OS (ubuntu-12.04.3-desktop-amd64). When I go to New VM wizard, it doesn'...
66
votes
7answers
93k views

Can you run one virtual machine inside another?

Is it possible to, say, run VirtualBox on Windows 7 with a Linux guest, and inside that Linux machine run Bochs? The reason is that I'm interested in starting OS development, and I've found that all ...
61
votes
6answers
9k views

Can a hypervisor like VirtualBox be used to launch a virtualized OS which is also directly bootable?

This question is rather theoretical: Suppose I have a PC with two different OS on two different partitions: OS1 on sda1 and OS2 on sda2. Is it somehow possible to set up a program like VMWare or ...
58
votes
2answers
63k views

Permission denied when accessing VirtualBox shared folder when member of the vboxsf group

I'm running Ubuntu 11.04 (guest) on Windows 7 (host) with the guest additions installed. I have an auto-mount folder that maps to my D: drive on the host which I can access using sudo ls /media/...
57
votes
9answers
162k views

How to do networking between virtual machines in VirtualBox?

I have two virtual machines in VirtualBox. I would like to do networking between them. For the moment I have the default configuration on both, but they seem to have the same IP-address 10.0.2.15. I ...
54
votes
3answers
165k views

How do I press Ctrl+Alt+Delete in VirtualBox?

I'm running VirtualBox with Windows Vista as host OS and Windows Server 2008 as guest OS. To login to Windows Server I have to press Ctrl+Alt+Delete, but my host OS reacts on that so I can not send it ...
53
votes
5answers
41k views

VirtualBox to use dual monitors

I am am running Kubuntu Hardy Heron, with a dual monitor setup, and have VirtualBox on it running Windows XP in seamless mode. My problem is, I can't get virtualbox to extend to the second monitor. ...
50
votes
8answers
32k views

How do I change the snapshots directory in VirtualBox on Windows?

I have a SSD Hard drive representing C:\, which is only 30GB. Therefore, I install all my (non-critical) apps on my large G:\ drive. My VirtualBox installation is on G:\, as well as the hard disks....
49
votes
3answers
85k views

Installing VirtualBox Guest Additions on Windows 10?

I am trying to install VirtualBox guest additions on Windows 10 technical preview, and am getting the following error: I imagine I am not the only one having this issue, is there any way to force ...
49
votes
5answers
86k views

Is it possible to convert virtual machines to physical environments?

Is is possible to convert a .vdi file into a .iso that can be burned to a cd or dvd and make it like an installer. Or Is it possible to convert virtual machines to physical environments?
46
votes
6answers
67k views

How to change fixed size VDI with modifyhd command in Windows?

I'm trying to figure out how to change the size of a VDI file. I'm new to VirtualBox, and I got a lot to learn. But I think I got the hang of the basics. I have already installed Windows 7 as my first ...
44
votes
9answers
118k views

How can I get Windows 8 and VirtualBox to use my full screen?

I'm running the enterprise evaluation (Build 9200) of Win8 and VirtualBox 4.2.4 r81684 and my actual display is 1920x1200. When I use the host-F key to enter full screen mode, the best I can configure ...
43
votes
3answers
33k views

Share VirtualBox folders in reverse? Guest-Host?

I'm familiar with the process of installing Guest Additions and sharing host folders with the guest, but is there a way to do the reverse? I have an XP host and Ubuntu 10.10 guest, with VBox 4.0.2. ...
41
votes
3answers
28k views

How can I start a VM without getting a window? [duplicate]

VirtualBox has a window showing the display of the guest OS. I am connecting to VirtualBox with Remote Desktop, so I don't need VirtualBox to show that window in the host OS. Of course, I can ...
40
votes
3answers
64k views

VirtualBox Host ssh to Guest

I have a mac host, and a VirtualBox Linux guest, currently using Bridged mode. I need to be able to easily SSH into the guest from the host. It would be nice to use a hostname, but a never-changing ...
39
votes
8answers
199k views

How do you automatically detect a new network card in CentOS 6 / RedHat?

I'm using CentOS 6 in a virtual environment. When cloning a virtual version of CentOS, the old eth adapters are "removed" and replaced with new ones and net MAC addresses. However, the ifcfg-ethn ...
38
votes
2answers
29k views

How to select paravirtualization interface in virtual box

Given a windows 8 host system (Intel Core i5) and a Linux Fedora host, I would like to determine the optimal setting for the paravirtual interface. Options are none Default Legacy minimal Hyper-V ...
36
votes
7answers
47k views

Can a virus from a VirtualBox VM affect the host computer?

Can a virus from a VirtualBox VM affect the host computer?
35
votes
2answers
30k views

Are there any real advantages to assigning more “cores” to VirtualBox?

I have an 2.8 quad core i7 with a VirtualBox. I have the option of assigning up to 4 cores to a guest machine, but I have only been doing two. What are the advantages/disadvantages of assigning more ...
33
votes
18answers
47k views

Vagrant ssh fails with VirtualBox

vagrant up fails when it gets to the ssh part: myterminal$ vagrant up [default] VM already created. Booting if its not already running... [default] Running any VM customizations... [default] Clearing ...
32
votes
6answers
46k views

Increasing disk space on VirtualBox

Is there an easy way to increase virtual hard disk space on VirtualBox?
32
votes
5answers
33k views

Ubuntu Server VM: copy paste?

I've installed Ubuntu Server under Virtualbox just to get a nice little shell. I've also installed the VirtualBox "Guest Additions" and set "Shared Clipboard: Bidirectional". I still can't seem to ...
31
votes
3answers
30k views

What does “auto-mount” do in VirtualBox shared folder setup?

In VirtualBox, Ubuntu guest, Windows 7 host, I click this "Auto-mount" box, but it doesn't seem to have any effect. I have to edit fstab to get it to mount. So what is it for?
31
votes
6answers
64k views

How to boot from a flash drive OS using VirtualBox?

I have two flash drive, one with Slax installed and another for Android x86 Live installed, but they do not boot in my laptop (in my work they boot perfectly). I can boot from some live CDs/DVDs or ...
30
votes
7answers
5k views

Is it possible to “virtualize” an existing PC?

I'm running Ubuntu Desktop 12.04, and I was wondering if it was possible to somehow take my whole filesystem (everything under /) and create an ISO from it. Then, perhaps, use that ISO as the file ...
30
votes
2answers
14k views

Can I rename a Vagrant box?

I misspelled the name of a box when I added it to my box list: vagrant box list debian ubnutu Can I rename the box without repackaging it?
30
votes
1answer
10k views

Is there a way to make VirtualBox use a specific monitor when going full-screen?

I am running VirtualBox on a dual-monitor Windows 7 x64 system. When I put a VM into full-screen mode it always appears full-screen on my primary monitor even though the VM window was on the secondary ...
30
votes
7answers
46k views

How does VirtualBox's memory usage work?

I've been running several VM's with VirtualBox, and the memory usage reported from various perspectives, and I'm having trouble figuring how much memory my VMs actually use. Here is an example: I ...
29
votes
12answers
102k views

How to open existing VMs in VirtualBox?

I recently got a new workstation and I moved my VirtualBox and VMWare Player VMs from the old PC to the new. The VMWare Player VMs are a snap: you go to “File -> Open a Virtual Machine…”, find the ....
29
votes
1answer
9k views

Is it possible to disable default /vagrant synced folder?

According to source code - it's not, but what if I'm wrong? So the final question: is it possible to run a vagrant VM (virtualbox-driven) without /vagrant synced folder?
28
votes
2answers
27k views

How to get VirtualBox VMs to use host's DNS?

I use VirtualBox for my VMs. My office network setup is wireless, i.e. I connect to my company's WiFi network, which has a local DNS to resolve local names (such as something.mycompany.com going to ...
27
votes
2answers
19k views

How can I get virtualbox to run with a hosts-only adapter?

I'm trying to setup a Hosts-only Adapter so I can connect to it. It says that invalid settings detected and the name: drop-down isn't populated. What am I doing wrong and how can I rectify it? My ...
26
votes
1answer
78k views

How to convert .img to usable VirtualBox format

I have a .img file for Windows 1, and I need to turn it into something which I can use in VirtualBox, such as an ISO, or turning it into a bootable virtual disk for an ICT project. If you need any ...
26
votes
7answers
85k views

Virtual Box - not filling entire screen

I am new to VirtualBox and am trying to set up an instance of Windows 7 64. I have the virtual machine instance running with Windows 7 now installed, but it only fills up a small portion of my screen....
26
votes
3answers
12k views

Virtualbox: getting host to capture certain key presses

I'm using VirtualBox on Ubuntu 9.10 with Windows XP as the guest OS. It's pretty annoying that when I in guest OS - I can't switch virtual desktops(workspaces) on the host(Ubuntu) by pressing ctrl+alt+...
25
votes
3answers
37k views

Installed minimal CentOS 6.4 in VirtualBox but have no internet?

I just started using the VirtualBox, but I don't seem to have any internet on the CentOS when I type yum update. Is there a solution to my problem? (it could possibly be a problem with misconfigured ...
25
votes
4answers
24k views

Quickest way to merge snapshots in VirtualBox?

I have vdi with quite a number of snapshots taken from it - say, 50 or 70 snapshots. I want to have one plain vdi with a current state. These snapshots take way too much disk space and are not needed ...
25
votes
5answers
5k views

VirtualBox from an existing partition

I installed VirtualBox on my Ubuntu Hardy Heron installation, and I would like to use it to virtualize Windows for those rare occasions that I actually need to do something there. Unfortunately, I ...