October 28, 2008

VirtualBox : Fix "Spawning Session" problem

After installing some Ubuntu updates, I noticed that I couldn't start any Virtual Machine in Virtual Box.It shows a “spawning session” dialog which stuck at 0% forever.

Solution for the problem

If you can't close or terminate your VirtualBox program which is stuck with the 'Spawning Session' problem, just open the terminal and force kill the VirtualBox
  • type sudo killall VirtualBox in the terminal
Now you need to recompile the kernel module for VirtualBox, It's not that hard
  • just type sudo /etc/init.d/vboxdrv setup to recompile the kernel module and wait for a few seconds
You will get an output like the following
  • * Stopping VirtualBox kernel module * done.
  • * Removing old VirtualBox kernel module * done.
  • * Recompiling VirtualBox kernel module * done.
  • * Starting VirtualBox kernel module * done.
Now you can start playing with your virtual machines.

No comments: