Reference Guide
5
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 specific error codes and messages.
NOTE: In Microsoft Windows Preinstallation Environment (Windows PE), you can find the UPINIT
utility in \DELL\TOOLKIT\TEMPLATES\SCRIPTS. In Linux, you can find 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 file 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 file onto the UP image.
• Unmounts the partition.
NOTE: On Windows PE, UPINIT runs as a batch file. 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 files:
• mbr file in the dell/drmk directory
• sysdrmk in the dell/toolkit/bin directory
204