资料来源:http://tc.chinawin.net/it/os/article-7dd3.html
在win下用習慣了vmware
,在ubuntu下用virtualbox怎麼都不習慣,就又裝了vmware,昨天裝完用的還好好的,今天虛擬機啓動不了了。
ubuntu9.10 + vmware workstation 7.0.1 build-227600
根據提示和日誌 依次運行
sudo modprobe vmmonsudo modprobe vmci
好了虛擬機成功起來了
網絡無法鏈接 點connect之後 顯示
Could not connect Ethernet0 to virtual network "/dev/vmnet8".
More information can be found in the vmware.log file.
Failed to connect virtual device Ethernet0.
在網上找了一下,竟然沒有相關錯誤,鬱悶了
找vmware相關的文件,發現有個 vmware-network
tian@tian-laptop:~$ vmware-networks --helpvmware-networks version: 0.1
Usage: vmware-networks [--verbose | -v]
<option>
Use exactly one of these commands:
--postinstall
<component-name>,<old-version>,<new-version>
--migrate-network-settings
<location of settings file>
--install-host-policy
[<subnet>,<dhcp=0|1>]
--uninstall-host-policy
--start
--stop
--status
Additional options:
--help | -h
--version
也許就是這個,接着運行
tian@tian-laptop:~$ sudo vmware-networks
--startStarted Bridge networking on vmnet0
Failed to start DHCP service on vmnet1
Failed to enable hostonly virtual adapter on vmnet1
Failed to start DHCP service on vmnet2
Failed to start NAT service on vmnet2
Failed to enable hostonly virtual adapter on vmnet2
Failed to start DHCP service on vmnet8
Failed to start NAT service on vmnet8
Failed to enable hostonly virtual adapter on vmnet8
Started Network detection service
Failed to start some/all services
sudo modprobe vmnet
再來 tian@tian-laptop:~$ sudo vmware-networks --startStarted Bridge networking on vmnet0
Started DHCP service on vmnet1
Enabled hostonly virtual adapter on vmnet1
Started DHCP service on vmnet2
Started NAT service on vmnet2
Enabled hostonly virtual adapter on vmnet2
Started DHCP service on vmnet8
Started NAT service on vmnet8
Enabled hostonly virtual adapter on vmnet8
Started Network detection service
Started all configured services on all networks