VirtualBox User Manual

1. First Steps

1.1 Why is Virtualization Useful?

1.2 Some Terminology

1.3 Features Overview

1.5 Installing Oracle VM VirtualBox and Extension Packs

On each host platform, Oracle VM VirtualBox uses the installation method that is most common and easy to use

VirtualBox is split into the following components:

1.8 Running Your Virtual Machine

To start a virtual machine, you have several options:

1.8.1 Starting a New VM for the First Time

When a VM is started for the first time, the First Start Wizard, is displayed. This wizard helps you to select an installation medium
The wizard helps you to select a medium to install an OS from:

1.8.2 Capturing and Releasing Keyboard and Mouse

VirtualBox provides a virtual USB tablet device to new virtual machines through which mouse events are communicated to the guest OS. If you are running a modern guest OS that can handle such devices, mouse support may work out of the box without the mouse being captured as described below
Otherwise, if the virtual machine detects only standard PS/2 mouse and keyboard devices, since the OS in the virtual machine does not know that it is not running on a real computer, it expects to have exclusive control over your keyboard and mouse. But unless you are running the VM in full screen mode, your VM needs to share keyboard and mouse with other applications and possibly other VMs on your host
After installing a guest OS and before you install the Guest Additions, described later, either your VM or the rest of your computer can “own” the keyboard and the mouse. Both cannot own the keyboard and mouse at the same time
You activate the VM by clicking inside it. To return ownership of keyboard and mouse to your host OS, VirtualBox reserves a special key on your keyboard: the Host key. By default, this is the right Ctrl key on your keyboard

As this behavior is inconvenient, Oracle VM VirtualBox provides a set of tools and device drivers for guest systems called the VirtualBox Guest Additions. These tools make VM keyboard and mouse operations much more seamless

1.8.3 Typing Special Characters

Some OSes expect certain key combinations to initiate certain procedures. The key combinations that you type into a VM might target the host OS, the Oracle VM VirtualBox software, or the guest OS. The recipient of these keypresses depends on a number of factors, including the key combination itself

1.8.4 Changing Removable Media

While a virtual machine is running, you can change removable media in the Devices menu of the VM’s window
guest-additions-VB.jpg

The settings are the same as those available for the VM in the Settings dialog of the VirtualBox main window
vm-settings-harddisk.png

But as the Settings dialog is disabled while the VM is in the Running or Saved state, the Devices menu saves you from having to shut down and restart the VM every time you want to change media

1.8.5 Resizing the Machine’s Window

1.8.6 Saving the State of the Machine

When you close VM's window, VirtualBox asks you whether you want to save or power off the VM

1.9 Using VM Groups

1.10 Snapshots

With snapshots, you can save a particular state of a virtual machine for later use. A snapshot of a virtual machine is thus similar to a machine in Saved state, but there can be many of them, and these saved states are preserved

1.10.1 Taking, Restoring, and Deleting Snapshots

1.10.2 Snapshot Contents

A snapshot consists of the following:

1.13 Cloning Virtual Machines