VMs won’t start after virtual box upgrade

VirtualBox is a good tool to virtualize a small linux server. But after upgrading, even if it is a minor version (e.g. from 4.3.10 to 4.3.30), it may happen that virtual machines do not start.

Checking VMs

Prior doing anything, it is a good idea to ensure the functionality of VirtualBox itself.  In order to do so, simply list the the installed VMs. Please keep in mind, any action on VM needs to be done with the OS user who owns it. So either login (e.g. vbox) or simply execute the command as this user.

As seen in the example above, there is a VM with the name “test_vm” available. Now try to start it.

The command informs that the virtual machine was successfully started. But by checking the running VMs a few seconds (it takes a few moments until the VM is taken offline again) later shows, that the VM is not online/offline again:

Problem

There is a good chance that this is caused by the installed VirtualBox Extension Pack. The installed version has to match the version of VirtualBox, otherwise the virtual machines will be unable to boot. In order to verify this, retrieve the installed VirtualBox version:

And compare this version with the installed extension pack version:

As seen in the example above, the installed VirtualBox version is 4.3.30, but an extension pack with version 4.3.10 is installed. These two versions are incompatible.

Solution

After proofing the above problem description, the solution is rather simple. Firstly, the old version of the extension pack has to be uninstalled.

Now, download the correct version of the extension pack from the VirtualBox Downloads. The example below downloads the extension pack required for version 4.3.30.

Finally, simply install the previously downloaded extension pack.

After the update is completed, simply start the VMs and everything should be working again.

References

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.