Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "JosA MarAa Alonso (nimiux)" <nimiux@g.o>
Subject: gentoo commit in xml/htdocs/proj/es/base/amd64/howtos: chroot.xml
Date: Sun, 1 Aug 2010 07:22:44 +0000 (UTC)
nimiux      10/08/01 07:22:44

  Modified:             chroot.xml
  Log:
  Updated 32bit chroot guide and link to spanish trnaslation in amd64 faq
  guide.

Revision  Changes    Path
1.3                  xml/htdocs/proj/es/base/amd64/howtos/chroot.xml

file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/proj/es/base/amd64/howtos/chroot.xml?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/proj/es/base/amd64/howtos/chroot.xml?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/proj/es/base/amd64/howtos/chroot.xml?r1=1.2&r2=1.3

Index: chroot.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/es/base/amd64/howtos/chroot.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- chroot.xml	21 Mar 2007 11:48:55 -0000	1.2
+++ chroot.xml	1 Aug 2010 07:22:43 -0000	1.3
@@ -1,19 +1,31 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE sections SYSTEM "/dtd/book.dtd">
-<!-- $Header:
-/var/cvsroot/gentoo/xml/htdocs/proj/en/base/amd64/howtos/chroot.xml,v 1.11
-2006/10/04 11:46:44 blubb Exp $ -->
+<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/es/base/amd64/howtos/chroot.xml,v 1.3 2010/08/01 07:22:43 nimiux Exp $ -->
+
 <!-- The content of this document is licensed under the CC-BY-SA license -->
 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
+<guide link="/proj/es/base/amd64/howtos/chroot.xml" lang="es" >
+<title>Cómo configurar un entorno chroot en sistemas de 32 bits</title>
 
-<sections>
+<author title="Author">
+  <mail link="metalgod@g.o">Luis Medinas</mail>
+</author>
+<author title="Traductor">
+  <mail link="nimiux"/>
+</author>
+
+<abstract>
+Este CÓMO muestra la forma de crear un entorno chroot en sistemas de 32 bits.
+</abstract>
 
-<version>1.2</version>
-<date>2006-09-16</date>
+<license/>
 
-<section>
+<version>1.1</version>
+<date>2008-12-26</date>
+
+<chapter>
 <title>Introducción</title>
-<subsection>
+<section>
 <title>Introducción a los sitemas de 64 bits</title>
 <body>
 
@@ -24,7 +36,7 @@
 
 <p>
 Como ya sabe los sistemas de 64 bits todavía no ejecutan aplicaciones
-de 32 bits nativamente (al menos no con portage) así que necesitará
+de 32 bits nativas (al menos no con portage) así que necesitará
 usar bibliotecas de emulación para hacerlas funcionar o crear un
 verdadero sistema de 32 bits en un entorno chroot para instalar y
 ejecutar aplicaciones nativas de 32 bits. Sin embargo, si quiere usar
@@ -34,23 +46,24 @@
 instalar y ejecutar aplicaciones en este entorno.
 </p>
 </body>
-</subsection>
 </section>
+</chapter>
 
-<section>
+<chapter>
 <title>Instalación</title>
-<subsection>
-<title>Instalación de un entorno chroot de 32 bits</title>
+<section>
+<title>Instalación de su entorno chroot de 32 bits</title>
 <body>
 
 <p>
 Para instalar un entorno chroot de 32 bits deberá seguir muchos de los
 pasos que sigue al instalar Gentoo Linux en un ordenador x86. De
 momento, necesitará el último stage3 disponible en nuestros <uri
-link="http://www.gentoo.org/main/en/mirrors.xml">mirrors</uri>.
+link="http://www.gentoo.org/main/en/mirrors.xml">servidores
+réplica</uri>.
 </p>
 
-<pre caption="descargar stage3 de un mirror Gentoo">
+<pre caption="descargando stage3 de un servidor réplica de Gentoo">
 $ cd /home/user/downloads
 $ wget -c ftp://distfiles.gentoo.org/releases/x86/2006.1/stages/stage3-i686-2006.1.tar.bz2
 </pre>
@@ -64,7 +77,7 @@
 construir su entorno chroot.
 </p>
 
-<pre caption="crear un directorio para el entorno chroot de 32 bits">
+<pre caption="creando un directorio para el entorno chroot de 32 bits">
 $ su root <i>introduzca su contraseña de root</i>
 # cd /mnt
 # mkdir gentoo32
@@ -75,7 +88,7 @@
 este ejemplo.
 </p>
 
-<pre caption="instalar el stage3">
+<pre caption="instalando desde el stage3">
 # cd /mnt/gentoo32
 # tar -xvjpf /home/user/downloads/stage3-i686-2006.1.tar.bz2
 # cp -L /etc/resolv.conf /mnt/gentoo32/etc/
@@ -87,14 +100,13 @@
 siguiente apartado para aprender como hacerlo.
 </p>
 </body>
-</subsection>
 </section>
+</chapter>
 
-
-<section>
+<chapter>
 <title>Configuración</title>
-<subsection>
-<title>Configurar el nuevo entorno chroot de 32 bits</title>
+<section>
+<title>Configurando el nuevo entorno chroot de 32 bits</title>
 <body>
 
 <p>
@@ -107,7 +119,7 @@
 <c>/mnt/gentoo32/etc/make.conf</c>.
 </p>
 
-<pre caption="Configurar el nuevo make.conf">
+<pre caption="Configurando el nuevo make.conf">
 CFLAGS="-O2 -march=athlon-xp -msse2 -pipe -fomit-frame-pointer"
 CHOST="i686-pc-linux-gnu"
 CXXFLAGS="${CFLAGS}"
@@ -115,10 +127,10 @@
 </pre>
 
 <p>
-Ahora monte los sistemas de archivos:
+Ahora monte los sistemas de archivos virtuales:
 </p>
 
-<pre caption="Montar los sistemas de archivos virtuales">
+<pre caption="Montando los sistemas de archivos virtuales">
 # mount -o bind /dev /mnt/gentoo32/dev
 # mount -o bind /dev/pts /mnt/gentoo32/dev/pts
 # mount -o bind /dev/shm /mnt/gentoo32/dev/shm
@@ -135,7 +147,7 @@
 en vez de duplicar un montón de datos.
 </p>
 
-<pre caption="Enlazar portage a /usr/portage dentro del entorno chroot de 32 bits">
+<pre caption="Enlazando portage a /usr/portage dentro del entorno chroot de 32 bits">
 # mkdir -p /mnt/gentoo32/usr/portage/
 # mount -o bind /usr/portage /mnt/gentoo32/usr/portage/
 </pre>
@@ -146,11 +158,11 @@
 </note>
 
 <p>
-Si quiere usar aplicaciones de 32 bits que usen las X también deberá
-montar /tmp.
+Si quiere usar aplicaciones de 32 bits que usen X también deberá montar
+/tmp.
 </p>
 
-<pre caption="Montar /tmp para aplicaciones con GUI">
+<pre caption="Montando /tmp para aplicaciones con GUI">
 # mount -o bind /tmp /mnt/gentoo32/tmp
 </pre>
 
@@ -158,9 +170,9 @@
 Ahora estamos preparados para entrar en el entorno chroot.
 </p>
 
-<pre caption="Acceder al entorno chroot">
-<i>(Sólo haga esto si no tiene setarch instalado)</i>
-# emerge setarch
+<pre caption="Accediendo al entorno chroot">
+<i>(Sólo haga esto si no tiene util-linux ya instalado)</i>
+# emerge util-linux
 # linux32 chroot /mnt/gentoo32 /bin/bash
 <i>(Asegúrese que está en un sistema i686)</i>
 # uname -m
@@ -178,7 +190,7 @@
 actualizado.  Siga los siguientes pasos para actualizarlo.
 </p>
 
-<pre caption="Actualizar el nuevo entorno chroot de 32 bits">
+<pre caption="Actualizando el nuevo entorno chroot de 32 bits">
 # source /etc/profile
 # env-update
 # emerge -au world
@@ -191,7 +203,7 @@
 chroot de 32 bits al arrancar la máquina.
 </p>
 
-<pre caption="Crear un nuevo archivo en /etc/init.d">
+<pre caption="Creando un nuevo archivo en /etc/init.d">
 # nano -w /etc/init.d/gentoo32
 #!/sbin/runscript
 
@@ -201,38 +213,38 @@
 }
 
 start() {
-    ebegin "Mounting 32bit chroot dirs"
-    mount -o bind /dev /mnt/gentoo32/dev &gt;/dev/null
-    mount -o bind /dev/pts /mnt/gentoo32/dev/pts &gt;/dev/null &amp;
-    mount -o bind /dev/shm /mnt/gentoo32/dev/shm &gt;/dev/null &amp;
-    mount -o bind /proc /mnt/gentoo32/proc &gt;/dev/null
-    mount -o bind /proc/bus/usb /mnt/gentoo32/proc/bus/usb &gt;/dev/null &amp;
-    mount -o bind /sys /mnt/gentoo32/sys &gt;/dev/null &amp;
-    mount -o bind /tmp /mnt/gentoo32/tmp &gt;/dev/null &amp;
-    mount -o bind /usr/portage /mnt/gentoo32/usr/portage/ &gt;/dev/null &amp;
-    eend $? "An error occured while attempting to mount 32bit chroot directories"
-    ebegin "Copying 32bit chroot files"
-    cp -pf /etc/resolv.conf /mnt/gentoo32/etc &gt;/dev/null &amp;
-    cp -pf /etc/passwd /mnt/gentoo32/etc &gt;/dev/null &amp;
-    cp -pf /etc/shadow /mnt/gentoo32/etc &gt;/dev/null &amp;
-    cp -pf /etc/group /mnt/gentoo32/etc &gt;/dev/null &amp;
-    cp -pf /etc/gshadow /mnt/gentoo32/etc &gt;/dev/null &amp;
-    cp -pf /etc/hosts /mnt/gentoo32/etc &gt; /dev/null &amp;
-    cp -Ppf /etc/localtime /mnt/gentoo32/etc &gt;/dev/null &amp;
-    eend $? "An error occured while attempting to copy 32 bits chroot files."
+   ebegin "Mounting 32bit chroot dirs"
+   mount -o bind /dev /mnt/gentoo32/dev >/dev/null
+   mount -o bind /dev/pts /mnt/gentoo32/dev/pts >/dev/null &amp;
+   mount -o bind /dev/shm /mnt/gentoo32/dev/shm >/dev/null &amp;
+   mount -o bind /proc /mnt/gentoo32/proc >/dev/null
+   mount -o bind /proc/bus/usb /mnt/gentoo32/proc/bus/usb >/dev/null &amp;
+   mount -o bind /sys /mnt/gentoo32/sys >/dev/null &amp;
+   mount -o bind /tmp /mnt/gentoo32/tmp >/dev/null &amp;
+   mount -o bind /usr/portage /mnt/gentoo32/usr/portage/ >/dev/null &amp;
+   eend $? "An error occured while attempting to mount 32bit chroot directories"
+   ebegin "Copying 32bit chroot files"
+   cp -pf /etc/resolv.conf /mnt/gentoo32/etc >/dev/null &amp;
+   cp -pf /etc/passwd /mnt/gentoo32/etc >/dev/null &amp;
+   cp -pf /etc/shadow /mnt/gentoo32/etc >/dev/null &amp;
+   cp -pf /etc/group /mnt/gentoo32/etc >/dev/null &amp;
+   cp -pf /etc/gshadow /mnt/gentoo32/etc >/dev/null &amp;
+   cp -pf /etc/hosts /mnt/gentoo32/etc > /dev/null &amp;
+   cp -Ppf /etc/localtime /mnt/gentoo32/etc >/dev/null &amp;
+   eend $? "An error occured while attempting to copy 32 bits chroot files."
 }
 
 stop() {
-    ebegin "Unmounting 32bit chroot dirs"
-    umount -f /mnt/gentoo32/dev/pts &gt;/dev/null
-    umount -f /mnt/gentoo32/dev/shm &gt;/dev/null
-    umount -f /mnt/gentoo32/dev &gt;/dev/null &amp;
-    umount -f /mnt/gentoo32/proc/bus/usb &gt;/dev/null
-    umount -f /mnt/gentoo32/proc &gt;/dev/null &amp;
-    umount -f /mnt/gentoo32/sys &gt;/dev/null &amp;
-    umount -f /mnt/gentoo32/tmp &gt;/dev/null &amp;
-    umount -f /mnt/gentoo32/usr/portage/ &gt;/dev/null &amp;
-    eend $? "An error occured while attempting to unmount 32bit chroot directories"
+   ebegin "Unmounting 32bit chroot dirs"
+   umount -f /mnt/gentoo32/dev/pts >/dev/null
+   umount -f /mnt/gentoo32/dev/shm >/dev/null
+   umount -f /mnt/gentoo32/dev >/dev/null &amp;
+   umount -f /mnt/gentoo32/proc/bus/usb >/dev/null
+   umount -f /mnt/gentoo32/proc >/dev/null &amp;
+   umount -f /mnt/gentoo32/sys >/dev/null &amp;
+   umount -f /mnt/gentoo32/tmp >/dev/null &amp;
+   umount -f /mnt/gentoo32/usr/portage/ >/dev/null &amp;
+   eend $? "An error occured while attempting to unmount 32bit chroot directories"
 }
 </pre>
 
@@ -243,8 +255,8 @@
 
 <p>
 Siempre que quiera cambiar a su sistema chroot, sólo necesitará
-ejecutar la siguiente orden: <c>linux32 chroot /mnt/gentoo32
-/bin/bash</c>.
+ejecutar la siguiente orden:
+<c>linux32 chroot /mnt/gentoo32 /bin/bash</c>.
 </p>
 
 <p>
@@ -252,13 +264,13 @@
 aplicaciones.
 </p>
 </body>
-</subsection>
 </section>
+</chapter>
 
-<section>
+<chapter>
 <title>Aplicaciones</title>
-<subsection>
-<title>Instalando aplicaciones en su entorno chroot</title>
+<section>
+<title>Instalando nuevas aplicaciones en su entorno chroot</title>
 <body>
 
 <p>
@@ -268,7 +280,7 @@
 de 32 bits.
 </p>
 
-<pre caption="Instalar foo en el entorno chroot">
+<pre caption="Instalando foo en el entorno chroot">
 # linux32 chroot /mnt/gentoo32 /bin/bash
 # source /etc/profile
 # env-update
@@ -298,12 +310,12 @@
 chroot de 32 bits.
 </p>
 </body>
-</subsection>
 </section>
+</chapter>
 
-<section>
+<chapter>
 <title>Conclusión</title>
-<subsection>
+<section>
 <title>Conclusión de esta guía</title>
 <body>
 
@@ -311,10 +323,11 @@
 Con este entorno chroot podrá instalar muchos paquetes que sólo están
 disponibles para la arquitectura x86. Algunos paquetes como
 <c>OpenOffice</c> pueden ser instalados mediante el binario disponible
-para Gentoo/AMD64. Para instalar el paquete <c>win32codecs</c> para
-MPlayer necesita un entorno chroot de 32 bits como éste.
+para Gentoo/AMD64. Algunos de los codificadores disponibles para
+<c>MPlayer</c> necesitan este entorno chroot de 32 bits de forma que
+pueda instalar el paquete <c>win32codecs</c>.
 </p>
 </body>
-</subsection>
 </section>
-</sections>
+</chapter>
+</guide>





Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
gentoo-x86 commit in mail-filter/zdkimfilter: zdkimfilter-0.4.ebuild
Next by thread:
gentoo-x86 commit in x11-drivers/ati-drivers: ati-drivers-10.7.ebuild ati-drivers-10.4.ebuild ChangeLog ati-drivers-10.5.ebuild ati-drivers-10.6.ebuild
Previous by date:
gentoo commit in xml/htdocs/doc/es: gentoo-amd64-faq.xml
Next by date:
gentoo commit in xml/htdocs/proj/en/perl: outdated-cpan-packages-perl-experimental.xml


Updated Jun 26, 2012

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.