从官方下载了VBOX的deb包并安装好。
http://www.virtualbox.org/download/1.3. ... y_i386.deb
启动设置了一个XP,加到vboxusers用户组,一切正常,可是在启动这个XP安装的时候出现下面错误:
“VirtualBox kernel driver not installed. The vboxdrv kernel module was either not loaded or /dev/vboxdrv was not created for some reason. Re-setup the kernel module by executing '/etc/init.d/vboxdrv setup' as root.
VBox status code: -1908 (VERR_VM_DRIVER_NOT_INSTALLED).
Result Code:
0x80004005
Component:
Console
Interface:
IConsole {1dea5c4b-0753-4193-b909-22330f64ec45}”
执行 sudo /etc/init.d/vboxdrv setup
提示
* Stopping VirtualBox kernel module vboxdrv [ OK ]
* Recompiling VirtualBox kernel module vboxdrv
* Look at /var/lib/vbox-install.log to find out what went wrong
打开/var/lib/vbox-install.log
里面内容为
Makefile:73: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.。 停止。
寻求解决方法......
[求助] VBOX-Windows XP问题。
-
- 帖子: 18
- 注册时间: 2007-03-21 16:27
- 来自: 成都
- avauntage
- 帖子: 570
- 注册时间: 2005-09-22 10:15
- 来自: 北京
-
- 帖子: 37
- 注册时间: 2006-06-10 14:39
代码: 全选
cd /opt/VirtualBox-1.3.8/src/
make
make install
- suckmyball
- 帖子: 315
- 注册时间: 2009-10-17 22:05
Re: [求助] VBOX-Windows XP问题。
Ubuntu Linux内核更新后VirtualBox无法启动的解决办法[轉載]
Category: virtualbox
几天由于更新玩乐网站不开自己的Linux电脑,今天开了,看了一下这期间Ubuntu的更新,一堆!想都没想就开始更新了。更新倒是一切顺利。后来开VirtualBox,居然蹦出个错误来:
VirtualBox kernel driver not installed. The vboxdrv kernel module was either not loaded or /dev/vboxdrv was not created for some reason. Re-setup the kernel module by executing ‘/etc/init.d/vboxdrv setup’ as root.
VBox status code: -1908 (VERR_VM_DRIVER_NOT_INSTALLED).
Result Code: 0×80004005
Component: Console
Interface: IConsole
{1dea5c4b-0753-4193-b909-22330f64ec45}
提示说在终端里输入
sudo /etc/init.d/vboxdrv setup
仍然不行。给的信息是
Stopping VirtualBox kernel module: vboxdrv.
Recompiling VirtualBox kernel module: vboxdrv
* Look at /var/log/vbox-install.log to find out what went wrong
打开/var/log/vbox-install.log文件,上书:
cp:missing destination file operand after “/tmp/vbox.0/Module.symvers”
请尝试执行”cp –help”来获取更多信息。
Makefile:73: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR= and run Make again.。 停止。
貌似是更新的时候升级了Linux kernel,所以vboxdrv需要重新编译。因为是从源里面直接更新的,没有Linux kernel的源文件,显然编译需要这些源文件。逛了几个论坛,说解决方法如下:
sudo apt-get install linux-headers-$(uname -r)
sudo apt-get install linux-restricted-modules-$(uname -r)
sudo /etc/init.d/vboxdrv setup
果然,终端提示编译通过了
* Stopping VirtualBox kernel module vboxdrv [ OK ]
* Recompiling VirtualBox kernel module vboxdrv [ OK ]
* Starting VirtualBox kernel module vboxdrv [ OK ]
启动VirtualBox,一切正常了。
Category: virtualbox
几天由于更新玩乐网站不开自己的Linux电脑,今天开了,看了一下这期间Ubuntu的更新,一堆!想都没想就开始更新了。更新倒是一切顺利。后来开VirtualBox,居然蹦出个错误来:
VirtualBox kernel driver not installed. The vboxdrv kernel module was either not loaded or /dev/vboxdrv was not created for some reason. Re-setup the kernel module by executing ‘/etc/init.d/vboxdrv setup’ as root.
VBox status code: -1908 (VERR_VM_DRIVER_NOT_INSTALLED).
Result Code: 0×80004005
Component: Console
Interface: IConsole
{1dea5c4b-0753-4193-b909-22330f64ec45}
提示说在终端里输入
sudo /etc/init.d/vboxdrv setup
仍然不行。给的信息是
Stopping VirtualBox kernel module: vboxdrv.
Recompiling VirtualBox kernel module: vboxdrv
* Look at /var/log/vbox-install.log to find out what went wrong
打开/var/log/vbox-install.log文件,上书:
cp:missing destination file operand after “/tmp/vbox.0/Module.symvers”
请尝试执行”cp –help”来获取更多信息。
Makefile:73: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR= and run Make again.。 停止。
貌似是更新的时候升级了Linux kernel,所以vboxdrv需要重新编译。因为是从源里面直接更新的,没有Linux kernel的源文件,显然编译需要这些源文件。逛了几个论坛,说解决方法如下:
sudo apt-get install linux-headers-$(uname -r)
sudo apt-get install linux-restricted-modules-$(uname -r)
sudo /etc/init.d/vboxdrv setup
果然,终端提示编译通过了
* Stopping VirtualBox kernel module vboxdrv [ OK ]
* Recompiling VirtualBox kernel module vboxdrv [ OK ]
* Starting VirtualBox kernel module vboxdrv [ OK ]
启动VirtualBox,一切正常了。