Size: 1156
Comment: Added link to german translation
|
Size: 1156
Comment: fixed link to german translation
|
Deletions are marked like this. | Additions are marked like this. |
Line 2: | Line 2: |
~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: [[de/Chroot|Deutsch]] - English - [[fr/Chroot|Français]] - [[it/chroot|Italiano]] -~ | ~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: [[de/chroot|Deutsch]] - English - [[fr/Chroot|Français]] - [[it/chroot|Italiano]] -~ |
Translation(s): Deutsch - English - Français - Italiano
All chroot does is, for all child processes, 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
Debian reference has some "chroot" tips.
Wikipedia Chroot