Virtualbox does not run: NS_ERROR_FAILURE
The most simple decision, that i found:
- enter into the folder
/home/$user/.VirtualBox/
- find there file
VirtualBox.xml-prev
, this is backed up the configurations of Virtual Box - delete
VirtualBox.xml
- and change name
VirtualBox.xml-prev
toVirtualBox.xml
.
Probably due to some updates. It happened to me. A simple command can fix the problem:
sudo /etc/init.d/vboxdrv setup
There seems to be nothing wrong with your Virtual Box settings. However the error you see may be related to a previous fail to install Windows leaving unwanted reference to this installation in your Virtual Box settings (that are usually and correctly located in your $HOME).
The issue also may also have come from an installation to a removable drive. Installing the virtual disk .vdi file to an external USB drive is possible but it may lead to unwanted side effects from changed media location or mount points. In addition we then need to make sure the virtualbox user has read and write access to this external drive. Also we obviously should then not access this USB drive from the virtual OS.
To solve the issue you may find a solution in the following question where people recommend reinstalling Virtual Box:
- Getting error message when trying to start a virtual machine