Virtualization software

Hosted hypervisors (full virtualization)

Bare-metal hypervisors (paravirtualization)

Containers virtualization (operating-system-level virtualization)

Emulators

Other

Comparison of different virtualization techniques

VirtualBox

Setup

Questions answered

How to disable notification popup messages?

From VirtualBox PopUp Dialogs:

Run this command before creating a new VM:

VBoxManage setextradata global GUI/SuppressMessages remindAboutAutoCapture,remindAboutMouseIntegrationOff

or add this to your existing VM configuration:

<ExtraDataItem name="GUI/SuppressMessages" value="remindAboutAutoCapture,remindAboutMouseIntegrationOff" />

How to access guest from host?

Either use port forwarding on NAT interface or create second interface with type Host-only Adapter.

How to access external USB drive?

Normally selecting USB device in Devices → USB Devices should deattach it from host and attach to guest machine. The first time you do this, new driver will be installed (confirm that installation).

Check that you have additions installed and USB 2.0 controller (EHCI) is enabled in settings.

Otherwise check here. If USB devices still do not work, try this thread.

How to boot from bootable USB drive?

To boot from drive/USB use the advise given in How to boot from a flash drive?
  • Provided the drive is partitioned and you want to check the list of partitions use (identifier of the drive corresponds to the one displayed by Computer Management → Disk Management):
    VBoxManage internalcommands listpartitions -rawdisk \\.\PhysicalDrive1
  • Then create a drive descriptor using:
    VBoxManage internalcommands createrawvmdk -filename C:\usb.vmdk -rawdisk \\.\PhysicalDrive1
    (replace file name and drive number with one you need)
  • Now you can create dummy virtual machine (start VirtualBox as administrator), add hard drive using C:\usb.vmdk as location and boot from it.

Boot from USB fails with error I/O cache encountered an error

The I/O cache encountered an error while updating data in medium “ahci-0-0” (rc=VERR_ACCESS_DENIED). Make sure there is enough free space on the disk and that the disk is working properly. Operation can be resumed afterwards.

Solution is to enable Virtual Box settings → Storage → Controller: SATA → Use Host I/O Cache

Installation from USB fails with message “CD/DVD drive device driver is missing”

1) Low level emulator
2) You can find it in %ProgramFiles%\Sun\VirtualBox or inject via Devices → Insert Guest Additions CD image… menu