標籤:windows 版本轉換
前面我們說了兩個有關版本的地方,今天,還要再說一個地方。
打到位置,看到檔案內容,其含義基本上不言自 明了。
位置:C:\Windows\servicing\Editions
共有四個檔案。
1、EditionMatrix.xml:描述了版本變換的說明。
在伺服器上:
…<Edition ID="ServerStandard" name="Microsoft-Windows-ServerStandardEdition" …> <Target ID="ServerDatacenter"/></Edition>…
說明可以從標準版本轉換成資料中心版本
在工作站上:
…<Edition ID="Starter" name="Microsoft-Windows-StarterEdition" …> <Target ID="Core"/> <Target ID="CoreARM"/> <Target ID="CoreConnected"/> <Target ID="CoreCountrySpecific"/> <Target ID="CoreSingleLanguage"/> <Target ID="CoreConnectedCountrySpecific"/> <Target ID="CoreConnectedSingleLanguage"/> <Target ID="EmbeddedIndustry"/> <Target ID="EmbeddedIndustryA"/> <Target ID="EmbeddedIndustryE"/> <Target ID="EmbeddedIndustryEEval"/> <Target ID="EmbeddedIndustryEval"/> <Target ID="Enterprise"/> <Target ID="EnterpriseEval"/> <Target ID="Professional"/> <Target ID="ProfessionalStudent"/> <Target ID="ProfessionalWMC"/></Edition>…
表示初級版本,可以升級成其他各種版本。
2、檔案名稱是隨實際的安裝不同而不同。
比如:資料中心:ServerDatacenterEdition.xml
專業版:ProfessionalEdition.xml
描述的是一些離線包,可能也就是系統的基本包。
3、UpgradeMatrix.xml
描述了不同版本之間的升級。
先定義了一些名字,便於在後面使用。
4、WimBootConfig.ini
從未用過這個功能,因此不太清楚,好像是直接用 wim 啟動的配置。用 wim 啟動的好處當然是可以節能磁碟空間。
在伺服器與工作站的檔案內容好像一樣。
這是網上一段有關 WimBoot 的描述:
Wimboot with one partition only, booted from a Win 8.1 UP1 DVD.
diskpartDISKPART> sel disk NDISKPART> cleanDISKPART> create par primaryDISKPART> format fs=ntfs quickDISKPART> activeDISKPART> assign letter=C.md C:\Scratchmd C:\windows\wimbootDism /Export-Image /WIMBoot /SourceImageFile:E:\sources\Install.wim /SourceIndex:1 /DestinationImageFile:C:\windows\wimboot\wimboot.wim /scratchdir:C:\ScratchDism /Apply-Image /ImageFile:C:\windows\wimboot\wimboot.wim /ApplyDir:C:\ /Index:1 /WIMBootrd C:\Scratchbcdboot c:\windows /s c:
來自 http://reboot.pro/topic/19715-windows-image-file-boot-wimboot/page-2
第一個與第三個檔案是不是可以合并起來,並且改一改,就可以把原來不能升級,或者能升級而必須全新安裝的,改成升級安裝,那就功德無量了。
現在,還是簡單起見,把工作站上的這個目錄備份一下,也就是改個名字,然後,把伺服器上的這個目錄複寫過來,再重啟一下,看看是否正常。
重啟。
在 CBS.log 中出現錯誤了,說是沒有找到檔案:
Failed to parse package manifest:
\?\C:\Windows\Servicing\Packages\Microsoft-Windows-ServerDatacenterEdition
證明這個修改是改對了,因此,要把這個檔案複製到系統包裡,即,C:\Windows\Servicing\Packages,再重啟。
還有一個包,也要複製進去啊,再重啟;當時還看了半天,才知道兩個檔案不是一回事。名字太長也害人啊。
Microsoft-Windows-ServerCore-Package~31bf3856ad364e35~amd64~~6.3.9600.16384.*
可以把光碟片上的 install.wim 檔案用 7-zip 提取出來,放到硬碟上備用。用 mount 的方法釋放出來的檔案是有使用權限設定的,不方便操作。
上次說的,如何確定啟動的到底是什麼版本的系統,這裡應該就是源頭。
把 Win 8.1 升級成 Windows 2012 R2 (再續)