User's Manual
Running Deployment Scripts Using DTK and Embedded Linux 131
4
Copy your custom scripts into the folder you created in step 3.
(See "Installation for Embedded Linux" for an example of the
folder structure.)
NOTE: Your scripts should also take care of copying miscellaneous items to
unlock the CD, so that the CD can be mounted and ejected as required by the
operating system’s installation process.
5
In
/mnt/cdrom/isolinux.cfg
, edit the
cd install
section to point to your
customized start-up script. In other words, add the
share_script
option; for example:
label 1
kernel SA.1
append initrd=SA.2 ramdisk_size=55321
Stage3_type=cdrom DEBUG=0 quiet share_type=cdrom
share_script=dracupdate.sh
Then, use
mkisofs
to make your customized CD image; for example:
mkisofs -o usaf.iso -b isolinux/isolinux.bin -c
isolinux/boot.cat -no-emul-boot -boot-load-size 4
-iso-level 2 -relaxed-filenames -r -J -pad -boot-
info-table /root/usaf/
NOTE: It is important to use mkisofs to make your customized image
because the ISO Linux recognizes only the isolinux.cfg (and all files within
/isolinux). If you do not use mkisofs, DTK’s openipmi and HAPI libraries
will not load and most of the Dell Update Packages will not work.
NOTE: The scripts that you copy into the CD will be copied to the RAM disk
and run from the RAM disk. This task is done to ensure the CD is not locked.
Ensure that your sample scripts have valid path names.
6
Copy the directory structure created on your work station into the root
folder that you created in step 3. This folder contains the DTK CD,
files necessary for operating system installation, and files required for
replication.
7
Burn the contents of the folder you created in step 3 to a CD. (Use the
isolinux
utility to make the CD bootable.)
8
Your ISO image is ready for booting.