Differences between revisions 13 and 14
Revision 13 as of 2008-05-12 20:50:30
Size: 1259
Comment: need sync with french version
Revision 14 as of 2009-01-04 15:49:22
Size: 1251
Editor: FranklinPiat
Comment: Fix link
Deletions are marked like this. Additions are marked like this.
Line 28: Line 28:
 * Debian reference has some [http://www.debian.org/doc/manuals/reference/ch-tips.en.html#s-chroot "chroot" tips].  * Debian reference has some [http://www.debian.org/doc/manuals/reference/ch-tips#s-chroot "chroot" tips].

[:DebianWiki/EditorGuide#translation:Translation(s)]: [:chroot:English] - [:fr/Chroot:Français]

(!) [:/Discussion:Discussion]

All chroot does is, for all ["ChildProcess"]es, replace the ["root directory"] with the one specified.

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/

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"].


Build a chroot

  • ["Debootstrap"] : Setting up another complete Debian install inside a chroot.

See also

ToDo: [:fr/Chroot:Sync with french version]