Jump to content

Do not begin to migrate content here, it may be wiped without notice. More info.

Chroot/de: Difference between revisions

From Debian wiki2025 alpha
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<!-- language: de -->
<!-- language: de -->
[[es:{{PAGENAME}}]]
[[es:Chroot]]
[[fr:{{PAGENAME}}]]
[[fr:Chroot]]
[[it:{{PAGENAME}}]]
[[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.}}

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.

Template:Anchor

Bauen eines chroots

  • Debootstrap  : Installation eines kompletten Debian-Systems innerhalb eines chroots.

Siehe auch