Monday, April 18, 2011

Unable to restore Oracle VirtualBox virtual machine

Note: The same issue also occurs when VirtualBox is upgraded to version 4.0.6 r71416. when you try to start any virtual machine

Failed to open a session for the virtual machine <your machine> Implementation of the USB 2.0 controller not found!
Because the USB 2.0 controller state is part of the saved VM state, the VM cannot be started. To fix this problem, either install the 'Oracle VM VirtualBox Extension Pack' or disable USB 2.0 support in the VM settings (VERR_NOT_FOUND).
Unknown error creating VM (VERR_NOT_FOUND).

Today this message appeared when resuming the development machine.. Oracle VirtualBox v4.04

VirtualBox_Error

Especially interesting because the server was paused during a windows update (Not normally something that I do, but my host ran out of resources)

This is a verified bug, and can be easily fixed!

Locate your machine xml files (In windows they are stored in C:\Users\<your username>\.VirtualBox\Machines\<your machine>

STOP VirtualBox Manager

Open the file and locate the line:

 <USBController enabled="true" enabledEhci="false"/>


Set enabledEhci to false



Start VirtualBox Manager, and resume the virtual machine.



VirtualBox_Error_Fixed



See VirtualBox.org for more information (Ticket #8182)