Hyper-V RTM 正式發布了,我們可以通過下載更新補丁來進行安裝。此外,我們都知道 Windows Server 2008 RTM 中的 Hyper-V 是 RC0,在 Windows Server 2008 零售版未正式上架前,或微軟并未推出包含 Hyper-V RTM 的 Windows Server 2008 前,我們仍然需要先安裝 Hyper-V RC0 之后再進行更新么?其實不然,我們完全可以將 Hyper-V RTM 集成到 Windows Server 2008 安裝源中。
首先,我們先把下載到的Hyper-V RTM更新補丁包解開。
expand -F:* Windows6.0-KB-950050-x64.msu C:\950050 |
然后,將 Windows Server 2008 安裝盤中"Sources" 目錄下的"Install.wim"文件拷貝到本地磁盤上。我們可以使用 "imagex /info" 來查看該安裝映像的信息,以獲取每個安裝版本,如:Standard Full、Enterprise Full、Datacenter Full 以及 Core 所對應的標示號碼(WIM Image Index)。
要將 Hyper-V RTM 集成到 WIM 映像前,需要在當前系統中加載 WIM,為此:
imagex /mountrw c:\ws08\sources\install.wim 〈WIM Image Index〉 c:\mount |
然后,使用 pkgmgr 將更新補丁集成到安裝源映像中。
start /w pkgmgr /ip /m:C:\950050\Windows6.0-KB950050-x64.cab /o:C:\mount;C:\mount\windows |
最后,從系統中 unmount 該映像,并將修改寫入到映像文件。
imagex /unmount /commit C:\mount |