Deployment Guide
Script Name Description Associated Files
– UPINIT.BAT— Used by PARTCFG.BAT to create and
populate the Dell utility partition.
– FORMAT.EXE— Provided by Windows to format the
partition.
Other scripts for systems running Linux operating systems
The following table lists the other scripts for Linux.
Table 27. Other Scripts for Linux
Script Name Description Associated Files
tkenvset.sh Sets the path for DTK installation and
variables for the system to be
deployed and configured. The
variables and paths in this file must be
specified before any of the other
supporting scripts can be used.
• syscfg — Used by tkenvset.sh to discover the system type.
raidcfg.sh Configures the selected RAID
controller detected in the system.
• tkenvset.sh — Used by raidcfg.sh to inform the task scripts about
where to find the DTK utilities, scripts, and configuration files.
• raidcfg — Used by raidcfg.sh to retrieve RAID information and
configure settings.
partcfg.sh In BIOS mode, creates and populates
the Dell utility partition and the
deployment partition (MBR type) on a
specified disk. In UEFI mode, creates
deployment partition (GPT type) on a
specific disk. The partcfg.shscript
uses a /tmpfolder to store a few
temporary files critical to its
execution.
• tkenvset.sh — Used by partcfg.sh to inform the task scripts
about where to find the DTK utilities, scripts, and configuration
files.
• fdisk — Used to create partitions on your disk in BIOS mode.
When creating an embedded Linux ISO image, make sure that
fdisk is present in the embedded Linux environment you created.
• parted — Used to create partitions on your disk in UEFI mode.
When creating an embedded Linux ISO image, make sure that
parted is present in the embedded Linux environment you created.
This script uses the following file for unattended operations:
• upinit.sh — Used by partcfg.sh to create and populate the Dell
utility partition.
NOTE: Do not modify the upinit.sh script.
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 find the DTK utilities, scripts, and configuration files.
• 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 file 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
43