virtualbox 启动错误

Kvm、VMware、Virtualbox、Xen、Qemu 等
头像
sxdhaoren
帖子: 852
注册时间: 2008-10-01 0:20
系统: ubuntu kylin16.04.3

Re: virtualbox 启动错误

#16

帖子 sxdhaoren » 2011-02-15 18:18

fangel16 写了:* Stopping VirtualBox kernel modules * done.
* Uninstalling old VirtualBox DKMS kernel modules * done.
* Trying to register the VirtualBox kernel modules using DKMS
Error! Your kernel headers for kernel 2.6.32-24-generic cannot be found at
/lib/modules/2.6.32-24-generic/build or /lib/modules/2.6.32-24-generic/source.

* Failed, trying without DKMS
* Recompiling VirtualBox kernel modules
* Look at /var/log/vbox-install.log to find out what went wrong




还是不行,/var/log/vbox-install.log里如下:


Uninstalling modules from DKMS
removing old DKMS module vboxhost version 3.2.10

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

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

DKMS: add Completed.
You can use the --kernelsourcedir option to tell DKMS where it's located, or you could install the linux-headers-2.6.32-24-generic package.
Failed to install using DKMS, attempting to install without
Makefile:159: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again。 停止。
我也遇到了相同的问题
可以这么解决:
参考资料:
http://forums.virtualbox.org/viewtopic.php?f=7&t=38696
执行命令:

代码: 全选

sudo apt-get install dkms build-essential linux-headers-$(uname -r)
sudo /etc/init.d/vboxdrv setup
自由软件爱好者
xep007
帖子: 871
注册时间: 2006-01-03 20:44

Re: virtualbox 启动错误

#17

帖子 xep007 » 2011-02-24 22:09

sxdhaoren 写了:
fangel16 写了:* Stopping VirtualBox kernel modules * done.
* Uninstalling old VirtualBox DKMS kernel modules * done.
* Trying to register the VirtualBox kernel modules using DKMS
Error! Your kernel headers for kernel 2.6.32-24-generic cannot be found at
/lib/modules/2.6.32-24-generic/build or /lib/modules/2.6.32-24-generic/source.

* Failed, trying without DKMS
* Recompiling VirtualBox kernel modules
* Look at /var/log/vbox-install.log to find out what went wrong




还是不行,/var/log/vbox-install.log里如下:


Uninstalling modules from DKMS
removing old DKMS module vboxhost version 3.2.10

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

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

DKMS: add Completed.
You can use the --kernelsourcedir option to tell DKMS where it's located, or you could install the linux-headers-2.6.32-24-generic package.
Failed to install using DKMS, attempting to install without
Makefile:159: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again。 停止。
我也遇到了相同的问题
可以这么解决:
参考资料:
http://forums.virtualbox.org/viewtopic.php?f=7&t=38696
执行命令:

代码: 全选

sudo apt-get install dkms build-essential linux-headers-$(uname -r)
sudo /etc/init.d/vboxdrv setup
正解!
ww4180
帖子: 5
注册时间: 2008-05-22 12:51

Re: virtualbox 启动错误

#18

帖子 ww4180 » 2011-04-06 11:12

sxdhaoren 写了:
fangel16 写了:* Stopping VirtualBox kernel modules * done.
* Uninstalling old VirtualBox DKMS kernel modules * done.
* Trying to register the VirtualBox kernel modules using DKMS
Error! Your kernel headers for kernel 2.6.32-24-generic cannot be found at
/lib/modules/2.6.32-24-generic/build or /lib/modules/2.6.32-24-generic/source.

* Failed, trying without DKMS
* Recompiling VirtualBox kernel modules
* Look at /var/log/vbox-install.log to find out what went wrong




还是不行,/var/log/vbox-install.log里如下:


Uninstalling modules from DKMS
removing old DKMS module vboxhost version 3.2.10

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

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

DKMS: add Completed.
You can use the --kernelsourcedir option to tell DKMS where it's located, or you could install the linux-headers-2.6.32-24-generic package.
Failed to install using DKMS, attempting to install without
Makefile:159: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again。 停止。
我也遇到了相同的问题
可以这么解决:
参考资料:
http://forums.virtualbox.org/viewtopic.php?f=7&t=38696
执行命令:

代码: 全选

sudo apt-get install dkms build-essential linux-headers-$(uname -r)
sudo /etc/init.d/vboxdrv setup
多谢,确实解决了!
lizezhigrass
帖子: 6
注册时间: 2011-10-07 12:47

Re: virtualbox 启动错误

#19

帖子 lizezhigrass » 2012-09-10 14:42

到virtualbox的官方网站上下载12.04版的安装即可
maikafei
帖子: 370
注册时间: 2006-03-22 3:42

Re: virtualbox 启动错误

#20

帖子 maikafei » 2013-01-29 0:57

好人呀,支持答案。
回复