User's Manual
Preparing the Script Files for Deployment Using Embedded Linux 127
ks.cfg (for Red Hat Enterprise Linux Server Version 4) and
ks-rhel5.cfg (for Red Hat Enterprise Linux Server Version 5)
Depending on the version of the Red Hat Enterprise Linux Server operating
system, the ks.cfg or ks-rhel5.cfg files are the default names of the answer files that
you use to automate an unattended Red Hat Enterprise Linux Server installation.
A sample copy of the ks.cfg/ ks-rhel5.cfg files are provided as part of the DTK
download in the /opt/dell/toolkit/template/configs directory. The ks.cfg/ks-
rhel5.cfg files contain the headings and parameters that instruct the installation
utility to perform various configuration tasks. Before a full deployment can be run,
you must edit all appropriate headings and parameters, as necessary.
NOTE: The sample file provided to install Red Hat Enterprise Linux Server (version 5) is
named ks-rhel5.cfg. To use the sample ks-rhel5.cfg file to install Red Hat Enterprise
Linux Server (version 5) using lininst.sh, ensure that you rename the file to ks.cfg.
NOTE: See your operating system documentation for instructions on modifying the
options in the ks.cfg/ks-rhel5.cfg file to customize the scripted installation of your
operating system.
When you have completed all necessary modifications of the ks.cfg/ ks-
rhel5.cfg file, save the completed file in the /opt/dell/toolkit/systems/<target
system> directory.
Install Linux Using lininst.sh
On a Linux system, edit the
/etc/exports
file. If the folder you want to share is
/home
, then
/etc/exports
file should contain the “
/home *(rw)
” line. Restart the
NFS Service on your system and copy the relevant OS images to the NFS share.
Perform the following steps to install Red Hat Enterprise Linux (32-bit) using
the lininst.sh script:
1
Create the virtual disk using
raidcfg
command.
2
Run the
partcfg.sh
script before running
lininst.sh
to create Dell Utility
partition and OS partition.
3
Create a directory under
/tmp
. for example
os_src
.
4
Mount your NFS Share to
/tmp/os_src
.
5
Copy the file
initrd.img
for RHEL 32-bit to the NFS Share.
6
Copy
vmlinuz
from RHEL 32-bit 1st CD to the NFS Share.