ZENworks allows you to configure the disk structure of the destination device on which you want to restore a WIM image. During the restoration of the WIM, the disk of the destination device is automatically partitioned according to the newly configured structure and the image is restored on the new partitions.
You can configure the destination disk structure only if the image is restored in one of the following modes:
Automatic Imaging mode
For more information on the Automatic Imaging mode, see Section 3.1.1, Using ZENworks Control Center for Imaging.
Maintenance Imaging mode without configuring the Advanced options.
For more information on how to locally restore an image in the Maintenance Imaging mode, see Section C.5.4, Restoring a Locally Stored Image, and how to restore an image to a remote device, see Section C.5.5, Restoring an Image to a Device on a Shared Network Location.
To configure the disk structure of the destination device, do the following before restoring a WIM image:
create an XML file with the filename as WIM_image_name-wim.xml with the following content:
<ZENWORKS>
<Disk Number="1"> <Partition Number="1" Type="1" Size="14998" Offset="1" Active="1" FSType="NTFS" Drive="C:"> </Partition> <Partition Number="0" Type="2" Size="99378" Offset="14999" Active="0" FSType="NA" Drive=""> </Partition> <Partition Number="2" Type="4" Size="24999" Offset="15000" Active="0" FSType="NTFS" Drive="D:"> </Partition> </Disk>
<Disk Number="2"> <Partition Number="1" Type="1" Size="14998" Offset="1" Active="1" FSType="NTFS" Drive="C:"> </Partition> <Partition Number="0" Type="2" Size="99378" Offset="14999" Active="0" FSType="NA" Drive=""> </Partition> <Partition Number="2" Type="4" Size="24999" Offset="15000" Active="0" FSType="NTFS" Drive="D:"> </Partition> </Disk> ...
</ZENWORKS>
Save the WIM_image_name-wim.xml created in Step 1 in the same location as the WIM image file.
Ensure to follow these guidelines as you work with the XML file:
You can specify only the following disk settings:
You must specify the disk settings in the following order:
Partition Number, Type, Size, Offset, Active, FSType, Drive