我正在尝试让 VirtualBox 在带有 kernel 的 ElementaryOS 上工作3.2.0-49-generic
。我一直收到这个错误:
WARNING: The character device /dev/vboxdrv does not exist.
Please install the virtualbox-ose-dkms package and the appropriate
headers, most likely linux-headers-generic.
You will not be able to start VMs until this problem is fixed.
No protocol specified
No protocol specified
Failed to open the X11 display!
我搜索并发现正在运行:
sudo dpkg-reconfigure virtualbox-dkms
sudo dpkg-reconfigure virtualbox
解决问题。
但是当我这样做的时候sudo dpkg-reconfigure virtualbox-dkms
。我收到此错误:
------------------------------
Deleting module version: 4.1.12
completely from the DKMS tree.
------------------------------
Done.
Loading new virtualbox-4.1.12 DKMS files...
Building only for 3.2.0-49-generic
Building initial module for 3.2.0-49-generic
ERROR (dkms apport): kernel package linux-headers-3.2.0-49-generic is not supported
Error! Bad return status for module build on kernel: 3.2.0-49-generic (x86_64)
Consult /var/lib/dkms/virtualbox/4.1.12/build/make.log for more information.
现在我检查了make.log
我发现这个错误的文件:
DKMS make.log for virtualbox-4.1.12 for kernel 3.2.0-49-generic (x86_64)
Thu Jul 18 05:57:58 EET 2013
make: Entering directory `/lib/modules/3.2.0-49-generic/build'
make: *** No targets specified and no makefile found. Stop.
make: Leaving directory `/lib/modules/3.2.0-49-generic/build
我不知道应该从这里做什么。任何帮助将不胜感激。