On Mon, 2005-01-31 at 15:33 -0800, Villalovos, John L wrote: > Does anyone know how to use Yum to create a jailroot/chroot environment? Here is my script for fc3: ---snip--- #!/bin/bash MYCHROOT=/home/bob/fc3-chroot mkdir -p $MYCHROOT/etc $MYCHROOT/dev $MYCHROOT/proc $MYCHROOT/sys cp -r yum* $MYCHROOT/etc touch $MYCHROOT/etc/fstab mknod $MYCHROOT/dev/null c 1 3 chmod 666 $MYCHROOT/dev/null mount --bind /proc $MYCHROOT/proc mount --bind /sys $MYCHROOT/sys yum -y --installroot=$MYCHROOT groupinstall "Base" umount $MYCHROOT/proc umount $MYCHROOT/sys ---snip--- Just change the MYCHROOT to whatever your dir is. Also, make sure that you have an updated version of fc3 (yum -y update). It's pretty simple and straight forward. Also, the "cp -r yum* $MYCHROOT/etc" line from above is my /etc/yum.conf, /etc/yum.repos.d/fedora.repo and /etc/yum.repos.d/fedora-updates.repo with $releasever $basearch replaced by 3 and i386 respectively. You can create this ahead of time if you want. Also, if you want a minimal install you can change "Base" to "Core". Good luck, Bob -- Bob Kashani http://www.ocf.berkeley.edu/~bobk/garnome