Nic*_*oul 15 virtualbox kernel dkms 14.04
启动 VirtualBox VM 时,我得到:
运行sudo /sbin/vboxconfig并不能解决问题。
如何解决?
VirtualBox 5.0.10 r104061
小智 12
和我一样的问题,如果你不使用 vagrant 就中止它。
我运行时的输出vagrant up:
The provider 'virtualbox' that was requested to back the machine
'default' is reporting that it isn't usable on this system. The
reason is shown below:
VirtualBox is complaining that the kernel module is not loaded. Please
run `VBoxManage --version` or open the VirtualBox GUI to see the error
message which should contain instructions on how to fix this error.
Run Code Online (Sandbox Code Playgroud)
输出VBoxManage --version:
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (3.19.0-47-generic) 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.
5.0.14r105127
Run Code Online (Sandbox Code Playgroud)
输出sudo /sbin/rcvboxdrv setup:
Bad argument setup
Run Code Online (Sandbox Code Playgroud)
运行此命令后我的问题解决了 sudo /usr/lib/virtualbox/vboxdrv.sh setup
$ sudo /usr/lib/virtualbox/vboxdrv.sh setup
Stopping VirtualBox kernel modules ...done.
Recompiling VirtualBox kernel modules ...done.
Starting VirtualBox kernel modules ...done.
$ VBoxManage --version
5.0.14r105127
Run Code Online (Sandbox Code Playgroud)
小智 9
您始终可以使用modprobe添加内核模块。我通过执行以下操作在我的服务器上解决了同样的问题:
[root@mageia5][/home/afk]# modprobe -a vboxdrv
Run Code Online (Sandbox Code Playgroud)
这似乎是一个已知的错误。
运行以下命令可以修复该问题:
sudo /sbin/vboxconfig
sudo /sbin/rcvboxdrv setup
Run Code Online (Sandbox Code Playgroud)
不幸的是,您必须在每次重新启动后运行这些命令。
| 归档时间: |
|
| 查看次数: |
99213 次 |
| 最近记录: |