Tuesday, September 28, 2010

Virtual box error NS_ERROR_FAILURE (0x80004005)

Yesterday morning I got the following error message on my Ubuntu 10.4 host, trying to start up my Windows 7 Enterprise (64-bit)Virtual Box guest.

Virtual box error NS_ERROR_FAILURE (0x80004005)

The short answer is to run

sudo '/etc/init.d/vboxdrv setup'

The results are the following, after which the VMs fire up just fine.

cgrant@desktop:~$ sudo /etc/init.d/vboxdrv setup
[sudo] password for cgrant:
* Stopping VirtualBox kernel module * done.
* Removing old VirtualBox netadp kernel module * done.
* Removing old VirtualBox netflt kernel module * done.
* Removing old VirtualBox kernel module * done.
* Recompiling VirtualBox kernel module * done.
* Starting VirtualBox kernel module * done.
cgrant@desktop:~$