Chroot/de: Difference between revisions
Appearance
< Chroot
m 1 revision imported |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<!-- language: de --> | <!-- language: de --> | ||
[[es: | [[es:Chroot]] | ||
[[fr: | [[fr:Chroot]] | ||
[[it: | [[it:Chroot]] | ||
<!-- end of language versions --> | <!-- end of language versions --> | ||
{{Warning|This is a launch status check of the wiki migration, you can edit this entry to test things, but it might be deleted at any time, so save it if you want to keep your edits.}} | {{Warning|This is a launch status check of the wiki migration, you can edit this entry to test things, but it might be deleted at any time, so save it if you want to keep your edits.}} | ||
| Line 34: | Line 34: | ||
* [[:Category:System]] | * [[:Category:System]] | ||
Latest revision as of 16:38, 28 September 2026
⚠️ This is a launch status check of the wiki migration, you can edit this entry to test things, but it might be deleted at any time, so save it if you want to keep your edits.
chroot ersetzt für alle Kind-Prozesse das Standard-Root-Verzeichnis durch das angegebene.
Ein Netzwerk innerhalb des chroot /tmp/custom/debian-live/chroot/ konfigurieren
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/
Innerhalb des chroot muss das Netzwerk wahrscheinlich zurückgesetzt werden, damit die Routen und das DNS gesetzt werden.
dhclient eth0
Dies ist nützlich zum Testen und Konfigurieren eines zu deployenden Systems, z.B. DebianLive.
Bauen eines chroots
- Debootstrap : Installation eines kompletten Debian-Systems innerhalb eines chroots.
Siehe auch
- In der Debian-Referenz finden sich einige "chroot" Tipps.
- DebianInstaller
- Wikipedia WikiPedia:Chroot