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:~$

1 comment:

  1. Hi,
    I have same error but after I run this command sudo /etc/init.d/vboxdrv setup I have this error





    * Stopping VirtualBox kernel modules * done.
    * Uninstalling old VirtualBox DKMS kernel modules
    Error! There are no instances of module: vboxhost
    3.2.12 located in the DKMS tree.
    * done.
    * Trying to register the VirtualBox kernel modules using DKMS
    Error! Your kernel headers for kernel 2.6.32-34-generic cannot be found at
    /lib/modules/2.6.32-34-generic/build or /lib/modules/2.6.32-34-generic/source.

    * Failed, trying without DKMS
    * Recompiling VirtualBox kernel modules
    * Look at /var/log/vbox-install.log to find out what went wrong


    How can avoid such error

    ReplyDelete