输入
sudo /etc/init.d/vboxdrv setup后
提示
Look at /var/log/vbox-install.log to find out what went wrong
打开install.log只有下面一句话了
Makefile:127: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again。 停止。
请知道的分析下,先谢了~~
ps:启动vbox的时候提示
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).
返回 代码:
0x80004005
组件:
Console
界面:
IConsole {d5a1cbda-f5d7-4824-9afe-d640c94c7dcf}
[问题]有进步,现在装vbox只有一个错了,高手帮忙看下
-
- 帖子: 22
- 注册时间: 2008-05-08 14:19
- prettysnail
- 帖子: 198
- 注册时间: 2007-03-07 9:35
-
- 帖子: 197
- 注册时间: 2008-03-06 21:19
以前有人发过解决方法,我粘贴过来
问题描述:
VirtualBox kernel driver not installed. The vboxdrv kernel module was either not loaded or /dev/vboxdrv was not created for some reason. Please install the virtualbox-ose-modules package for your kernel and execute '/etc/init.d/vboxdrv start' as root.
VBox status code: -1908 (VERR_VM_DRIVER_NOT_INSTALLED)。
Result Code:
0x80004005
Component:
Console
Interface:
IConsole {1dea5c4b-0753-4193-b909-22330f64ec45} [bitsCN_com]
解决办法:
sudo apt-get install virtualbox-ose-source
安装模块源码然后
cd /usr/src
解压源码
sudo tar xjvf virtualbox*.bz2
cd modules/virtualbox-ose
sudo ./build_in_tmp install
让他编译安装模块驱动
完成后
xiaoxu@xiaoxu:/usr/src/modules/virtualbox-ose$ sudo /etc/init.d/vboxdrv start
* Starting VirtualBox kernel module vboxdrv [ OK ]
就可以看到加载成功了,启动virtualbox也没有问题了。
问题二:启动提示The VirtualBox kernel driver is not accessible to the current user.
问题描述:
The VirtualBox kernel driver is not accessible to the current user. Make sure that the user has write permissions for /dev/vboxdrv by adding them to the vboxusers groups. You will need to logout for the change to take effect..
VBox status code: -1909 (VERR_VM_DRIVER_NOT_ACCESSIBLE).
Result Code:0x80004005
解决办法:
sudo chmod ugo+rw /dev/vboxdrv
或者
解决的方法:
sudo chmod 777 /dev/vboxdrv
我就是这样弄好的
问题描述:
VirtualBox kernel driver not installed. The vboxdrv kernel module was either not loaded or /dev/vboxdrv was not created for some reason. Please install the virtualbox-ose-modules package for your kernel and execute '/etc/init.d/vboxdrv start' as root.
VBox status code: -1908 (VERR_VM_DRIVER_NOT_INSTALLED)。
Result Code:
0x80004005
Component:
Console
Interface:
IConsole {1dea5c4b-0753-4193-b909-22330f64ec45} [bitsCN_com]
解决办法:
sudo apt-get install virtualbox-ose-source
安装模块源码然后
cd /usr/src
解压源码
sudo tar xjvf virtualbox*.bz2
cd modules/virtualbox-ose
sudo ./build_in_tmp install
让他编译安装模块驱动
完成后
xiaoxu@xiaoxu:/usr/src/modules/virtualbox-ose$ sudo /etc/init.d/vboxdrv start
* Starting VirtualBox kernel module vboxdrv [ OK ]
就可以看到加载成功了,启动virtualbox也没有问题了。
问题二:启动提示The VirtualBox kernel driver is not accessible to the current user.
问题描述:
The VirtualBox kernel driver is not accessible to the current user. Make sure that the user has write permissions for /dev/vboxdrv by adding them to the vboxusers groups. You will need to logout for the change to take effect..
VBox status code: -1909 (VERR_VM_DRIVER_NOT_ACCESSIBLE).
Result Code:0x80004005
解决办法:
sudo chmod ugo+rw /dev/vboxdrv
或者
解决的方法:
sudo chmod 777 /dev/vboxdrv
我就是这样弄好的