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?
  • Start VirtualBox as administrator (make sure VboxSVC.exe is also stopped / restarted).
  • 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)
    If you VirtualBox is not run as administrator, you get an error message Failed to open the raw drive '\\.\PhysicalDrive1' for reading (VERR_ACCESS_DENIED) (VERR_ACCESS_DENIED), see Access denied on raw disk, VERR_ACCESS_DENIED when trying to add a raw disk to virtual box, Accessing physical disk from VirtualBox: Access Denied.

  • Now you can create dummy virtual machine, 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

Plug USB stick to VM results ''Failed to create a proxy device for the USB device. (Error: VERR_PDM_NO_USB_PORTS).''

Change the USB controller setting to USB 3.0 (xHCI) in your VM's settings.

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