55.4 Creating an Imaging Hard-Disk Partition

If you want to set up a workstation for unattended imaging operations and are unable to use Preboot Services (PXE), you can create a ZENworks partition on the hard disk. If you make the partition big enough, you can even store an image of the workstation’s hard disk, which can be useful if the workstation becomes misconfigured or corrupted when the network connection is lost.

WARNING:Installing the ZENworks partition destroys all data on that hard drive.

55.4.1 Creating an Imaging Hard-Disk Partition on a Hard Drive Containing Data

To create a ZENworks partition on a hard drive that contains data:

  1. Create an imaging CD or DVD (see Section 55.2, Preparing Imaging Boot CDs or DVDs)

  2. Take an image of the workstation as instructed in Section 60.1, Manually Taking an Image of a Workstation.

    IMPORTANT:Do this even if you have taken an image of the workstation previously. This ensures that the new image captures the changes you made in the preceding steps.

  3. After the image is created, reboot the workstation with the imaging boot method, type install at the boot prompt, then press Enter.

    This starts the process of creating the ZENworks partition in the first partition slot. It also destroys all existing partitions, even if slot 1 is empty and available. By default, the ZENworks partition size is 150 MB.

    If the ZENworks partition already exists, it is upgraded, and your existing Windows partitions are left intact.

  4. (Optional) After the ZENworks partition is created and the bash prompt is displayed, type img dump, then press Enter.

    This displays a list of the partition slots on the workstation. Unless you are upgrading your ZENworks partition, each partition slot should be empty and none should be active. The ZENworks partition is hidden from the list, so the number of partition slots in the list should be one less than before.

    or

    Type img to display a menu, select Dump, then select No Geometry.

  5. At the bash prompt, restore the image you took in Step 2.

    Use the img restorep command or select Restore an Image, then select Proxy Image from the menu as instructed in Step 6 of Section 60.2, Manually Putting an Image on a Workstation.

  6. (Optional) After the image is restored and the bash prompt is displayed, use the img dump command to redisplay the list of the partition slots on the workstation.

    or

    Type img to display a menu, select Dump, then select No Geometry.

    You should now see information about the Windows partitions that are restored and activated. There should still be one less partition slot than before because the ZENworks partition is still hidden (and will continue to be).

  7. At the bash prompt, type grub.s, then press Enter.

  8. When the bash prompt is displayed, reboot the workstation.

    The workstation should boot to Windows. If the bash prompt is displayed, enter the grub.s command again and reboot a second time.

55.4.2 Creating an Imaging Hard-Disk Partition on an Empty Hard Drive

To create a ZENworks partition on a hard drive that has no data, do one of the following:

  • Boot the device by using an Imaging boot CD and select Install or Update ZEN Partition.

  • PXE boot the device and select Manual Mode from the menu. At the boot prompt, type install.s and press Enter.

    This starts the process of creating the ZENworks partition in the first partition slot. By default, the ZENworks partition size is 150 MB.