User's Manual

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/ks-rhel6.cfg file to customize the scripted installation of your operating system.
When you have completed all necessary modifications of the ks.cfg/ksrhel5. cfg/ks-rhel6.cfg file, save the completed file
in the /opt/dell/toolkit/systems/<target system> directory.
Installing Linux Using lininst.sh
NOTE: See your operating system documentation for instructions on modifying the options in the ks.cfg/ks-
rhel5.cfg/ ks-rhel6.cfg file to customize the scripted installation of your operating system.
Perform the following steps to install Red Hat Enterprise Linux using the lininst.sh script:
1. On the source system, navigate to the location of the required Red Hat Enterprise Linux operating system image.
2. Create NFS share using the following command: vi /etc/exports.
3. Share /home/rhelshare.
NOTE: If the folder you want to share is /home, then the /etc/exports file must contain the “/home *(rw)” line.
4. Restart the NFS service.
5. Copy the operating system image to the NFS share.
6. Copy initrd.img for Red Hat Enterprise Linux to NFS share.
7. Copy vmlinuz from Red Hat Enterprise Linux opearting system image to NFS share.
8. Boot DTK on the target machine.
9. Create the virtual disk using the raidcfg command.
10. Run the partcfg.sh (located at /opt/dell/toolkit/template/scripts/) script to create the Dell utility partition and OS
partition.
Ensure that the correct partition is set to DT_HD.
11. Create a directory under /tmp. For example, os_src.
12. Mount the NFS Share to /tmp/os_src.
13. Copy ks.cfg file from /opt/dell/toolkit/template/configs to NFS share on the source machine.
14. Edit ks.cfg on the source system. Set the NFS IP Address where Red Hat Enterprise Linux images are available and
the NFS share path.
15. Export the environment variables as follows:
a) Run export DT_OS_DISK=/dev/sda, the disk device on which the Dell utility partition was created.
b) Run export DT_OS_SRC=/tmp/os_src, where vmlinuz, initrd.img, and ks.cfg are available.
c) Run export DT_HD=/dev/sda.
16. From /opt/dell/toolkit/template/scripts, run /lininst.sh script.
17. The server reboots to the grub prompt. The Red Hat Enterprise Linux operating system unattended installation
proceeds.
For more information on installing, see en.community.dell.com/techcenter/systems-management/w/wiki/1772.dell-
openmanage-deployment-toolkit.aspx.
52