HP ThinPro 5.0 - Administrator Guide

C Resizing the flash drive partition
When a thin client running HP ThinPro is shipped from the factory, the image flashed on it has a size
of 1 GB, regardless of the total size of the flash drive. This makes it easier to customize the image
and deploy it to other clients that might have a smaller flash drive.
To use the entire space of the flash drive, you have to modify the partition size and expand the file
system to take up that additional space. This can be accomplished using the resize-image script.
The following table describes the syntax for the resize-image script.
Syntax Description
resize-image
When called with no parameters, the script displays the
current size of the partition and the amount of available
space on the flash drive. The script prompts you to enter the
target partition size and then confirm the change. The
change takes effect after the next thin client restart.
NOTE: It is not possible to decrease the partition size. The
entered value must be larger than the current partition size.
resize-image--size <size>
Using this syntax, you can provide directly the target partition
size as a parameter, and then confirm the change.
resize-image--no-prompt
—or—
resize-image--no-prompt--size <size>
Using this syntax, the script runs automatically with no user
interaction required.
If no specific size is given as a parameter simultaneously,
the partition size is increased to the maximum size.
TIP: This non-interactive mode is useful for scripting and
performing this operation from a remote administration tool
like HP Device Manager.
67