CLI Guide

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.
Topics:
Features
Creating A Partition Using UPINIT
UPINIT Dependencies
UPINIT Options And Arguments
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
6
UPINIT 221