[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:slackware_admin:installing_on_uefi_hardware [2019/02/05 20:13 (UTC)] – [Installing Slackware on UEFI-based hardware] pedro.herreroes:howtos:slackware_admin:installing_on_uefi_hardware [2019/02/05 20:40 (UTC)] (actual) – Finished. Comments and corrections welcome pedro.herrero
Línea 1: Línea 1:
 <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). -->
-<note important>Translation in progress (pedro.herrero)</note> 
  
 ====== Instalando Slackware en hardware basado en UEFI ====== ====== Instalando Slackware en hardware basado en UEFI ======
Línea 8: Línea 7:
  
  
-====== Installing Older Slackware on UEFI-based hardware ======+====== Instalación de Slackware antiguo en hardware basado en UEFI ======
  
-Some modern computers have started to offer motherboards that use Unified Extensible Firmware Interface (UEFI) as a replacement for the traditional BIOS. Slackware is perfectly capable or running on such machinesalbeit with the provisos that before Slackware 14.1 the official install media could not be booted via UEFI directly and no UEFI bootloader was provided as part of the official selection of packages+Algunos ordenadores modernos han empezado a ofrecer placas base que utilizan la Interfaz de Firmware Extensible Unificada (UEFI) como sustituto de la BIOS tradicional. Slackware es perfectamente capaz de funcionar en tales máquinasaunque con la condición de que antes de Slackware 14.1 el dispositivo de instalación oficial no se podía arrancar directamente a través de UEFI no se proporcionó ningún gestor de arranque UEFI como parte de la selección oficial de paquetes
  
-If you do wish to install Slackware on a UEFI based machine it is **//strongly//** recommended that you use Slackware64 14.1 or abovethus allowing you to simply boot the official install media.+Si desea instalar Slackware en una máquina basada en UEFI, se recomienda que utilice Slackware64 14.1 o superiorlo que le permitirá arrancar el dispositivo de instalación oficial.
  
-If you have a requirement for Slackware 14.0, you will need to follow one of our approaches:+Si usted tiene un requisito para Slackware 14.0, tendrá que seguir uno de nuestros enfoques
  
-  * Enabling legacy BIOS support +  * Habilitación del soporte de BIOS heredado 
-  * Creating your own install media and booting from this +  * Creación de su propio medio de instalación y arranque desde éste 
-  * Using another distro's install media to bootstrap the Slackware installation (this includes using modern Slackware 14.1 or above media to install Slackware 14.0)+  * Utilizar el dispositivo de instalación de otra distribución para arrancar la instalación de Slackware (esto incluye el uso de un dispositivo moderno Slackware 14.1 o superior para instalar Slackware 14.0).
  
-(**Note:** These last two methods are //unsupported//! +(**Nota:** ¡Estos dos últimos métodos no están //soportados//! ) 
-===== Legacy BIOS support =====+===== Compatibilidad con BIOS heredados =====
  
-The majority of new UEFI-based machines have options to simulate a traditional BIOS. This is often referred to Legacy BIOS supportIf your machine supports this it should be your first choiceas once enabled you can continue to install Slackware as you have always doneusing the official install media and setup instructionsHow you enable this mode varies from manufacturer to manufacturerRefer to your vendor's documentation on how to enable this mode.+La mayoría de los nuevos equipos basados en UEFI tienen opciones para simular un BIOS tradicionalEsto se refiere a menudo al soporte de BIOS LegacySi su equipo es compatible con estodebería ser su primera elección, ya que una vez habilitado puede seguir instalando Slackware como siempre lo ha hechoutilizando los medios de instalación oficiales y las instrucciones de instalaciónLa forma de activar este modo varía de un fabricante a otroConsulte la documentación de su proveedor para saber cómo activar este modo.
  
-===== Creating your own install media for older Slackware releases =====+===== Creación de sus propios medios de instalación para versiones anteriores de Slackware =====
  
-The easiest way to make your own Slackware UEFI-capable install media is to create a USB boot diskTo do so you may need to use a second machineAlternatively you can use the target machine directly if it has another OS installed that provides a GPT (GUID Partition Tablecapable partitioning tool or you have UEFI-capable Live media (CD, DVD, USB, etc.) provided by another Linux distrowhich includes such a utilitySuitable partitioning tools include GPT fdisk (a.k.a gdisk) and GNU parted, both of which are provided by recent versions of Slackware.+La forma más fácil de crear su propio medio de instalación compatible con Slackware UEFI es crear un disco de arranque USB. Para ello, es posible que tenga que utilizar una segunda máquinaAlternativamente, puede utilizar el equipo de destino directamente si tiene otro sistema operativo instalado que proporcione una herramienta de particionado capaz de GPT (tabla de particiones GUID) o si tiene un medio Live compatible con UEFI (CD, DVD, USB, etc.) proporcionado por otra distribución Linux, que incluya dicha utilidadLas herramientas de partición adecuadas incluyen GPT fdisk (también conocido como gdisk) GNU parted, ambas proporcionadas por las últimas versiones de Slackware.
  
-The USB disk you are going to use as install media will need to be partitioned with a GPT scheme. It will need to have a UEFI System Partition as a bare minimum. This system partition is used by UEFI to hold a UEFI-capable bootloader(s) and configuration file(s), along with one or more kernels. The system partition must use a FAT32 filesystem (or it can be HFS+ if your machine is using Apple-based hardware) and must be big enough to hold the Slackware install media's huge kernel, initrd and a boot loader. It is therefore recommended that you make the partition at least 50Mb in size (slightly less could be used but 50Mb gives you a little extra free space to work with). Of course more space will allow for a greater range of options (e.g. including additional kernels or alternative bootloaders). The system partition must be marked as such via the partitioning tool. If you use GPT fdisk this is done by using the partition type code EF00. If you are using Slackware to create this partition, formatting can be done via the mkdosfs utility. 
  
-Once the system partition has been created add a ./EFI/BOOT/ directory structure to this partitioninto which you place an EFI-capable bootloaderwhich should be named BOOTX64.EFI if your PC is x86_64 capableThis exact naming (./EFI/BOOT/BOOTX64.EFI) is not an absolute requirementYou can use a different directory structure and name for your bootloaderhowever conforming to this suggestion will simplify things for you as UEFI systems consider bootloader named in this way to be the default.+El disco USB que va utilizar como medio de instalación deberá particionarse con un esquema GPTNecesitará tener una partición del sistema UEFI como mínimo. Esta partición del sistema es utilizada por UEFI para contener un cargador de arranque y archivos de configuración compatibles con UEFIjunto con uno o más núcleos. La partición del sistema debe usar un sistema de archivos FAT32 (o puede ser HFS+ si su máquina está usando hardware basado en Apple) y debe ser lo suficientemente grande como para contener el enorme núcleoinitrd y un gestor de arranque del medio de instalación de SlackwarePor lo tanto, se recomienda que haga la partición de al menos 50Mb de tamaño (se puede usar un poco menos, pero 50Mb le da un poco más de espacio libre para trabajar)Por supuesto, más espacio permitirá una mayor gama de opciones (por ejemplo, incluyendo núcleos adicionales o cargadores de arranque alternativos)La partición del sistema debe estar marcada como tal mediante la herramienta de particionadoSi utiliza GPT fdisk esto se hace utilizando el código de tipo de partición EF00Si está usando Slackware para crear esta particiónel formateo puede hacerse través de la utilidad mkdosfs.
  
-Whilst you can use any EFI-capable bootloaderit is recommend that you use EliloElilo is very simple to use and configure, it is reliable and works in a similar manor to Lilo. As such it should feel familiar to most Slackware users, given that Lilo is Slackware's default bootloader. Elilo does not need to be compiled as the binaries provided by the upstream project should work directly. For example, if you plan to install Slackware64, download [[http://downloads.sourceforge.net/project/elilo/elilo/elilo-3.14/elilo-3.14-all.tar.gz|elilo-3.14-all.tar.gz]]extract elilo-3.14-x86_64.efi and place it on your system partition as ./EFI/BOOT/BOOTX64.EFI.+Una vez creada la partición del sistemaañada una estructura de directorios./EFI/BOOTa esta particiónen la que colocará un gestor de arranque compatible con EFI, que debería llamarse BOOTX64.EFI si su PC es compatible con x86_64. Este nombre exacto (./EFI/BOOT/BOOTX64.EFI) no es un requisito absoluto. Puede utilizar una estructura de directorios y un nombre diferente para su cargador de arranque, sin embargo, si se ajusta a esta sugerencia, simplificará las cosas, ya que los sistemas UEFI consideran que un cargador de arranque llamado de esta manera es el predeterminado.
  
-Into the same directory on your system partition (./EFI/BOOT) copy over the following two files from the official install media: kernels/huge.s/bzImage and isolinux/initrd.img (just the filesnot their directory structures). Plus create an elilo.conf, that looks like this:+Aunque puede utilizar cualquier gestor de arranque compatible con EFI, le recomendamos que utilice Elilo. Elilo es muy sencillo de usar y configurar, es fiable y funciona de forma similar a Lilo. Como tal, debería resultarle familiar a la mayoría de los usuarios de Slackware, dado que Lilo es el gestor de arranque por defecto de Slackware. Elilo no necesita ser compilado ya que los binarios proporcionados por el proyecto anterior deberían funcionar directamente. Por ejemplo, si planea instalar Slackware64, descargue [[http://downloads.sourceforge.net/project/elilo/elilo/elilo-3.14/elilo-3.14-all.tar.gz|elilo-3.14-all.tar.gz]], extraiga elilo-3.14-x86_64.efi y colóquelo en la partición de su sistema como ./EFI/BOOT/BOOT/BOOTX64.EFI. 
 + 
 +En el mismo directorio de la partición de su sistema (./EFI/BOOT) copie los siguientes dos archivos del medio de instalación oficial: kernels/huge.s/bzImage isolinux/initrd.img (sólo los archivosno sus estructuras de directorios). Además, cree un elilo.conf, que tenga este aspecto:
  
 <code> <code>
Línea 48: Línea 48:
 </code> </code>
  
-You should now have a USB disk that you can boot fromthough you may need to configure your UEFI to consider this the first boot disk (refer to your manufacturer's documentation on how to do thisor use the EFI Shell to specify this disk and/or bootloader.+Ahora debería tener un disco USB desde el que pueda arrancaraunque puede que tenga que configurar su UEFI para que sea el primer disco de arranque (consulte la documentación de su fabricante sobre cómo hacerloo utilice la shell de EFI para especificar este disco y/o cargador de arranque.
  
-In addition to the system partition you may wish to have a second partition that holds the rest of the Slackware installation filesThis can be formatted with any filesystem supported by the the huge.s kernelThis partition can be mounted after you have booted from your install media and used as a source of packages during installationAlternatively you can insert an official Slackware CD or DVD once setup is up and runningor perform a network installation.+Además de la partición del sistema, es posible que desee tener una segunda partición que contenga el resto de los archivos de instalación de Slackware. Esta puede ser formateada con cualquier sistema de ficheros soportado por el enorme kernel.s. Esta partición puede montarse después de haber arrancado desde el dispositivo de instalación y utilizarse como fuente de paquetes durante la instalaciónTambién puede insertar un CD DVD oficial de Slackware una vez que la instalación esté lista y funcionandoo realizar una instalación de red.
  
-===== Bootstrap the Slackware installation environment via another distro's install media ===== 
  
-Making your own boot media is almost always preferable but if this does not suit you for some reason, you can often use the UEFI-capable install media from another distroThe steps are as follows:+===== Iniciar el entorno de instalación de Slackware a través del medio de instalación de otra distribución=====
  
-  * Boot the other distro's install media +La creación de su propio dispositivo de arranque es casi siempre preferible, pero si esto no le conviene por alguna razón, a menudo puede utilizar el dispositivo de instalación compatible con UEFI desde otra distribuciónLos pasos son los siguientes:
-  * Switch to a virtual terminal +
-  * Bring up the network if a connection is not already configured +
-  * Use wget or curl to fetch the initrd.img from the isolinux subdirectory of the Slackware version you wish to installusing nearby mirror +
-  * Unpack initrd.img (using zcat and cpio) into a newly created directory (e.g. /Slackware) +
-  * Chroot into that directory (after first using mount to bind /dev, /sys and /proc from the host system and copying over /etc/resolv.conf) +
-  * Setup the $PATH and other variables needed to run the installer (by sourcing the chooted Slackware profile, i.e. "/etc/profile")+
  
-**Note:** If you use Slackware64 14.1 install mediayou could opt to do a network install and select the mirror for an earlier releaseBe aware however that this remains //unsupported//!+  Arrancar el dispositivo de instalación de la otra distribución 
 +  Cambiar a una terminal virtual 
 +  Abra la red si aún no se ha configurado una conexión. 
 +  Utilice wget o curl para obtener el initrd.img del subdirectorio isolinux de la versión de Slackware que desea instalarutilizando un mirror cercano. 
 +  * Descomprima initrd.img (usando zcat y cpio) en un directorio recién creado (por ejemplo, /Slackware). 
 +  * Haga chroot en ese directorio (después de usar primero mount para enlazar /dev, /sys y /proc desde el sistema host y copiar sobre /etc/resolv.conf) 
 +  * Configure el $PATH y otras variables necesarias para ejecutar el instalador (obteniendo el perfil elegido de Slackware, es decir, ". /etc/profile").
  
-====== Tips on install when not using BIOS legacy mode ======+**Nota:** Si utiliza medios de instalación de Slackware64 14.1, puede optar por realizar una instalación de red y seleccionar la réplica para una versión anterior. Tenga en cuenta, sin embargo, que esto permanece // sin soporte//!
  
-Once you have the Slackware installation environment up and runningremember to use a GUID Partition Table rather than MBR Partitioning and include a suitable system partition on the primary local hard diskDuring the setup phase you should skip Lilo configurationsince you will not be using itInstead configure your EFI-capable bootloader after setup has finished and before your first rebootTo do this mount the local system partition and setup your boot environment by adding an EFI-capable bootloaderkernel and any configuration filesIf you used the above instructions for creating your own install mediasimply copy over the files from your boot media to your local system partitionthen adjust the local elilo.conf as follows (this assumes you placed Slackware's root partition on /dev/sda2):+====== Consejos para la instalación cuando no se utiliza el modo BIOS legacy ====== 
 + 
 +Una vez que tenga el entorno de instalación de Slackware funcionandorecuerde utilizar una tabla de particiones GUID en lugar de particiones MBR e incluya una partición de sistema adecuada en el disco duro local principalDurante la fase de configuración debe omitir la configuración de Lilo, ya que no la utilizaráEn su lugar, configure su gestor de arranque compatible con EFI una vez finalizada la configuración y antes de reiniciar por primera vezPara ello, monte la partición local del sistema y configure su entorno de arranque añadiendo un gestor de arranque compatible con EFI, un núcleo y cualquier archivo de configuraciónSi utilizó las instrucciones anteriores para crear su propio medio de instalaciónsimplemente copie los archivos desde su medio de arranque a la partición local del sistemay luego ajuste el elilo.conf local de la siguiente manera (esto asume que colocó la partición raíz de Slackware en /dev/sda2):
  
 <code> <code>
Línea 81: Línea 82:
 </code> </code>
  
-After umounting and removing the install media you should now be able to reboot into your new Slackware install (you may need to change the boot order in your UEFI again if you adjusted it previously). +Después de desmontar y quitar el dispositivo de instalación, ahora debería poder reiniciar en su nueva instalación de Slackware (puede que necesite cambiar el orden de arranque en su UEFI de nuevo si lo ajustó previamente).  
 + 
 +Finalmente, después de arrancar en Slackware, recuerde configurar un initrd para el kernel genérico y copiar ambos en la partición local del sistema. Un ajuste adicional a elilo.conf para tener en cuenta esto podría ser algo así como lo siguiente (asumiendo un kernel 3.2.29):
  
-Finally, after booting into Slackware remember to configure an initrd for the generic kernel and copy both over to the local system partition. A further adjustment to the elilo.conf to account for this could look something like the following (assuming a 3.2.29 kernel): 
  
 <code> <code>
Línea 102: Línea 104:
 </code> </code>
  
-====== 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:ruario | ruario]] +  * Escrito originalmente por [[wiki:user:ruario | ruario]] 
-  * Further UEFI Linux booting options: [[http://www.rodsbooks.com/efi-bootloaders/]]+  * Opciones de arranque de Linux mediante UEFI adicionales: [[http://www.rodsbooks.com/efi-bootloaders/]] 
 +  * Traducido por  --- //[[wiki:user:pedro.herrero|Pedro Herrero García]] 2019/02/05 20:32 (UTC)// 
 <!-- * Contributions by [[wiki:user:yyy | User Y]] --> <!-- * Contributions by [[wiki:user:yyy | User Y]] -->
 <!-- Please do not modify anything below, except adding new tags.--> <!-- Please do not modify anything below, except adding new tags.-->
 <!-- You must remove the tag-word "template" below before saving your new page --> <!-- You must remove the tag-word "template" below before saving your new page -->
 {{tag>howtos uefi efi boot install hardware author_ruario}} {{tag>howtos uefi efi boot install hardware author_ruario}}
 es:howtos:slackware_admin:installing_on_uefi_hardware ()