Limitations of powerquest deploycenter – Lenovo ThinkVantage ImageUltra Builder Version 5.0 User Manual

Page 157

Advertising
background image

Inside the batch file, you must use the following statements:

Gdisk.exe 1 /cre /pri /sure

ghost.exe -clone,mode=pload,src=image.gho:1,
dst=1:1 -auto -sure -quiet -fx -batch

Where image.gho is the name of your image.

Before you build the module, you must put the image files, the script file, and the
batch file in the same folder.

File size and naming convention:

It is always a good idea to limit the file size to

600MB so the image can be distributed on a set of CD’s, if necessary. If you are
using Symantec Norton Ghost version 7.5, use the -cns parameter when creating
the image to ensure the file-extension names are compatible with the ImageUltra
Builder program.

Limitations of PowerQuest DeployCenter

The ImageUltra Builder program uses a service partition at the end of the hard
disk to store the Smart Images. The service partition is hidden and must be
protected during the installation process. PowerQuest DeployCenter has a scripting
function that allows for the protection of partitions.

Before any files are installed, the ImageUltra Builder program deletes all partitions
from the target computer hard disk except for the service partition. Therefore,
when creating scripts, you do not have to include any commands to delete
partitions.

The following is a sample PowerQuest DeployCenter script that can be used with
the ImageUltra Builder program to protect the service partition and restore two
partitions:

SELECT DRIVE 1
PROTECT PARTITION LAST
SELECT FREESPACE FIRST
SELECT IMAGE 1
RESIZE IMAGE PROPORTIONAL
SELECT IMAGE 2
RESIZE IMAGE 2048
RESTORE
SELECT PARTITION 1
SET ACTIVE
SELECT PARTITION 2
UNHIDE

In the sample script, two partitions are established: partition 1 uses all available
free space and partition 2 uses 2 GB. By default, when PowerQuest DeployCenter
sets partition 1 as active, it hides any remaining primary partitions. Therefore, the
script must “unhide” any primary partitions that were hidden when partition 1
was set as active. The sample script “unhides” partition 2. If a third primary
partition were being used, you would add the following lines to the end of the
script:

SELECT DRIVE 1
SELECT PARTITION 3
UNHIDE

Chapter 8. Preparing source files for modules

143

Advertising