将 Hyper-V RTM 集成到 Windows Server 2008 安装源


 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:ws08sourcesinstall.wim 〈WIM Image Index〉 c:mount

  然后,使用 pkgmgr 将更新补丁集成到安装源映像中。

  start /w pkgmgr /ip /m:C:950050Windows6.0-KB950050-x64.cab /o:C:mount;C:mountwindows

  最后,从系统中 unmount 该映像,并将修改写入到映像文件。

  imagex /unmount /commit C:mount

本文作者:
« 
» 
快速导航

Copyright © 2016 phpStudy | 豫ICP备2021030365号-3