Jump to content

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

Chroot/es: Difference between revisions

From Debian wiki2025 alpha
m 1 revision imported
No edit summary
 
Line 1: Line 1:
<!-- language: es -->
<!-- language: es -->
[[de:{{PAGENAME}}]]
[[de: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.}}
Line 35: Line 35:
[[ToDo]]: [[fr/Chroot|Sync with french version]]
[[ToDo]]: [[fr/Chroot|Sync with french version]]
* [[:Category:System]]
* [[:Category:System]]

Latest revision as of 16:39, 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.


Todo lo que chroot hace es, para todos los procesos hijo, reemplazar el directorio raíz con uno especificado.

Levantando una red dentro de un chroot /tmp/custom/debian-live/chroot/

# mount -o bind /sys /tmp/personalizado/debian-live/chroot/sys
# mount -o bind /proc /tmp/personalizado/debian-live/chroot/proc
# chroot /tmp/personalizado/debian-live/chroot/

Ahora dentro de chroot usted podría necesitar reestablecer la red para que cosas como route/dns puedan configurarse.

# dhclient eth0

Esto es útil para probar y configurar un sistema que está para ser distribuido, p.e.DebianLive.

Template:Anchor

Construir chroot

  • Debootstrap  : Crear otro sistema Debian por completo dentro de un chroot.

Ver También


ToDo: Sync with french version