找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 6588|回复: 1

PVS vhd模板转换成基础操作系统镜像

[复制链接]

5

主题

6

帖子

135

积分

发帖子上传附件

积分
135
发表于 2018-11-2 10:37:12 | 显示全部楼层 |阅读模式
Citrix官方KB解决方案:
https://support.citrix.com/article/CTX202159
Methods
With reverse imaging, the end goal is to boot from local disk instead of from the Provisioning Services vDisk across the network. There are several methods of reverse imaging, including the following:
  • Boot a Target Device from the vDisk. Attach a new local disk to the Target Device. Run P2PVS.exe to copy the vDisk to local disk. Then boot from the local disk instead of from the network.
  • vDisks are VHD/VHDX files. Some hypervisors (e.g. Hyper-V, XenServer can only boot VHDs) can directly boot VHD/VHDX files. In that case, copy the vDisk VHD/VHDX file to the local hypervisor’s storage, and configure a virtual machine to boot from the local VHD/VHDX instead of from the network.
  • Windows 7 and newer can boot from VHD files. Build a Windows 7 or newer virtual machine, copy the vDisk VHD to the C: drive of the Windows 7 machine, and then configure bcdedit to boot from the VHD. Newer versions of Provisioning Services create VHDX files instead of VHD. For VHDX files, the bcdedit method requires Windows 8 or newer.
Reverse imaging method
Xentools
VM tools
Hyper-v compatibility
Network stack
Win 10 upgrade
Anti-virus updates
Firewall\ Network Sec. software
Reverse imaging using P2PVS
x
x
x
x
x
x
x
VHD boot from hypervisor
x

x

x
x
x
Direct VHD boot
x
x
x
x

x
x

This table describes the above 3 reverse imaging-type methods and their uses in updating hypervisor-tools\NIC software.  Provisioning Services target device software must be uninstalled before updating NIC/hypervisor tools, Windows 10 upgrade, antivirus definition updates, and firewall\network security software.  All hypervisor tools and NIC installation software have a guard for detecting their respective NIC\VM type before allowing install to proceed.
Reverse imaging using P2PVS
For the purpose of reverse imaging, the terms private image mode and maintenance version are used interchangeably.
Before manually performing reverse imaging using P2PVS, consider the following:
  • Reverse imaging for legacy BIOS system is non-destructive and block-based.  Therefore, the local hard disk has to have the same partition table as those of the vDisk.
  • If the VM used for reverse imaging, then proceed to reverse imaging.  If the VM is not the master VM or has an uninitialized hard disk, use Disk Management from the Computer Management tool to create the partition table on the local hard disk to match those of the vDisk.
  • For UEFI systems, reverse imaging is a destructive process.  All the partitions on the local hard disk will be destroyed and re-created to match those of the vDisk.
  • Block-based imaging requires that the local hard disk has to bigger than or equal to the vDisk.
Reverse imaging
  • Boot the PVS target device into the vDisk using private\maintenance mode.
  • If the Provisioning Services target device installed in the system is 7.15 skip the new two steps and use the P2PVS.exe in the Provisioning Services target device installed directory (C:\Program Files\Citrix\Provisioning Services by default) to do reverse imaging.
  • Install PVS_UpgradeWizard.exe or PVS_UpgradeWizard_x64.exe from the Upgrade folder of the ISO image of the latest Provisioning Services release to get the latest P2PVS.exe.  The upgrade wizard can also be installed with the Provisioning Services meta-installer using the Target Device Installation > Install Upgrade Wizard option.  This is done because the upgrade wizard has the latest version of P2PVS.exe.
  • Run P2PVS.exe from the Provisioning Services Upgrade Wizard directory (by default, this directory is C:\Program Files\Citrix\Provisioning Services UpgradeWizard).
  • Click the From drop down menu and choose Provisioning Services vDisk and click Next.
C:/Users/admin/AppData/Local/YNote/data/donweitao@163.com/d36c21f130694896b73a98725414ea77/.png
  • In the partition screen, select the partitions that will be reverse imaged.  All system partitions, regardless of whether they have a drive letter or not, will be used in reverse imaging.  Click Next.
C:/Users/admin/AppData/Local/YNote/data/donweitao@163.com/bc92e844d6a6448f833d7577c9d4fa33/.png
  • Click Convert on the last page to begin reverse imaging.
C:/Users/admin/AppData/Local/YNote/data/donweitao@163.com/1b7011d42c8746ebbdc2f59903e25a82/.png
  • Both BIOS and UEFI systems follow the same reverse imaging sequence with P2PVS.
  • Un-install Provisioning Services target device software.
  • Set the system to boot from local disk instead of network.


回复

使用道具 举报

0

主题

8

帖子

47

积分

新手上路

Rank: 1

积分
47
发表于 2018-11-6 10:50:36 | 显示全部楼层
这个比较牛,VHD,hyper平台转vmware
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表