Ubuntu – Virtualbox hangs when shutting down after having installed guest editions

12.04crashshutdownvirtualboxvirtualization

I have had a few Ubuntu 12.04 LTS VMs running on my windows 7 host and it's been great. I just recently added the guest additions to one of the Ubuntu guests on virtual box and now every time I try to shutdown windows tells me that the virtual box has stopped working.

What do i need to do to solve the problem and keep my guest additions?

Best Answer

Try lo log in the VM where you installed the guest additions and re-install them using their packaged versions:

sudo apt-get install virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11

Finally restart the VM to complete the installation.