Line 25: |
Line 25: |
| export CHROOT=`pwd`/sid-root | | export CHROOT=`pwd`/sid-root |
| sudo debootstrap --arch i386 squeeze $CHROOT http://debian.lcs.mit.edu/debian | | sudo debootstrap --arch i386 squeeze $CHROOT http://debian.lcs.mit.edu/debian |
− | sudo chroot $CHROOT /bin/bash -l
| + | |
| # and some of the following: | | # and some of the following: |
| mount -t tmpfs tmpfs $CHROOT/tmp | | mount -t tmpfs tmpfs $CHROOT/tmp |
Line 31: |
Line 31: |
| mount -t devpts devpts $CHROOT/dev/pts | | mount -t devpts devpts $CHROOT/dev/pts |
| mount -t selinuxfs selinux $CHROOT/selinux | | mount -t selinuxfs selinux $CHROOT/selinux |
| + | |
| + | # and to enter the chroot |
| + | sudo chroot $CHROOT /bin/bash -l |
| | | |
| ''Reference: http://www.debian.org/doc/manuals/reference/ch-tips.en.html '' | | ''Reference: http://www.debian.org/doc/manuals/reference/ch-tips.en.html '' |
Line 40: |
Line 43: |
| /etc/init.d/approx restart | | /etc/init.d/approx restart |
| sudo debootstrap --arch i386 squeeze $CHROOT http://localhost:9999/debian | | sudo debootstrap --arch i386 squeeze $CHROOT http://localhost:9999/debian |
− |
| |
| | | |
| ==== Fedora rawhide chroot ==== | | ==== Fedora rawhide chroot ==== |