Michael Stiller wrote:
Mount the original RHEL4-ES iso.Copy the contents to a new "master" directory. Now copy all the packages occuring in the httpd access.log to the master/RedHat/RPMS/ directory. Edit master/.discinfo file to showdiscs 1,2,3,4 (similar to a dvd image).Maybe add ks.cfg to the image and/or edit isolinux.cfg.
There was an article in Linux Journal a while back how to do it properly. The article should be available online at www.linuxjournal.com somewhere in archives.