一個虛擬機器不能裝載問題的解決

來源:互聯網
上載者:User

今天需要用到oracle資料庫,我把資料庫裝在了一個虛擬中,可用vmplayer開啟虛擬機器的時候,無法開啟虛擬機器: winXPPro.vmx。
顯示的內容大概是:

 

File "winXPPro.vmx" line 2: Value "8" for variable "config.version" is not valid in encoding "windows-1251".

 

我的理解是目前的版本不支援windows-1251解碼

 

百度了一下,好像換個完整版的VMware6.5是可以解決問題,麻煩,後來在shooterf的部落格中發現了另外一種解決辦法:

用記事本開啟提示的*.vmx檔案,可以看到,第一行就有encoding "windows-1251".字樣,把encoding "windows-1251".改成encoding "GBK".之後,用VMware可以開啟了,但是提示*.vmdk缺失,難道又不行了嗎?

再接下來用記事本開啟*.vmdk檔案,可以發現只有這樣一串字:

# Disk DescriptorFile
version=1
encoding="windows-1251"
CID=01146af3
parentCID=ffffffff
createType="twoGbMaxExtentSparse"

# Extent description
RW 4192256 SPARSE "BT4-Beta-s001.vmdk"
RW 4192256 SPARSE "BT4-Beta-s002.vmdk"
RW 4192256 SPARSE "BT4-Beta-s003.vmdk"
RW 4192256 SPARSE "BT4-Beta-s004.vmdk"
RW 8192 SPARSE "BT4-Beta-s005.vmdk"

# The Disk Data Base
#DDB

ddb.toolsVersion = "7428"
ddb.adapterType = "lsilogic"
ddb.geometry.sectors = "63"
ddb.geometry.heads = "255"
ddb.geometry.cylinders = "1044"
ddb.uuid = "60 00 C2 97 16 23 51 fd-2d f7 ba 78 dc 4b 68 42"
ddb.virtualHWVersion = "7"

接下來,當然是把encoding="windows-1251"這些字元改為encoding="GBK",再用VMware開啟,OK!

 

感謝shooterf!


shooterf

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.