[Ubuntu] Failed to open a session for the virtual machine win7

After updated the Ubuntu12.04 with the update-package, i run the virtualbox with Win7, then i 

got these errors:

Failed to open a session for the virtual machine win7.
The virtual machine 'win7' has terminated unexpectedly during startup with exit code 1.  
Result Code: NS_ERROR_FAILURE (0x80004005) 
Component: Machine Interface: IMachine {5eaa9319-62fc-4b0a-843c-0cb1940f8a91}  

via google, it seems that i have to reinstall the virtualbox, then i followed that.

uninstall VirtualBox:  

sudo apt-get purge virtualbox virtualbox-dkms virtualbox-ose-qt virtualbox-qt

If it succesfully uninstalled reinstall it: 

sudo apt-get install virtualbox virtualbox-dkms virtualbox-ose-qt virtualbox-qt

Done.

Have fun with Ubuntu! 

原文地址:https://www.cnblogs.com/davidhhuan/p/2710146.html