CLI Guide

6
UPINIT
The UPINIT utility allows to create a utility partition (UP) on a hard drive, format the partition, and extract the partition contents onto
the disk.
Features
The UPINIT utility:
Displays help and usage information.
Returns specic error codes and messages.
NOTE: In Microsoft Windows Preinstallation Environment (Windows PE), you can nd the UPINIT utility in \DELL
\TOOLKIT\TEMPLATES\SCRIPTS. In Linux, you can nd it in /opt/dell/toolkit/templates/scripts
Creating A Partition Using UPINIT
The size of the virtual disk where a utility partition is to be created must be a minimum of 8 GB.
UPINIT performs the following steps:
Ensures that the UP image le is present and readable.
Ensures that no partitions are present on the target disk.
Creates a utility partition of type Dell Utility (DE). If there is an existing UP, UPINIT does not create a new one. It only updates
the existing UP. If no UP is found, UPINIT exits.
Updates the boot sector with the UP boot sector image. If required, it updates the master boot record as well.
Mounts the partition.
Uncompresses the UP le onto the UP image.
Unmounts the partition.
NOTE: On Windows PE, UPINIT runs as a batch le. In Linux, it runs as a shell script that uses standard Linux commands
to accomplish the same tasks as done by the Windows PE UPINIT utility. Both command lines are identical and the
output of the two utilities are identical when the same image is used.
UPINIT Dependencies
On systems running Linux, UPINIT looks for the following les:
mbr le in the dell/drmk directory
sysdrmk in the dell/toolkit/bin directory
On systems running Windows, UPINIT looks for the following les:
createup.cfg , mountup.cfg , umountup.cfg , and listup.cfg in the DELL\TOOLKIT\TEMPLATE\SCRIPTS directory
sysdrmk.exe in the DELL\TOOLKIT\TOOLS directory
UPINIT Options And Arguments
Table below lists the valid options and arguments for the UPINIT utility.
183