Ubuntu 13.10上的VirtualBox 4.3无法运行VM

像Ubuntu 13.10没有安装VirtualBox错误内核驱动程序(rc = -1908)

我也遇到问题我一直收到以下错误:

Trying to register the VirtualBox kernel modules using DKMSError! Your kernel headers for kernel 3.8.0-25-generic cannot be found. Please install the linux-headers-3.8.0-25-generic package, or use the --kernelsourcedir option to tell DKMS where it's located ...failed! (Failed, trying without DKMS) Recompiling VirtualBox kernel modules ...failed! (Look at /var/log/vbox-install.log to find out what went wrong) Processing triggers for ureadahead ... 

我无法启动从存储库安装的虚拟机。 有任何想法吗 ?

编辑:

当我开始使用虚拟机时,我得到:

 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 '/etc/init.d/vboxdrv 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. 

编辑

与VirtualBox4.2 编辑相同的错误

 sudo apt-get install linux-headers-3.8.0-25-generic Reading package lists... Done Building dependency tree Reading state information... Done Package linux-headers-3.8.0-25-generic is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'linux-headers-3.8.0-25-generic' has no installation candidate 

编辑更新

手动将内核从3.8.0.25更新到3.10.0-031000-generic,现在一切正常!

安装的内核是绝对的。 它的头文件不再存在于存储库中。 因此,最好的办法是将内核更新到存储库中的最新版本。

检查运行的内核:

 uname -a 

更新内核,linux-generic是一个元数据包,用于保存内核及其头文件的当前版本:

 sudo apt-get update sudo apt-get upgrade sudo apt-get install linux-generic 

重新启动,再次检查:

 uname -a 

如果它不起作用,那么使用Synaptic安装其头文件或升级/安装到最后一个内核版本(搜索“linux”)。

不是答案,但我可以确认Virtual Box在Ubuntu 13.10上完美运行。

虚拟框作为.deb文件安装,而不是使用虚拟机存储库。

 $ virtualbox --help | head -1 Oracle VM VirtualBox Manager 4.3.6 $ uname -sri Linux 3.11.0-15-generic x86_64 $ lsb_release -d Description: Ubuntu 13.10 $ modinfo vboxdrv filename: /lib/modules/3.11.0-15-generic/updates/dkms/vboxdrv.ko version: 4.3.6 (0x001a0007) license: GPL description: Oracle VM VirtualBox Support Driver author: Oracle Corporation srcversion: 1AA7B037C45EF6842CB7222 depends: vermagic: 3.11.0-15-generic SMP mod_unload modversions parm: force_async_tsc:force the asynchronous TSC mode (int) 

希望对你有所帮助。

试试这个?

 sudo apt-get install linux-headers-3.8.0-25-generic 

然后重试。