虚拟机安装后,启动时出错:说缺少kernel-headers或者gcc时,一般是找不到虚拟机关键模块如:
Logging to /tmp/vmware-user/setup-30084.log
modinfo: could not find module vmmon
modinfo: could not find module vmnet
modinfo: could not find module vmblock
modinfo: could not find module vmci
modinfo: could not find module vsock
modinfo: could not find module vmmon
modinfo: could not find module vmnet
modinfo: could not find module vmblock
modinfo: could not find module vmci
modinfo: could not find module vsock
该问题的解决很简单:
Remove or backup the old binary modules:
mv /usr/lib/vmware/modules/binary /usr/lib/vmware/modules/binary.oldand rebuild it again:
vmware-modconfig –console –install-all
通过上述方法,我的一台机器fedora11问题解决了。
依然该方法,在fedora12和fedora13、fedora14上竟然不行,当我执行vmware-modconfig –console –install-all之后出错:
说我的kernel-header和gcc没有安装,实际我都装过了。到底是怎么回事呢?至今未解决!
看到网上不少人说fedora12、fedora13、fedora14不再支持vmware7.0了,需要更高版本的vmware才行。难怪我在fedora11上可以vmware-modconfig –console –install-all重新编译虚拟机的关键模块。
并且fedora12也不支持VirtualBox