Paul, i didn' t understand why you need to mount the cdrom, i think if you put the files on the "/" of the image you dont need to do that. -- ======================================== Marcos Aurelio Rodrigues (DEiGrAtiA-33) <deigratia33@xxxxxxxxx> CCNA, MCSO, Security+ Mirabilia laudo semprer, Dei ======================================== On Mon, May 5, 2008 at 5:22 PM, Paul Whitney <paul.whitney@xxxxxxx> wrote: > I have tried it and it is not working for me. Could be that I am doing > something wrong..below is a snip of my ks.cfg file. After not getting it > to work, I referred to the manuals. What am I misunderstanding from the > note? > > %post --nochroot > > mkdir -p /mnt/sysimage/root/my_extra > mkdir /tmp/iso > mount /tmp/cdrom /tmp/iso > > cp -fa /tmp/iso/Custom/logo /mnt/sysimage/root/my_extra > cp -fa /tmp/iso/Custom/errata /mnt/sysimage/root/my_extra > cp -fa /tmp/iso/Custom/post /mnt/sysimage/root/my_extra > cp -fa /tmp/iso/Custom/lockdown.sh /mnt/sysimage/root/my_extra > > This worked under RHEL 4. However, not working now at all. > > > > On Mon, 2008-05-05 at 13:33 -0600, Joshua Gimer wrote: > > You can do all of this in %post --nochroot. Where did you find that > > you cannot do this in RHEL5? > > > > I think that you are misinterpreting the installation guide: > http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/Installation_Guide-en-US/s1-kickstart2-postinstallconfig.html > > > > Just copy your data from the media to where you would like under /mnt/ > > sysimage/. > > > > Have you tried this yet, or were you strictly basing this assumption > > off of the installation guide? > > > > Joshua Gimer > > > > On May 5, 2008, at 11:12 AM, Paul Whitney wrote: > > > > > I am trying to create a custom ISO using RHEL 5. > > > > > > In RHEL 4 it was possible to mount the cdrom in the kickstart file > > > after > > > install (%post --nochroot) and copy over files to the root homedir. > > > > > > Apparently that feature is no longer available according to the RHEL 5 > > > Installation Guide. Are there any suggestions on how to get a tar > > > file, > > > background images and a script loaded onto a system using either > > > ks.cfg > > > or some other means automatically? (i.e. no user interaction) > > > > > > Thanks, > > > > > > Paul W. > > > > > > -- > > > redhat-list mailing list > > > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > > > https://www.redhat.com/mailman/listinfo/redhat-list > > > > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list > -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list