Jump to content

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

Chroot/es

From Debian wiki2025 alpha
Revision as of 16:20, 28 September 2026 by mok0>Morten Kjeldgaard (Not currently under git control)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


⚠️ 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