Make Mode (img make)

Use the Make mode to take an image of the workstation and store it in a specified location. Normally, all partitions on hard disks and other storage devices (such as Jaz drives) are included in the image, but there are some exceptions noted below.

You can take an image of a workstation using either the bash prompt or using the ZENworks Imaging Engine menu. For step-by-step instructions, see Manually Taking an Image of a Workstation. You can also use the Make Locally mode to take an image of the workstation and store it in a partition on a local (writable) device, such as a hard disk or Jaz drive. For step-by-step instructions, see Setting Up Disconnected Imaging Operations.

The image size corresponds roughly to the size of the data in the Windows partitions plus the entire size of any non-Windows partitions (such as NetWare® partitions). ZENworks® Linux partitions and Compaq configuration partitions are always excluded. The data from Windows partitions is stored in an intelligent, file-by-file format so you can customize it later using the Image Explorer (imgexp.exe) utility. Non-Windows partitions are stored in a raw, bit-by-bit format that cannot be customized.

The syntax of this mode depends on whether you will store the image locally or on an Imaging (proxy) server.

The following sections contain additional information:


Make Locally (img makel)

Using the bash prompt, the following example explains the syntax and available parameters that you can use with the makel "make locally" parameter:

img makel[pNumber] filepath [comp=comp level] [xpartition]
Parameter Specifies

makel[pNumber]

The partition number (as displayed by img dump) of the local partition to store the image in. It must be a primary FAT16 or FAT32 partition. This partition is excluded from the image that's created.

If you omit the partition number from this parameter, the image is stored in the local Desktop Management imaging partition.

filepath

The image filename, including a .zmg extension (case-sensitive) and the complete path from the root of the partition. The directories in the path must exist. If the file already exists, it will be overwritten.

[comp=comp level]

comp level is the amount of compression used when creating the image. Specify any number from 0-9. 0 means no compression. 1 is the same as Optimize for Speed. 6 is the same as Balanced and is used by default if you do not specify this parameter. 9 is the same as Optimize for Space.

xpartition

The partition number (as displayed by img dump) of a local partition to exclude from the image. You can repeat this parameter as needed to exclude multiple partitions.

If you omit this parameter, all partitions are included in the image except the one where the image will be stored.

Example Explanation

img makel8 /imgs/dellnt.zmg

Takes an image of all partitions except the one in slot 8 and saves the image to imgs/dellnt.zmg in the partition in slot 8. (Assumes slot 8 contains a primary FAT16 or FAT32 partition.)

img makel /imgs/dellnt.zmg

Takes an image of all partitions and saves it to imgs/dellnt.zmg in the ZENworks Desktop Management imaging partition. (Assumes the Desktop Management imaging partition has been installed.)

img makel /imgs/dellnt.zmg x2 x3

Takes an image of all partitions except those in slots 2 and 3 and saves the image to imgs/dellnt.zmg in the Desktop Management imaging partition. (Assumes the Desktop Management imaging partition has been installed.)


Make on Proxy (img makep)

Using the bash prompt, the following example explains the syntax and available parameters that you can use with the makep "make on proxy" parameter:

img makep address filepath [comp=comp level] [xpartition]
Parameter Specifies

address

The IP address or DNS name of an imaging server where the image will be stored. This can be any server running the Imaging Proxy service.

filepath

The UNC path to the new image file being created, including the image filename and the .zmg extension (case-sensitive). The format of the UNC path is as follows:

//servername/volume_or_share/path_to_store_images/imagename.zmg

Upon execution of img makep at the cmd line, the servername portion of this path is replaced with the value in the address portion of this syntax.

The directories in the path must exist. If the file already exists; the imaging server won't overwrite it unless you enable this behavior in the imaging server's policy in eDirectory. (See Allowing Overwriting Filenames and Restricting Save Location of Image Files (Imaging Server Settings).) If no folders are specified in the path, the image is created at the root of the volume or drive where the ZENworks Desktop Management Workstation Imaging server software is installed.

IMPORTANT:  Because Linux does not recognize backslashes, you must use forward slashes in the UNC path or enclose the entire path in quotes.

[comp=comp level]

comp level is the amount of compression used when creating the image. Specify any number from 0-9. 0 means no compression. 1 is the same as Optimize for Speed. 6 is the same as Balanced and is used by default if you do not specify this parameter. 9 is the same as Optimize for Space.

xpartition

The partition number (as displayed by img dump) of a local partition to exclude from the image. You can repeat this parameter as needed to exclude multiple partitions.

If you omit this parameter, all partitions are included in the image.

Example Explanation

img makep 137.65.95.127 //xyz_server/sys/imgs/dellnt.zmg

Takes an image of all partitions and saves it to sys/imgs/dellnt.zmg on xyz_server. (Assumes 137.65.95.127 is the IP address of xyz_server.)

img makep img.xyz.com //xyz_server/sys/imgs/dellnt.zmg x2 x3

Takes an image of all partitions except those in slots 2 and 3 and saves the image to sys/imgs/dellnt.zmg on xyz_server. (Assumes img.xyz.com is the DNS name of xyz_server.)

img makep img.xyz.com //bogus/sys/imgs/dellnt.zmg

Takes an image of all partitions and saves the image to sys/imgs/dellnt.zmg on img.xyz.com. (Assumes img.xyz.com is the DNS name of a server running the Imaging Proxy service).

Because the servername inside the UNC path is replaced by the address value defined earlier in the cmd line, //bogus would become //img.xyz.com