All chroot does is, for all child processes, replace the root directory on a unix system with one of the operators' choosing.

Setting up a network inside a chroot /tmp/custom/debian-live/chroot/

sudo mount -o bind /sys /tmp/custom/debian-live/chroot/sys
sudo mount -o bind /proc /tmp/custom/debian-live/chroot/proc
sudo chroot /tmp/custom/debian-live/chroot/

Ok, now in the chroot you might need to reset the network in order for the route/dns stuff to be setup.

dhclient eth0

This is useful for testing and configuring a system that is to be deployed, e.g.["DebianLive"].

Other stuff

Refer to ["Debootstrap"] for information on setting up another complete Debian install inside a chroot.

See Also: