Tuesday, August 11, 2015

Oracle VirtualBox (Windows) - Ubuntu VM does not startup after upgrade

I have recently upgraded VirtualBox to 4.3.30, and my Xubuntu instance failed to load.
The error was following:

NtCreateFile(\Device\VBoxDrvStub) failed: 0xc000000034

Driver is probably stuck stopping/starting. Try 'sc.exe query vboxdrv' to get more information about its state. Rebooting may actually help. (rc=-101)

Make sure the kernel module has been loaded successfully.

PC restart did not help. After browsing several forums, I've found a solution that did work for me.

Go to C:\Program Files\Oracle\VirtualBox\drivers\vboxdrv directory, right click on VBoxDrv.inf, and select "Install".

Then try to run following in console: "sc start vboxdrv". For me it displayed a message saying that vboxdrv is already running.

No restart of VirtualBox needed. Try to startup the VM.