Oracle VirtualBox is a virtualization application that runs other operating systems as virtual machines inside a window on an existing computer. It lets users run several systems side by side, test software on different platforms and keep older operating systems available after the host has moved on. VirtualBox installs on Windows, macOS, Linux and Oracle Solaris hosts, including Apple silicon Macs. The base package is free and open source; an optional, separately licensed Extension Pack adds further features.
How a VirtualBox machine works
VirtualBox is a hosted, or type 2, hypervisor: it runs as an application on the host operating system rather than replacing it. Each virtual machine is a set of hardware parameters, such as memory and processor count, plus its disks and current state. VirtualBox uses the same file formats on every host. Users can therefore move a machine created on Windows to a Linux or macOS host and start it there. A VM can have up to 32 virtual CPUs, several storage controller types, network and sound cards, and a virtual USB controller.
Creating a guest system
The New Virtual Machine workflow asks for a name, a folder and an installation ISO image. VirtualBox can recognize the operating system on the ISO and suggest matching settings. The user then sets memory, processor count and the size of a dynamically allocated virtual disk.
With unattended installation enabled, the user enters a user name, password, host name and, for Windows, a product key. On first start VirtualBox runs the operating system setup without further input and can install the Guest Additions too. Leaving the option off attaches the ISO for a manual installation.
Guest Additions integration
The Guest Additions are drivers and services installed inside the guest from an ISO image that VirtualBox mounts as a virtual CD. They make the VM behave less like a separate computer:
- The mouse moves freely between host and guest, and the guest resolution follows the window size.
- Shared folders expose host directories to the guest without guest networking, as read-only or read-write shares that can mount automatically.
- Seamless mode shows individual guest application windows on the host desktop.
- Clipboard sharing and drag and drop pass text and files between the systems.
- 3D acceleration hands OpenGL and Direct3D work to the host’s graphics hardware.
Snapshots and clones
A snapshot records the state of a VirtualBox machine, including its disks, so it can be returned to later. Users can take snapshots while the machine runs. Restoring an older snapshot discards everything changed since then. New snapshots taken from that point form a branching tree of alternative histories.
Internally, a snapshot freezes the disk image and sends new writes to a differencing image that holds only the changes. Deleting a snapshot merges them back, which takes time and temporary space. Snapshots exclude disks set to write-through mode, which suits data that should survive a rollback.
Cloning copies a stopped machine. A full clone duplicates all disk images and runs independently. A linked clone builds differencing images on the source’s disks, saving space but depending on the original. By default the clone gets new MAC addresses so both copies can share a network.
Disks and virtual media
New disks use VirtualBox’s own VDI format. VirtualBox also fully supports VMDK and VHD images from other virtualization products. A disk can be fixed-size, claiming its full capacity at once, or dynamically allocated, growing as data is written. The Virtual Media Manager lists every disk, optical and floppy image VirtualBox knows. It can create, convert, move or release them. An immutable disk discards changes at each power-on, and a multiattach disk lets several machines share one base image while each keeps its own changes.
Virtual network modes
Each VM can have up to eight virtual network cards, each attached in one of several modes:
| Mode | What the VM can reach |
|---|---|
| NAT | Outbound internet through a built-in router; inbound only through port forwarding |
| NAT Network | The same, plus other VMs on that shared network |
| Bridged | The physical network, appearing as a separate machine on it |
| Host-only | The host and other VMs, with no outside access |
| Internal | Only VMs on the same named internal network |
| Cloud Network | A subnet in Oracle Cloud Infrastructure |
Port forwarding maps a host port to a guest port, for example to reach an SSH server inside a NAT-connected guest.
Appliances and remote control
VirtualBox exports and imports machines as Open Virtualization Format appliances, as a set of files or a single OVA archive. It also imports appliances from other virtualization software. An export holds the current state only, since OVF cannot describe snapshots. VirtualBox can also move machines to and from Oracle Cloud Infrastructure.
Besides the graphical VirtualBox Manager, the VBoxManage command line controls every setting and suits scripting. Machines can also run headless with no window on the host. The Extension Pack adds a Remote Desktop server for reaching running guests, host webcam passthrough, PXE network booting and AES disk image encryption. Oracle VirtualBox Enterprise adds commercial support and multiple simultaneous remote desktop connections for organizations.





