Manually Putting an Image on a Workstation

The section explains how to put an image on the workstation by booting from an imaging method and entering a particular imaging command. The image is retrieved from your Imaging server.

Ensure that the workstation receiving a new image has enough disk space for the image. Otherwise, you will receive a "Failed to write to proxy" error.

The following sections contain additional information:


Manually Putting an Image on a Workstation Using the Bash Prompt

  1. If you haven't already done so, create the image to put on the workstation, as instructed in Manually Taking an Image of a Workstation.

    Make sure that the image is of the same type of workstation (same hardware configuration) and is stored on your Imaging server. You can use a previous image of the same workstation.

    IMPORTANT:  If you are putting an image on a workstation without a Desktop Management Workstation Imaging (Linux) partition, make sure the image was made on a workstation without a Desktop Management imaging partition. Otherwise, the wrong MBR (Master Boot Record) is restored, and the workstation fails to boot.

  2. (Optional) Boot the workstation from a Windows startup disk and run FDISK to remove all partitions from the hard disk.

    Running FDISK is not required, but it is recommended for purposes of comparing the workstation's partitions before and after the imaging operation.

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

  4. Enter manual at the boot prompt.

  5. (Conditional; SP1 only) If you are prompted for a language diskette, insert it, then press Enter.

  6. (Optional) At the bash prompt, type img dump, then press Enter 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. If you removed all partitions using FDISK, each slot should be empty and none should be active.

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

    • To restore an image from the Imaging server and put it down on a workstation, enter:
      img restorep serverIPaddr_or_DNSname //uncpath/newimg.zmg

      The restorep parameter stands for "restore from proxy," or in other words, retrieve an image from the Imaging (proxy) server and put it on this workstation. The IP address or DNS name should be that of your imaging server, and the UNC path specifies the location and filename where the image is to be retrieved from.

      For example:

      img restorep 137.65.95.127 //xyz_srv/sys/imgs/cpqnt.zmg
    • To retrieve an image from a local device and put it down on a workstation:
      img restorel filepath

      The restorel parameter stands for "restore from local," or in other words, retrieve an image from a local device and put it on this workstation. filepath represents the filename of the image to retrieve, including the .zmg extension (case-sensitive) and the complete path from the root of the partition.

    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 server portion of the path must be the name of your imaging server.

    If you want to manually restore an image from a folder that uses extended or double-byte characters in its name, you should perform an automatic image restoration using ConsoleOne®. For more information, see Performing an Automatic Imaging Creation or Restoration.

    For more information on the parameters you can use and usage examples, see Restore Mode (img restore).

    Depending on the size of the image, it might take several minutes to put the image down. Images actually take slightly longer to put down than they do to take. If the screen goes blank, just press any key. (Linux enters a screen-saving mode after a few minutes.)

  8. (Optional) When the image has been put down and the bash prompt reappears, type img dump, then press Enter.

    As before, this displays a list of the partition slots on the workstation. You should now see information about the new partitions that were created and activated by the image that you just put down.

  9. At the bash prompt, type lilo.s, then press Enter.

  10. Remove any diskettes from the drive and reboot the workstation. Verify that it boots to the operating system that was installed by the new image.


Manually Putting an Image on a Workstation Using the ZENworks Imaging Engine Menu

  1. If you haven't already done so, create the image to put on the workstation, as instructed in Manually Taking an Image of a Workstation.

    Make sure that the image is of the same type of workstation (same hardware configuration) and is stored on your Imaging server. You can use a previous image of the same workstation.

    IMPORTANT:  If you are putting an image on a workstation without a Desktop Management Workstation Imaging (Linux) partition, make sure the image was made on a workstation without a Desktop Management imaging partition. Otherwise, the wrong MBR (Master Boot Record) is restored, and the workstation fails to boot.

  2. (Optional) Boot the workstation from a Windows startup disk and run FDISK to remove all partitions from the hard disk.

    Running FDISK is not required, but it is recommended for purposes of comparing the workstation's partitions before and after the imaging operation.

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

  4. Enter manual at the boot prompt.

    or

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

  5. (Conditional; SP1 only) If you are prompted for a language diskette, insert it, then press Enter.

  6. Enter img to display the ZENworks Imaging Engine menu.

  7. (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. If you removed all partitions using FDISK, each slot should be empty and none should be active.

  8. Click Imaging, then click Restore Image.

  9. In the Restore Image Wizard window, specify the source location of the image (Local or Server), then click Next.

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

  11. (Optional) Specify a file set.

  12. (Optional) Specify any advanced options, such as sfileset or apartition:ppartition.

    For details on this and other related img command parameters, see Imaging Engine (Img: Command Line and Menu).

  13. Click Next.

    Depending on the size of the image, it might take several minutes to put the image down. Images actually take slightly longer to put down than they do to take. If the screen goes blank, just press any key. (Linux enters a screen-saving mode after a few minutes.)

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

    As before, this displays a list of the partition slots on the workstation. You should now see information about the new partitions that were created and activated by the image that you just put down.

  15. Exit the ZENworks Imaging Engine menu.

  16. Run lilo.s from the bash prompt.

  17. Remove any diskettes from the drive and reboot the workstation. Verify that it boots to the operating system that was installed by the new image.