Explanation: When you take an image of a smaller hard disk and lay it down on a larger hard disk, by default the extra space on the larger hard disk is left unpartitioned.
Action: To work around this problem, when laying down the image, do it manually (from the Linux command line) and use the optional a:p parameter as the last argument. This parameter is described in Imaging Engine (img: Command Line and Menu) in Imaging Utilities and Options in Workstation Imaging in Administration. You can't do this in auto-imaging mode.
Boot the target computer with an imaging device and enter manual at the boot prompt when the initial menu appears. Insert the second and third diskette if you are prompted for it.
At the Linux prompt, type img dump to see the current partitions.
Remove all the partitions using the img pd command.
For example, to remove partition 1, type img pd1.
Create and activate the new (empty) partitions needed to hold the new image that you will lay down. Use the img pc and img pa commands.
For example, to create and activate a single NTFS partition of the entire hard disk, type img pc1 ntfs followed by img pa1.
Lay down the new (smaller) image using the img r command with the a:p parameter.
For example, if the new (smaller) image is stored on an imaging server and it contains only one partition, you could fill the entire NTFS partition on the workstation with the smaller image as follows:
img rp 137.65.95.127 //imgsrv/sys/img/small.zmg a1:p1
After the image has been laid down, remove the boot device if needed, type lilo.s, and reboot the workstation.