My virtualbox used to work, but now it is for some reason completely FUBAR: every time I try to start a VM, it crashes my host Ubuntu 12.04.1 system, I can't even bring it to reboot with the Magic SysRq key. I would like to clean up the mess and reinstall a working virtualbox.
I thought this would do:
sudo apt-get remove virtualbox # reboot sudo apt-get install virtualbox
But I get the same effect: even when downloading a fresh iso of any kind and starting the VM, it crashes the computer and I need to do a hard reboot.
EDIT: as per commented, I installed version 4.2 using these instructions:
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add - sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian precise contrib" >> /etc/apt/sources.list' sudo apt-get update && sudo apt-get install virtualbox-4.2
Ran virtualbox, checked the version:
It didn't crash, so problem solved. (copy+paste to answer)