Use the -make mode command to take an image of the device and store it in a specified location. Normally, all partitions on the local hard disks are included in the image, but there are some exceptions noted in Table F-2.
You can take an image of a device by using either the imaging maintenance mode prompt or by using the ZENworks Imaging Engine menu. For step-by-step instructions, see Manually Taking an Image of a Device. You can also use the Make Locally mode command to take an image of the device and store it in a partition on the local hard disk. For step-by-step instructions, see Section 3.1.3, Setting Up Disconnected Imaging Operations.
The image size corresponds to about half the size of the data in all of the device’s partitions, except that the ZENworks partition and Compaq or Dell configuration partitions are always excluded. Devices with logical volumes (LVMs) are not supported for imaging.
The syntax of this mode depends on whether you store the image locally or on an Imaging Server (proxy).
The following sections contain additional information:
To use the Make Locally mode:
To display the ZENworks Imaging Engine menu, enter:
img
Click
> .This displays the Make Image Wizard.
In the wizard, select
, then click .The Make Local Image Wizard is displayed.
Fill in the fields:
Path to Image Archive: Click
to select the location for the image file, or specify an existing path.Include Partitions: Click the check box for any partitions that you do not want to include in the image. By default, all partitions are selected.
Compression: Specify any number from 0 to 9 where 0 means no compression, 1 means the least compression, and 9 means the most compression.
Click
to continue.The next Make Image Wizard dialog box is displayed.
(Optional) Fill in the fields:
Author: Specify who created the image file.
Computer: Identify the computer where this image is being made.
Image Description: Describe the image file’s content or purpose.
Comments: Specify anything that might be helpful concerning this image.
Click
to make the image.The ZENworks Imaging Engine Menu displays a progress bar while making image.
If the imaging process was successful, click
in the Information dialog box, then click to return to a blank ZENworks Imaging Engine Menu display.If the imaging process was unsuccessful, determine and resolve the issue, then repeat these steps.
Using the imaging maintenance mode prompt, the following example explains the syntax and available parameters that you can use with the “make locally” (-makel) mode command:
img -make -local local_filepath/filename.zmg [‑part=partition_number] [‑comp=comp_level] [‑exclude=partition_number] [‑include=partition_number]
where the [...] brackets indicate optional commands.
You can abbreviate -make -local as: -m -local, -makel, or -ml.
You can also abbreviate ‑exclude as ‑x and ‑include as ‑I.
For more information, see:
Table F-2 Make Local Commands and Parameters
Table F-3 Make Local Examples
To use the Make Proxy mode:
To display the ZENworks Imaging Engine menu, enter:
img
Click
> .This displays the Make Image Wizard.
In the wizard, select
, then click .The Make Server Image Wizard is displayed.
Fill in the fields:
Server IP Address: Specify the IP address or DNS name of an Imaging Server. If you specified an Imaging Server for the settings.txt file when booting from the imaging CD, that Imaging Server’s IP address is the default; otherwise, the IP address for the Imaging Server specified in the settings.txt file for the PROXYADDR variable is displayed.
Path to Image Archive: Edit the default image filename (archive.zmg) as needed, replacing /path with any additional subdirectories that you have previously created under the content-repo/images directory.
Include Partitions: Click the check box for any partitions that you do not want to include in the image. By default, all partitions are selected.
Compression: Specify any number from 0 to 9 where 0 means no compression, 1 means the least compression, and 9 means the most compression.
Click
to continue.The next Make Image Wizard dialog box is displayed.
(Optional) Fill in the fields:
Author: Specify who created the image file.
Computer: Identify the computer where this image is being made.
Image Description: Describe the image file’s content or purpose.
Comments: Specify anything that might be helpful concerning this image.
Click
to make the image.The ZENworks Imaging Engine Menu displays a progress bar while making image.
If the imaging process was successful, click
in the Information dialog box, then click to return to a blank ZENworks Imaging Engine Menu display.If the imaging process was unsuccessful, determine and resolve the issue, then repeat these steps.
Using the imaging maintenance mode prompt, the following example explains the syntax and available parameters that you can use with the “make to proxy” (-makep) mode command:
img -make -proxy added_filepath/filename.zmg -ip=IP_address [‑comp=comp_level] [‑exclude=partition_number] [‑include=partition_number]
where the [...] brackets indicate optional commands.
You can abbreviate -make -proxy as: -m -proxy, -makep, or -mp.
If you specified an Imaging Server for the settings.txt file when booting from the imaging CD, that Imaging Server’s IP address defaults; otherwise, the IP address for the Imaging Server specified in the settings.txt file for the PROXYADDR variable is displayed.
For more information, see:
Table F-4 Make Proxy Commands and Parameters
Table F-5 Make Proxy Examples