求助:vbox报错

Leap 安装 vbox 之后,启动虚拟机时报错:

Kernel driver not installed (rc=-1908)

The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing

‘/sbin/rcvboxdrv setup’

as root. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.

where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.

我在 /sbin 下面并没有 rcvboxdrv,试了网上说的一些方法,比如

zypper in make gcc gcc-c++ kernel-source kernel-syms

/etc/init.d/vboxdrv setup

都还是报错,求大神们指教。谢谢!!

我也遇到過,按提示把 DKMS 包裝上重新編譯內核就可以,按提示就可以~
我的機器:ThinkPad X220 OpenSUSE Leap 42.1 + GNOME

谢谢,装上 dkms 包就好了。