9.04server更新后不能起动virtualbox

Kvm、VMware、Virtualbox、Xen、Qemu 等
回复
qnaanihc
帖子: 35
注册时间: 2008-04-29 12:43

9.04server更新后不能起动virtualbox

#1

帖子 qnaanihc » 2009-06-29 14:05

9.04server更新后不能起动virtualbox,,
安照提示执行/etc/init.d/vboxdrv setup也不行,提示如下
* Stopping VirtualBox kernel module * done.
* Recompiling VirtualBox kernel module
* Look at /var/log/vbox-install.log to find out what went wrong

打开日志如下
Attempting to install using DKMS
removing old DKMS module vboxdrv version 2.2.4

------------------------------
Deleting module version: 2.2.4
completely from the DKMS tree.
------------------------------
Done.

Creating symlink /var/lib/dkms/vboxdrv/2.2.4/source ->
/usr/src/vboxdrv-2.2.4

DKMS: add Completed.

Error! Your kernel source for kernel 2.6.28-13-server cannot be found at
/lib/modules/2.6.28-13-server/build or /lib/modules/2.6.28-13-server/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
Failed to install using DKMS, attempting to install without
Makefile:145: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again。 停止。

特急!!!!!!!!!!!!
头像
smallapple
论坛版主
帖子: 7868
注册时间: 2009-03-28 15:12

Re: 9.04server更新后不能起动virtualbox

#2

帖子 smallapple » 2009-06-29 14:08

sudo apt-get install linux-headers-2.6.28-13-server
qnaanihc
帖子: 35
注册时间: 2008-04-29 12:43

Re: 9.04server更新后不能起动virtualbox

#3

帖子 qnaanihc » 2009-06-29 14:16

smallapple 写了:sudo apt-get install linux-headers-2.6.28-13-server
感动死我了,,一行字就帮我搞定了
如果能说明一下原因,就更感动了
头像
smallapple
论坛版主
帖子: 7868
注册时间: 2009-03-28 15:12

Re: 9.04server更新后不能起动virtualbox

#4

帖子 smallapple » 2009-06-29 14:51

Your kernel source for kernel 2.6.28-13-server cannot be found at
/lib/modules/2.6.28-13-server/build or /lib/modules/2.6.28-13-server/source.
缺少相应内核的源文件。
popoweiqi
帖子: 85
注册时间: 2009-09-14 20:38

Re: 9.04server更新后不能起动virtualbox

#5

帖子 popoweiqi » 2009-10-27 12:16

真是 感谢二楼 啊!!
有些事,我们明知道是错的,也要去坚持,因为不甘心;有些人,我们明知道是爱的,也要去放弃,因为没结局;有时候,我们明知道没路了,却还在前行,因为习惯了。
popoweiqi
帖子: 85
注册时间: 2009-09-14 20:38

Re: 9.04server更新后不能起动virtualbox

#6

帖子 popoweiqi » 2009-10-27 14:47

sudo /etc/init.d/vboxdrv setup
成功解决了这个问题//
有些事,我们明知道是错的,也要去坚持,因为不甘心;有些人,我们明知道是爱的,也要去放弃,因为没结局;有时候,我们明知道没路了,却还在前行,因为习惯了。
回复