60.1 Manually Taking an Image of a Workstation

This section explains how to take an image of a workstation by booting from an imaging method and entering a particular imaging command. The image is stored on your ZENworks Imaging server.

If you want to store an image locally rather than on an ZENworks Imaging server, see Section 61.1, Using a CD or DVD for Disconnected Imaging Operations and Section 61.2, Using a Hard Disk or Jaz Drive for Disconnected Imaging Operations.

Make sure that your ZENworks Imaging server has enough disk space for the image. Otherwise, you receive a “Failed to write to proxy” error.

60.1.1 Using the Bash Prompt to Manually Take an Image of a Workstation

  1. Boot the workstation using one of the following methods:

  2. Enter manual at the boot prompt.

    or

    Select Start ZENworks Imaging in Maintenance Mode from the PXE menu.

  3. (Optional) At the bash prompt, type img dump, then press Enter.

    This displays a list of the partition slots on the workstation. For your reference, note the number and type of partitions and which one is active.

  4. Enter a command at the bash prompt using one of the following formats:

    • To create an image and store it on the ZENworks Imaging server, enter:

      img makep serverIPaddr_or_DNSname //uncpath/newimg.zmg [comp=comp level]
      

      The makep parameter stands for “make on proxy,” or in other words, create an image and store it on the imaging (proxy) server.

      The IP address or DNS name should be that of your ZENworks Imaging server. This can be any server running the Imaging Proxy service.

      The .zmg filename extension is case-sensitive and must be all lowercase.

      The UNC path to the image file to retrieve, including image filename and .zmg extension. The format of this UNC path is as follows:

      //servername/volume_or_share/path_to_stored_images/imagename.zmg
      

      When img makep is executed at the command line, the servername portion of this path is replaced with the value in the address portion of the path.

      For OES Linux, the path to the image file must be from root (/). For example, the path might look like:

      //servername/media/nss/NSS_volume/path_to_image/imagefilename.zmg
      

      The directories in the path must exist. You can use the following characters in the path and filename:

      • Letters: a through z (uppercase and lowercase)

      • Numbers

      • Special Characters: $ % ’ - _ @ { } ~ ` ! # ( )

      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 and is used by default if you do not specify this parameter. 6 is the same as Balanced. 9 is the same as Optimize for Space. (Optimize for Speed takes the least amount of time but creates the largest image file. Optimize for Space creates the smallest image file but might take a significant amount of time. Balanced is a compromise between compression time and image file size.)

      For example:

      img makep 137.65.95.127 //xyz_srv/sys/imgs/cpqnt.zmg comp=6
      
    • To create an image and store it locally: enter:

      img makel filepath [comp=comp level]
      

      The makel parameter stands for “make locally,” or in other words, create an image and store it on a local (writable) device, such as a hard disk or Jaz drive.

      Unless you mount a drive before using the makel command, the image is created in RAM and is lost during a reboot of the workstation.

      filepath is the image filename, including the .zmg extension (case-sensitive) and the complete path from the root of the partition.

      The directories in the path must exist. You can use the following characters in the path and filename:

      • Letters: a through z (uppercase and lowercase)

      • Numbers

      • Special Characters: $ % ’ - _ @ { } ~ ` ! # ( )

      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 and is used by default if you do not specify this parameter. 6 is the same as Balanced. 9 is the same as Optimize for Space. (Optimize for Speed takes the least amount of time but creates the largest image file. Optimize for Space creates the smallest image file but might take a significant amount of time. Balanced is a compromise between compression time and image file size.)

      For example:

      img makel /imgs/dellnt.zmg comp=6
      

    IMPORTANT:Make sure to use forward slashes in the UNC path as shown above. Backslashes aren’t recognized by Linux. Alternatively, you can use backslashes and enclose the entire UNC path in quotes. The path you specify must exist on your ZENworks Imaging server.

    For more information on the parameters you can use and usage examples, see Section 64.3, Make Mode (img make).

    Depending on the amount of data on the hard disk, the image might take several minutes to create. If the screen goes blank, just press any key. (Linux enters a screen-saving mode after a few minutes.)

  5. After the image is created and the bash prompt is displayed, Remove any CD or DVD from the drive and reboot the workstation.

  6. (Optional) Verify that the image file was created on your ZENworks Imaging server. You might also want to check its size.

60.1.2 Using the ZENworks Imaging Engine Menu to Manually Take an Image of a Workstation

  1. Boot the workstation using one of the following methods:

  2. Enter manual at the boot prompt.

    or

    Select Start ZENworks Imaging in Maintenance Mode from the PXE menu.

  3. Enter img to display the ZENworks® Imaging Engine menu.

  4. (Optional) Click System Information, then click Drive Information to display a list of the partition slots on the workstation.

    For your reference, note the number and type of partitions and which one is active.

  5. Click Imaging, then click Make Image.

  6. In the Make Image Wizard window, specify the destination where the image is to be stored (Local or Server), then click Next.

    The directories in the path must exist. You can use the following characters in the path and filename:

    • Letters: a through z (uppercase and lowercase)

    • Numbers

    • Special Characters: $ % ’ - _ @ { } ~ ` ! # ( )

  7. Browse to and specify the path to the image archive.

  8. Select the partitions that you want to include in the image.

  9. Select a compression option.

    None: No compression is used.

    Speed: Takes the least amount of time to compress but creates the largest compressed image file. This option is used by default when an image is created.

    Balanced: Represents a compromise between compression time and image file size.

    Size: Creates the smallest image file but takes longer to compress.

  10. Click Next.

  11. (Optional) Fill in the fields:

    Author: The name of the person creating this image.

    Computer: The name of the computer being imaged.

    Image Description: A description of the image.

    Comments: Any additional comments about the image.

  12. Click Next.

    Depending on the amount of data on the hard disk, the image might take several minutes to create. If the screen goes blank, just press any key. (Linux enters a screen-saving mode after a few minutes.)

  13. After the image is created, exit from the ZENworks Imaging Engine menu, remove any CD or DVD from the drive, then reboot the workstation.

  14. (Optional) Verify that the image file was created on your ZENworks Imaging server. You might also want to check its size.