Friday, October 19, 2012

VirtualBox - Restoring operability after updating kernel in Debian/Ubuntu

VirtualBox
VirtualBox (Photo credit: Wikipedia)














If you've suddenly found a message like that in dmesg:
dmesg | grep 'warning: `VirtualBox'
[  429.050250] warning: `VirtualBox' uses 32-bit capabilities (legacy support in use)
That most probably means that the kernel of your system has updated and you need new headers in kernel. To set it is quite easy.
apt-get install linux-headers-$(uname -r) -y --force-yes

Now you need to restart the service that is responsible for VirtualBox's drivers. If needed - it will recompile modules by itself.
/etc/init.d/vboxdrv restart
Stopping VirtualBox kernel modules:.
Starting VirtualBox kernel modules:.

Enhanced by Zemanta

No comments:

Post a Comment