今天装了个VIRTUALBOX虚拟机装XP,无法启动呢。
Tofloor
poster avatar
kongsoon
deepin
2013-05-14 04:38
Author
网上的方法试了一下,还是没有搞好。
深度截图20130513203216.png
报错内容:
不能为虚拟电脑 xp 打开一个新任务.

The virtual machine 'xp' has terminated unexpectedly during startup with exit code 1.

返回 代码:NS_ERROR_FAILURE (0x80004005)
组件:Machine
界面:IMachine {22781af3-1c96-4126-9edf-67a020e0e858}

另一个报错窗口:
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.
Reply Favorite View the author
All Replies
cxbii
deepin
2013-05-14 04:42
#1
sudo /etc/init.d/vboxdrv setup
争端执行这个,如果还不行,就是你编译内核了吧?并且把dkms模块删了
Reply View the author
kongsoon
deepin
2013-05-14 06:15
#2
没编内核呀,就装了个网卡驱动而已。我也不知怎么编内核,你的命令输出如下内容, 但还是同样错误。

* Stopping VirtualBox kernel modules                                    [ OK ]
* Uninstalling old VirtualBox DKMS kernel modules                       [ OK ]
* Trying to register the VirtualBox kernel modules using DKMS                  Error! echo
Your kernel headers for kernel 3.5.0-27-generic cannot be found at
/lib/modules/3.5.0-27-generic/build or /lib/modules/3.5.0-27-generic/source.

* Failed, trying without DKMS
* Recompiling VirtualBox kernel modules                                       
* Look at /var/log/vbox-install.log to find out what went wrong
Reply View the author
kongsoon
deepin
2013-05-14 06:29
#3
kong@kong-System-Product-Name:~/桌面$ sudo apt-get install dkms
[sudo] password for kong:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树      
正在读取状态信息... 完成      
dkms 已经是最新的版本了。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
Reply View the author
kongsoon
deepin
2013-05-14 06:41
#4
Look at /var/log/vbox-install.log to find out what went wrong的内容如下,哪位大侠帮忙看看。。。

Uninstalling modules from DKMS
  removing old DKMS module vboxhost version  4.2.12

------------------------------
Deleting module version: 4.2.12
completely from the DKMS tree.
------------------------------
Done.
Attempting to install using DKMS

Creating symlink /var/lib/dkms/vboxhost/4.2.12/source ->
                 /usr/src/vboxhost-4.2.12

DKMS: add completed.
Failed to install using DKMS, attempting to install without
Makefile:181: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR= and run Make again。 停止。
Reply View the author
cxbii
deepin
2013-05-14 08:32
#5
Look at /var/log/vbox-install.log to find out what went wrong的内容如下,哪位大侠帮忙看看。。。

Uninstalling modules from DKMS
  removing old DKMS module vboxhost version  4.2.12

------------------------------
Deleting module version: 4.2.12
completely from the DKMS tree.
------------------------------
Done.
Attempting to install using DKMS

Creating symlink /var/lib/dkms/vboxhost/4.2.12/source ->
                 /usr/src/vboxhost-4.2.12

DKMS: add completed.
Failed to install using DKMS, attempting to install without
Makefile:181: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR= and run Make again。 停止。
尝试安装新内核把
Reply View the author
zhtengw
deepin
2013-05-14 17:29
#6
目测lz是没有安装内核源码和内核头文件
Reply View the author
kongsoon
deepin
2013-05-14 18:45
#7
不会安装新内核计呢。。。。要不要重装会好起来?
Reply View the author
cxbii
deepin
2013-05-15 03:12
#8
不会安装新内核计呢。。。。要不要重装会好起来?
完整的安装个新内核被和相同版本的头文件试试
Reply View the author