[t@bjb0541 ~]$ uname -a
Linux bjb0541 4.3.4-300.fc23.x86_64 #1 SMP Mon Jan 25 13:39:23 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
升级内核后,VirtualBox 通常要执行内核驱动的重新编译加载,跟据执行过程中的提示,执行驱动编译加载命令:
[t@bjb0541 ~]$ virtualbox
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (4.3.4-300.fc23.x86_64) or it failed to
load. Please recompile the kernel module and install it by
sudo /sbin/rcvboxdrv setup
You will not be able to start VMs until this problem is fixed.
但是提示Bad argument setup
[t@bjb0541 ~]$ sudo /sbin/rcvboxdrv setup
Bad argument setup
替代解决方法是执行sudo /usr/lib/virtualbox/vboxdrv.sh setup
[t@bjb0541 ~]$ sudo /usr/lib/virtualbox/vboxdrv.sh setup
Stopping VirtualBox kernel modules [ 确定 ]
Uninstalling old VirtualBox DKMS kernel modules [ 确定 ]
Trying to register the VirtualBox kernel modules using DKMS[ 确定 ]
Starting VirtualBox kernel modules [ 确定 ]
[t@bjb0541 ~]$
具体可以参考
The above mentioned test builds contain the fix. And the next 5.0.x maintenance release will contain the fix (no ETA). As furthemore written about, doing
sudo /usr/lib/virtualbox/vboxdrv.sh setup
will work as well, even if you didn't install a test build and the maintenance update is not available yet.
阅读(2913) | 评论(0) | 转发(0) |