去www.virtualbox.org下载了最新的for rhel 5版本的rpm
回来之后自认为象ubuntu一样很容易就搞定。结果rpm -ivh down下来的包之后看到了virtual界面。
配置好硬盘、虚拟光驱后,点启动。
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}
以root身份/etc/init.d/vboxdrv setup 提示:
Stopping VirtualBox kernel module [ OK ]
Recompiling VirtualBox kernel module [ FAILED ]
无法重新编译
于是开始找包:
yum list compat-libstdc++-33 SDL
发现compat-libstdc++-33 SDL都已经安装了
yum install gcc gcc-c++
yum install kernel-devel
完成之后
[root@Server soft]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module [ OK ]
Recompiling VirtualBox kernel module [ OK ]
Starting VirtualBox kernel module [ OK ]
再次运行Virtualbox
启动正常。解决
marco.chan 于 2008-02-15 08:50:56发表:
感觉好麻烦 哦~:0)1