按照这里说的做了http://www.virtualbox.org/wiki/Linux_Downloads
但因为是英文的所以看不懂,不知道有没有装成功,装到最后的时候它提示这个:
Compilation of the kernel module FAILED! │
│ │
│ VirtualBox will not start until this problem is fixed. Please consult /var/log/vbox-install.log to find out why the │
│ kernel module does not compile. Most probably the kernel sources were not found. Install them (the package name is │
│ probably linux-headers-<version> whereby <version> can be determined by 'uname -r') and execute │
│ │
│ /etc/init.d/vboxdrv setup │
│ │
│ as root. │
│ │
│ <确定> │
│
这样算成功了吗?
它好像说 virtualbox将无法启动呀,还说内核模块不能编绎
我的“应用程序”菜单里面多了个“系统工具”里面有个“Oracle VM Virtualbox”而且可以打开
我的装成功了吗,要怎么装才能成功呀
我把日志也贴上来吧
dante@dante-linux:~$ cat /var/log/vbox-install.log
** Compiling vboxdrv
Attempting to install using DKMS
Creating symlink /var/lib/dkms/vboxdrv/3.2.4/source ->
/usr/src/vboxdrv-3.2.4
DKMS: add Completed.
Error! Your kernel headers for kernel 2.6.32-21-generic cannot be found at
/lib/modules/2.6.32-21-generic/build or /lib/modules/2.6.32-21-generic/source.
You can use the --kernelsourcedir option to tell DKMS where it's located, or you could install the linux-headers-2.6.32-21-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。 停止。
ubuntu10.04怎么安装virtualbox
- devliu
- 帖子: 84
- 注册时间: 2010-05-27 18:12
- devliu
- 帖子: 84
- 注册时间: 2010-05-27 18:12
- devliu
- 帖子: 84
- 注册时间: 2010-05-27 18:12
Re: ubuntu10.04怎么安装virtualbox

- devliu
- 帖子: 84
- 注册时间: 2010-05-27 18:12
Re: ubuntu10.04怎么安装virtualbox
pocoyo 写了:你可能得选把内核源码包装上kernel module does not compile. Most probably the kernel sources were not found. Install them (the package name is │
│ probably linux-headers-<version> whereby <version> can be determined by 'uname -r')代码: 全选
sudo apt-get install linux-headers-`uname -r`
这样也行.代码: 全选
/etc/init.d/vboxdrv setup

谢谢
