Users Guide

Script Name Description Associated Files
upinit.sh Creates and populates the Dell utility
partition in BIOS mode.
NOTE: Do not modify the
upinit.sh script.
tkenvset.sh — Used by upinit.sh to inform the task scripts about
where to nd the DTK utilities, scripts, and conguration les.
fdisk — Used to create partitions on your disk.
mbr — File necessary to create a bootable Dell utility partition.
sysdrmk — Used by upinit.sh to patch the boot sector.
unzip — Used by upinit.sh for populating the Dell utility partition.
mke2fs — Used to create a ext2 le system.
upimg.bin — Contains the zipped contents of the Dell utility partition.
Editing example of TKENVSET and tkenvset
The majority of editing required for DTK sample scripts involves the TKENVSET.BAT (for Windows) or tkenvset.sh (for Linux) script. As a
result, the scripting discussion focuses on this script. Other task scripts may require edits in certain situations. These optional edits are
discussed in Editing DTK Task Scripts. The TKENVSET.BAT or tkenvset.sh script sets the path of DTK utilities and scripts and sets the
variables for the system to be deployed and congured. The variables and paths specied in this le before other supporting scripts are
used.
Specifying DTK installation paths
The TKENVSET.BAT or tkenvset.sh sample script is provided with the following default values. These values must be conrmed in some
cases, and modied in other cases, before a deployment. Locate the Deployment Toolkit Installation Paths heading to nd the following
lines:
On systems running Windows:
set DT_DRIVE=X:
set DT_PATH=%DT_DRIVE%\Dell\Toolkit
set DT_TOOLS=%DT_PATH%\Tools
set DT_SYSTEMS=%DT_PATH%\Systems
set DT_SCRIPTS=%DT_PATH%\Template\Scripts
set DT_STOP_ON_ERROR=FALSE
On systems running Linux:
DT_PATH=$dt_drive/opt/dell/toolkit
DT_TOOLS=$dt_path/bin
DT_SYSTEMS=$dt_path/systems
DT_SCRIPTS=$dt_path/template/scripts
DT_STOP_ON_ERROR=FALSE
DT_DRMK=$dt_path/opt/dell/drmk
Conrming or editing DTK installation path variables
Perform the following steps to conrm and/or edit the installation path variables:
1 On systems running Windows, set the variable that denes the path to the full set of DTK deployment les (DT_DRIVE). On systems
running Windows, this variable is set to X: by default in the sample script. For Windows, this variable is set to X: by default in the
sample script. On systems running Linux, this variable is set to $dt_drive/opt/dell/toolkit by default in the sample script. Edit this drive
letter to reect the actual drive letter for DTK deployment les, if necessary.
2 Set the variable that denes the path to the full set of DTK deployment les (DT_PATH). This variable is set to %DT_DRIVE%\Dell
\Toolkit (Windows) or $dt_drive/opt/dell/toolkit (Linux) by default in the sample script. Edit this path to reect the actual location of
DTK deployment les, if necessary.
3 Set the variable that denes the directory containing DTK utilities (DT_TOOLS). This variable is set to %DT_PATH%\Tools (Windows)
or
$dt_path/bin (Linux) by default in the sample script. Edit this path to reect the actual location of DTK utilities, if necessary.
46
Preparing the script les