Differences between revisions 11 and 13 (spanning 2 versions)
Revision 11 as of 2008-02-13 11:46:43
Size: 1097
Editor: ?ThomasViehmann
Comment:
Revision 13 as of 2008-05-12 20:50:30
Size: 1259
Comment: need sync with french version
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
All chroot does is, for all ["ChildProcess"]es, replace the ["root directory"] on a WikiPedia:Unix-like system with one of the operators' choosing. #language en
||<tablestyle="width: 100%;" style="border: 0px hidden">~-[:DebianWiki/EditorGuide#translation:Translation(s)]: [:chroot:English] - [:fr/Chroot:Français]-~||<style="text-align: right;border: 0px hidden"> (!) [:/Discussion:Discussion]||
----

All chroot does is, for all ["ChildProcess"]es, replace the ["root directory"] with the one specified.
Line 22: Line 26:
== Programs, commands and packages used in this page ==
 * ["dhclient"]
 * ["mount"]
 * ["sudo"]
Line 31: Line 32:
CategorySystemAdministration ToDo: [:fr/Chroot:Sync with french version]
 
CategorySystemAdministration

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

?Anchor(BuildAChroot)

Build a chroot

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

See also


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