Rebecca, Worked like a charm! Thanks, Craig Rebecca.R.Hepper@xxxxxxxxxxx wrote: > Hi Craig, > > I mount and NFS volume during the post section. Here is a piece of my post > section. Try something like this...... > > %post > ## mount an NFS server and copy files > ## rsize & wsize make NFS connection faster than with default buffer of > 4096 > ## ro is read only > ## the ip address of the NFS server is 10.1.1.1 > ## /redhat.disks is the directory on the NFS server that I want to mount > mkdir /mnt/tmp > mount -o nolock,ro,rsize=8192,wsize=8192 10.1.1.1:/redhat.disks /mnt/tmp > > ## copy my tarred file to /usr/src > cp /mnt/tmp/kernel/usrsrclinux242.tgz /usr/src > > ## unmount the NFS server > umount /mnt/tmp > rm -fr /mnt/tmp > > ## move to /usr/src and untar the file > cd /usr/src > tar -xzvf usrsrclinux242.tgz > > Craig Martin <martinc8@xxxxxxxxxxx>@redhat.com on 10/23/2001 10:34:07 AM > > Please respond to kickstart-list@xxxxxxxxxx > > Sent by: kickstart-list-admin@xxxxxxxxxx > > To: kickstart-list@xxxxxxxxxx > cc: > > Subject: post install copying > > Hi, > > I'm trying to do a kickstart installation via NFS. I must admit, this > whole chroot thing in the %post directive has me baffled. I'm new to > this and I'm hoping for some help on what I think is a common > situation. After installing my packages, I'd like to copy some files to > the new machine and run some scripts. The files fit (just barely) on my > boot disk, but I'd like them to come from the same NFS share from which > I just installed. Once the files are copied over, I'd like to run one > Bourne Shell script and one perl script. I'm sure this is simple to > many of you. Can someone just detail how this would work (i.e. can I do > this in a chrooted environment? How do I mount the NFS share? The > floppy disk?). > > Note, the NFS install works perfectly. I don't have any issues running > the install all the way through the package installation. It's only the > %post section that's failing. My current setup (which I know is wrong) > is something like: > ----------------------------------------------------------- > %post --nochroot > mount /mnt/flopply > cp /mnt/floppy/setup.tar /tmp # ideally this should be NFS rather than > floppy > umount /mnt/floppy > > tar xvf /tmp/setup.tar > > ./setup1.sh > ./setup2.pl > ---------------------------------------------------------------- > > Thanks in advance, > > Craig > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list@xxxxxxxxxx > https://listman.redhat.com/mailman/listinfo/kickstart-list > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list@xxxxxxxxxx > https://listman.redhat.com/mailman/listinfo/kickstart-list