Differences between revisions 12 and 15 (spanning 3 versions)
Revision 12 as of 2008-02-13 22:00:29
Size: 967
Editor: FranklinPiat
Comment: some cleanup
Revision 15 as of 2009-03-16 03:30:05
Size: 1258
Editor: anonymous
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
All chroot does is, for all ["ChildProcess"]es, replace the ["root directory"] with the one specified. ||<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 12: Line 15:
Now in the chroot you might need to reset the ["network"] in order for the route/dns stuff to be setup. Now in the chroot you might need to reset the [[network]] in order for the route/dns stuff to be setup.
Line 17: Line 20:
This is useful for testing and configuring a system that is to be deployed, e.g.["DebianLive"]. This is useful for testing and configuring a system that is to be deployed, e.g.[[DebianLive]].
Line 19: Line 22:
[[Anchor(BuildAChroot)]] <<Anchor(BuildAChroot)>>
Line 21: Line 24:
 * ["Debootstrap"] : Setting up another complete Debian install inside a chroot.  * [[Debootstrap]] : Setting up another complete Debian install inside a chroot.
Line 25: Line 28:
 * Debian reference has some [http://www.debian.org/doc/manuals/reference/ch-tips.en.html#s-chroot "chroot" tips].
 * ["DebianInstaller"]
 * Debian reference has some [[http://www.debian.org/doc/manuals/reference/ch-tips#s-chroot|"chroot" tips]].
 * [[DebianInstaller]]
Line 29: Line 32:
CategorySystemAdministration ToDo: [[fr/Chroot|Sync with french version]]
 
CategorySystemAdministration

Translation(s): English - Français

(!) ?Discussion


All chroot does is, for all ChildProcesses, 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: Sync with french version