[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Diferencias

Muestra las diferencias entre dos versiones de la página.

Enlace a la vista de comparación

Ambos lados, revisión anteriorRevisión previa
Próxima revisión
Revisión previa
es:howtos:general_admin:setting_up_a_slackware_chroot [2019/02/09 23:23 (UTC)] pedro.herreroes:howtos:general_admin:setting_up_a_slackware_chroot [2019/02/09 23:50 (UTC)] (actual) pedro.herrero
Línea 1: Línea 1:
-<note important>Translation in progress.... heve fun while you wait (pedro.herrero)</note>+==== Configurando un chroot de Slackware ====
  
 +Hay múltiples razones por las que puede ser que desee configurar un chroot de Slackware:
 +  * Creación de paquetes de 32 bits en un sistema multilib de 64 bits
 +  * construcción de paquetes -stable en un sistema -current
 +  * construir (y probar) paquetes para SBo en un sistema limpio
  
-==== Setting up a Slackware chroot ====+Para esta guía, crearemos un chroot en **/chroot_folder** desde **slackware-14.1-install-dvd.iso**.
  
-There are multiple reasons why you might want to set up a Slackware chroot: +=== Obtención de una instalación Slackware de la arquitectura deseada ===
-  * building 32-bit packages on a 64-bit multilib system +
-  * building -stable packages on a -current system +
-  * building (and testing) packages for SBo on a clean system+
  
-For this guide, we'll create a chroot at **/chroot_folder** from **slackware-14.1-install-dvd.iso**.+Comience con un DVD de instalación de Slackware. Descárguelo desde http://www.slackware.com/getslack/ a través de torrent.
  
-=== Obtaining a Slackware installation of your desired architecture ===+=== Instalación de los paquetes ===
  
-Start with a Slackware installation DVD. Download it from from http://www.slackware.com/getslack/ via torrent.+== Automáticamente ==
  
-=== Installing the packages ===+Puedes crear tu chroot e instalar Slackware en él usando el siguiente y elegante script: [[http://dawoodfall.net/files/scripts/bash/mkchroot]]
  
-== Automatically ==+== Manualmente ==
  
-You can create your chroot and install Slackware into it using the following elegant script: [[http://dawoodfall.net/files/scripts/bash/mkchroot]] +Primerocree una carpeta que contenga el chroot:
- +
-== Manually == +
- +
-Firstcreate a folder which will contain the chroot:+
  
 <code bash>mkdir /chroot_folder</code> <code bash>mkdir /chroot_folder</code>
  
-Mount the installation ISO:+Montar la instalación ISO:
  
 <code bash> <code bash>
Línea 34: Línea 31:
 </code> </code>
  
-After the ISO has been mountedthe packages (found under the //slackware// or //slackware64// foldercan be installed to the chroot folder with:+Una vez montada la ISO, los paquetes (que se encuentran bajo la carpeta //slackware// //slackware64///se pueden instalar en la carpeta chroot con:
  
 <code bash> <code bash>
Línea 40: Línea 37:
 </code> </code>
  
-Then unmount the ISO:+A continuación, desmonte el ISO:
  
 <code bash> <code bash>
Línea 46: Línea 43:
 </code> </code>
  
-=== Mounting the Chroot ===+=== Montaje del Chroot ===
  
-To have the chroot mounted permanentlyadd the following to your fstab:+Para tener el chroot montado permanentementeagregue lo siguiente a su fstab:
  
 <file> <file>
Línea 57: Línea 54:
 </file> </file>
  
-If you don't want to reboot at this pointthen you can mount the chroot manually:+Si no desea reiniciar en este puntopuede montar el chroot manualmente:
  
 <code bash> <code bash>
Línea 63: Línea 60:
 </code> </code>
  
-Alsorefer to: ([[howtos:slackware_admin:how_to_chroot_from_media#volume_mounting]]).+Tambiénrefiérase a: ([[howtos:slackware_admin:how_to_chroot_from_media#volume_mounting]]).
  
-=== Chrooting into the Chroot ===+=== Haciendo Chroot en el Chroot ===
  
-Now that the chroot is set upyou can chroot into it:+Ahora que el chroot está configuradopuedes hacer chroot en él:
  
 <code bash>chroot /chroot_folder /bin/bash</code> <code bash>chroot /chroot_folder /bin/bash</code>
  
-=== Updating packages ===+=== Actualización de paquetes ===
  
-After thatyou can run slackpkg and update the packages: ([[slackware:beginners_guide#configure_a_package_manager]]).+Después de esopuede ejecutar slackpkg y actualizar los paquetes: ([[slackware:beginners_guide#configure_a_package_manager]]).
  
-=== Exiting ===+=== Salir ===
  
-When you're doneexited the chroot by pressing //Ctrl+d//.+Cuando haya terminadosalga del chroot pulsando //Ctrl+d//.
  
-=== One UseBuilding 32-bit Packages ===+=== Un solo usoConstrucción de paquetes de 32 bits ===
  
-== Mounting partitions ==+== Particiones de montaje ==
  
-I use a chroot to build 32-bit packages on a 64-bit systemI needed to mount the partition which contained the SlackBuilds for which I wanted to make a package, As my Slackware host mount point is (in this exampleat /slackware_host_mount_point, I used the command:+Uso un chroot para construir paquetes de 32 bits en un sistema de 64 bitsNecesitaba montar la partición que contenía los SlackBuilds para los que quería hacer un paquete. Como mi punto de montaje de host Slackware está (en este ejemploen /slackware_host_mount_point, usé el comando:
  
 <code bash>mount -B /slackware_host_mount_point /chroot_folder <code bash>mount -B /slackware_host_mount_point /chroot_folder
Línea 90: Línea 87:
 (http://www.thegeekstuff.com/2013/01/mount-umount-examples/) (http://www.thegeekstuff.com/2013/01/mount-umount-examples/)
  
-Then I built the package by executing the Slackbuild as follows:+Luego construí el paquete ejecutando el Slackbuild de la siguiente manera:
  
 <code bash> <code bash>
Línea 99: Línea 96:
 http://www.linuxquestions.org/questions/slackware-installation-40/install-slackware-to-a-folder-using-chroot-825598/#post4093831 http://www.linuxquestions.org/questions/slackware-installation-40/install-slackware-to-a-folder-using-chroot-825598/#post4093831
  
-== Notes ==+== Notas ==
  
-Wrote a small script to automate these steps.+Escribí un pequeño guión para automatizar estos pasos.
  
 https://raw.githubusercontent.com/aadityabagga/scripts/master/chroot.sh https://raw.githubusercontent.com/aadityabagga/scripts/master/chroot.sh
  
-====== Sources ======+====== Fuentes ======
 <!-- If you are copying information from another source, then specify that source --> <!-- If you are copying information from another source, then specify that source -->
 <!-- * Original source: [[http://some.website.org/some/page.html]] --> <!-- * Original source: [[http://some.website.org/some/page.html]] -->
 <!-- Authors are allowed to give credit to themselves! --> <!-- Authors are allowed to give credit to themselves! -->
-Originally written by [[wiki:user:aaditya | Aaditya]]+  Escrito originalmente por [[wiki:user:aaditya | Aaditya]] 
 + 
 +  * Traducido por  --- //[[wiki:user:pedro.herrero|Pedro Herrero García]] 2019/02/09 23:47 (UTC)//
 <!-- * Contributions by [[wiki:user:yyy | User Y]] --> <!-- * Contributions by [[wiki:user:yyy | User Y]] -->
  
 es:howtos:general_admin:setting_up_a_slackware_chroot ()