今天,使用 virtualbox 打开虚拟机时,出现了如下错误:

虚拟电脑控制台 错误

不能为虚拟电脑 xp 打开一个新任务.
Virtual machine ‘xp’ has terminated unexpectedly during startup.

返回 代码:
NS_ERROR_FAILURE (0×80004005)
组件:
Machine
界面:
IMachine {540dcfda-3df2-49c6-88fa-033a28c2ff85}


virtualbox -error in suplibOsInit
VERR_VM_DRIVER_NOT_INSTALLED (rc=-1908)

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

‘/etc/init.d/vboxdrv setup’

as root. Users of Ubuntu or Fedora should install the DKMS package at first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.

其实解决方法很简单,第二个错误提示框已经给出了提示,就是用 root 账户来运行 ‘/etc/init.d/vboxdrv setup’ 命令。

其实,也就是在终端里执行:

sudo /etc/init.d/vboxdrv setup

相关日志

Leave a Reply