Quote:
Refer to the Making an Installation Boot CD-ROM section in the Red Hat Linux Installation Guide for instruction on creating a boot CD-ROM; however, before making the file.iso image file, copy the ks.cfg kickstart file to the isolinux/ directory
If you do refer to the Installation Guide, you will find this (section 1.4.2):
Quote:
mkisofs -o file.iso -b isolinux.bin -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -R -J -v -T isolinux/
From the mkisofs man page, you can find that:
Quote:
mkisofs takes a snapshot of a given directory tree, and generates a binary image which will correspond to an ISO9660 or HFS filesystem when written to a block device
What all this take us to is that the final argument to msisofs is, effectively, the path containing the files which will be written at the root level of the CD image. Thus, if ks.cfg is copied into isolinux directory before running mkisofs, it will appear at the root level of the CD.
You can check out this by yourself, mounting the CD image before burning it into a physical CD:
[tt]mkdir aDirectory[/tt]
[tt]mount -t iso9660 -o loop file.iso aDirectory/[/tt]
[tt]cd aDirectory/[/tt]
[tt]ls[/tt]
Will render:
boot.cat initrd.img ks.cfg param.msg splash.lss
boot.msg isolinux.bin memtest rescue.msg TRANS.TBL
general.msg isolinux.cfg options.msg snake.msg vmlinuz
Hope this helps.