Virtualized puzzle with Vagrant & Virtualbox
Oh noez! Mai VM iz not bootin after distro updatz! Halp!
Well, sometimes you update something on your distro and suddently your VMs stop working. The fix can be very easy but I tend to always forget it so “I’ll remember it so you don’t have to” as the Nostalgia Critic would say ;)
The symptoms
After some updates and a reboot, your VMs will not start up anymore. If you’re using Vagrant, it usually complains like this :
And, VBoxManage will shout at you like this
On a more general note, Vagrant or VirtualBox will say that the
is not available anymore and that 1
/dev/vboxdrv
might be your friend,
or that you should ensure that 1
modprobe
& 1
virtualbox-dkms
should be installed. But, if you’re like me,
those packages are already installed so spamming installation commands won’t do you any good.1
linux-headers-generic
The (very simple) fix
On my end, the fix was really simple … reinstalling :
Caution : for those of you running the “OSE” version of VirtualBox, don’t forget that you’ll proably want to reinstall the
parckage rather than the 1
virtualbox-ose-dkms
one1
virtualbox-dkms
Hope that helps ;)