centos6.4虛擬機vmware-tools安裝及啟動到進度條卡死


vmware-tools安裝:

linux-VMware tools安裝步驟:

(1)在CD-ROM虛擬光驅中選擇使用ISO鏡像,找到VMWARE TOOLS 安裝文件,如D:\VMware\VMware Workstation\Programs\linux.iso

(2)以ROOT身份進入LINUX;

(3)在虛擬機菜單欄中點擊“虛擬機-> 安裝VMWARE TOOLS” 子菜單,會彈出對話框,點擊"確認" 安裝;

(4)掛載光驅:mount  /dev/cdrom    /mnt/cdrom(注意命令中輸入的空格)這時,你的linux.iso里面的文件就相當於windows光盤里面的文件了;

(5)進入cd  /mnt/cdrom,輸入ls命令你將會發現多了兩個文件,如:VMwareTools-5.0.0-13124.tar.gz VMwareTools-5.0.0-13124.i386.rpm這就是VMware Tools的Linux軟件包.rpm文件是給Red Hat准備的,我們只需要.tar.gz。

(6)VMwareTools-5.0.0-13124.tar.gz復制到/tmp/目錄下(命令:cp  vmware-linux-tools /tmp);

(7)輸入命令:cd   /tmp 進入/tmp目錄;

(8)輸入命令:tar  zxf  vmware-linux-tools.tar.gz 將剛剛復制的vmware-linux-tools.tar.gz 解壓,默認解壓到vmware-linux-tools目錄下(與文件名同名),此時就會多出一個命名為vmware-linux-tools的文件夾,這里和windows 里面的解壓結果一樣。

(9)輸入命令:cd vmware-linux-tools 進入解壓后的目錄;

(10)輸入命令:./vmware-install.pl(執行vwware的安裝腳本,這個腳本是用perl編寫的),運行安裝VMware tools (.pl文件在前面有提過);

(11)在運行安裝過程中,它會一步一步的提出問題要你回應,此過程中全部使用默認值,一直按 Enter 就對了;

(12)最后它會輸出1-15個分辨率讓你輸入數字選擇,根據你的顯示器來選擇分辨率吧;

(13)好了,安裝完成。現在你應該已經能看到VMware Tools安裝后的效果了:鼠標再也不需要用Ctrl+Alt切換於虛擬與現實之間,一切過渡得那么自然;虛擬機的分辨率也能依窗口的大小來自動適應,一切顯得那樣和諧;我們也可以使用/mnt/hgfs共享文件夾了,一切都是那么的方便。

  

 

 

 

卡住之后,可以按向下鍵查看詳細的錯誤信息。

  如果是[warning] [guestinfo]recordrountinginfo:unable to collect IPv4 routing table;則通過如下方式解決:

一. Cause(出現的原因)

This issue occurs when the Linux iputils package causes a delay in the boot process. A warning message appears when the guestinfo plug-in tool fails to parse the content from the /proc/net/route file. The guest operating system's clock is ahead of the host on which it is running, causing the arping process to become unresponsive during boot. This results in the delayed boot times.

 

When a virtual machine is affected this issue occurs every time it boots, but it does not happen on every Linux virtual machine.

Resolution

To resolve this issue, see the RedHat Advisory RHBA-2013:1290.

 

Note: The preceding link was correct as of December 11, 2013. If you find the link is broken, provide feedback and a VMware employee will update the link.

 

二.Resolve (解決的方法1:已采用)

To work around this issue, add rtc.diffFromUTC=0 to the .vmx file of the affected virtual machine. This forces a time sync, which enables the arping process to complete as expected leading to normal boot times.

 

To add rtc.diffFromUTC=0 to the .vmx file:

1.Power off the virtual machine.

2.Log in to the ESXi/ESX host on which the virtual machine is located with a secure shell session.

3.Change to the virtual machine's .vmx file location (located at /vmfs/volumes/datastore_name/vm_name).

4.Create a backup of the .vmx file. 

5.Open and edit the original .vmx file with a text editor.

6.Add this entry to the end of the .vmx file:

rtc.diffFromUTC=0

7.Close and save the .vmx file.

8.Power on the virtual machine.

 

三. Resolve (解決的方法2:該方法未驗證)

1 # locate libtimeSync.so 

2 /root/vmware-tools-distrib/lib/plugins32/vmsvc/libtimeSync.so 

3 /root/vmware-tools-distrib/lib/plugins64/vmsvc/libtimeSync.so 

4 /usr/lib/vmware-tools/plugins32/vmsvc/libtimeSync.so 

5 /usr/lib/vmware-tools/plugins64/vmsvc/libtimeSync.so 

重命名 /usr/lib/ 下的 libtimeSync.so 為libtimeSync.so.bak


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM