| |
es:howtos:slackware_admin:installing_with_gpt_without_uefi [2019/02/03 21:02 (UTC)] – creado slackwarespanol | es:howtos:slackware_admin:installing_with_gpt_without_uefi [2019/02/05 22:13 (UTC)] (actual) – ak3.devel |
---|
====== Installing Slackware Using GPT with a BIOS motherboard ====== | ====== Instalación de Slackware usando GPT con una placa base de BIOS ====== |
| |
It is possible to install Slackware to a disk that uses a GUID Partition Table (GPT), even on a machine that uses BIOS (i.e. you do not need a UEFI-based machine). Using GPT allows you to install Slackware onto very large disk drives (the theoretical maximum addressable disk size is 2 ZiB). As always, partitioning should be done prior to starting the 'setup' script, however you must use a GPT aware partitioning tool, e.g. gdisk, cgdisk or parted (all of which are included with Slackware). The main sections below explain how to setup various popular boot loaders. | Es posible instalar Slackware en un disco que usa una tabla de partición GUID (GPT), incluso en una máquina que usa BIOS (es decir, no necesita una máquina basada en UEFI). El uso de GPT le permite instalar Slackware en unidades de disco muy grandes (el tamaño máximo de disco direccionable teórico es 2 ZiB). Como siempre, la partición debe realizarse antes de iniciar el script de "configuración", sin embargo, debe usar una herramienta de partición que tenga en cuenta GPT, por ejemplo. gdisk, cgdisk o parted (todos los cuales están incluidos con Slackware). Las secciones principales a continuación explican cómo configurar varios cargadores de arranque populares. |
| |
==== LILO ==== | ==== LILO ==== |
| |
LILO should be configured by the installer and just work. However some people have reported issues with liloconfig not detecting GPT partitions. If you encounter this issue skip automatic LILO configuration. Then after installation is complete, [[#Accessing the Slackware install, prior to bootloader installation|enter your local Slackware install]]. From here, customize /etc/lilo.conf_example and save it as /etc/lilo.conf. You will need to set LILO to install to the protective MBR of your primary disk and add entries for your chosen kernel(s), in addition to any other changes you see fit. Once you have done this, issue the 'lilo' command. | LILO debe ser configurado por el instalador y simplemente trabajar. Sin embargo, algunas personas han reportado problemas con liloconfig que no detecta particiones GPT. Si encuentra este problema, omita la configuración automática de LILO. Luego, una vez completada la instalación, [[#Acceso a la instalación de Slackware, antes de la instalación del cargador de arranque | ingrese su instalación local de Slackware]]. Desde aquí, personalice /etc/lilo.conf_example y guárdelo como /etc/lilo.conf. Deberá configurar LILO para que se instale en el MBR protector de su disco primario y agregar entradas para el/los núcleo (s) elegido (s), además de cualquier otro cambio que considere oportuno. Una vez que haya hecho esto, ejecute el comando 'lilo'. |
| |
<note warning>Whilst LILO works well with any file system format that is compatible with the FIBMAP ioctl (required to map files to block numbers), you are likely to have issues when /boot is located on XFS, Btrfs or Nilfs2. You can avoid this by making an ext2 /boot partition or using a different bootloader.</note> | <note warning>Si bien LILO funciona bien con cualquier formato de sistema de archivos que sea compatible con FIBMAP ioctl (requerido para asignar archivos a números bloqueados), es probable que tenga problemas cuando /boot esté ubicado en XFS, Btrfs o Nilfs2. Puedes evitar esto haciendo una partición ext2 /boot o usando un cargador de arranque diferente.</note> |
| |
==== Grub 2 ==== | ==== Grub 2 ==== |
| |
If you want to use Grub 2, make sure you have a 'BIOS boot partition' (partition type EF02 in gdisk or cgdisk). This can be anywhere on disk though putting it at the start seems sensible. It is recommended that it be at least 1MiB. Skip the bootloader (LILO) section during install. After installation is complete, [[#Accessing the Slackware install, prior to bootloader installation|enter your local Slackware install]]. Finally, issue the following to actually install Grub 2 as your bootloader: | Si desea usar Grub 2, asegúrese de tener una 'partición de arranque BIOS' (partición tipo EF02 en gdisk o cgdisk). Esto puede estar en cualquier parte del disco, aunque ponerlo al principio parece sensato. Se recomienda que sea al menos 1MiB. Omita la sección del cargador de arranque (LILO) durante la instalación. Una vez completada la instalación, [[#Acceso a la instalación de Slackware, antes de la instalación del cargador de arranque | ingrese su instalación local de Slackware]]. Finalmente, emita lo siguiente para instalar Grub 2 como su gestor de arranque: |
| |
<code> | <code> |
</code> | </code> |
| |
<note important>This assumes you are using the disk /dev/sd**a**, adjust if this is not the case.</note> | <note important>Esto supone que está utilizando el disco /dev/sd**a**, ajustelo si este no es el caso.</note> |
| |
==== Extlinux (Syslinux) ==== | ==== Extlinux (Syslinux) ==== |
| |
The final alternative is to use Extlinux (part of the Syslinux package included with Slackware). It is also capable of booting a system with GPT and like LILO, it doesn't need a 'BIOS boot partition'. To use Extlinux, the partition containing /boot must be formatted to ext2, ext3, ext4, or btrfs. | La alternativa final es usar Extlinux (parte del paquete Syslinux incluido con Slackware). También es capaz de arrancar un sistema con GPT y, como LILO, no necesita una 'partición de arranque BIOS'. Para usar Extlinux, la partición que contiene /boot debe estar formateada a ext2, ext3, ext4 o btrfs. |
| |
Before you begin Slackware installation, set one of the partitions as the boot partition. For example, presuming that /boot was on /dev/sd**a**, you could issue the following from the shell prompt of the install media, after partitioning is complete: | Antes de comenzar la instalación de Slackware, configure una de las particiones como la partición de inicio. Por ejemplo, suponiendo que /boot estaba en /dev/sd**a**, podría emitir lo siguiente desde el indicador de shell del medio de instalación, después de completar la partición: |
| |
<code> | <code> |
</code> | </code> |
| |
You can also use sgdisk to confirm it was indeed set correctly: | También puede usar sgdisk para confirmar que se configuró correctamente: |
| |
<code> | <code> |
</code> | </code> |
| |
During actual Slackware installation, skip the bootloader (LILO) section. After installation is complete, [[#Accessing the Slackware install, prior to bootloader installation|enter your local Slackware install]]. You can then install Extlinux as your bootloader as follows: | Durante la instalación real de Slackware, omita la sección del cargador de arranque (LILO). Una vez completada la instalación, [[#Acceso a la instalación de Slackware, antes de la instalación del cargador de arranque | ingrese su instalación local de Slackware]]. Luego puede instalar Extlinux como su gestor de arranque de la siguiente manera: |
| |
<code> | <code> |
</code> | </code> |
| |
<note important>All of the above assumes you are using the disk /dev/sd**a**, adjust if this is not the case.</note> | <note important>Todo lo anterior supone que está utilizando el disco /dev/sd**a**, ajústelo si este no es el caso.</note> |
| |
Assuming you wanted a simple boot menu, copy menu.c32 over into /boot/extlinux/ as well: | Suponiendo que desea un menú de arranque simple, copie menu.c32 sobre /boot/extlinux/ : |
| |
<code> | <code> |
</code> | </code> |
| |
Finally create a /boot/extlinux/extlinux.conf file along the following lines: | Finalmente cree un archivo /boot/extlinux/extlinux.conf a lo largo de las siguientes líneas: |
| |
<code> | <code> |
</code> | </code> |
| |
<note important>The assumes Slackware is installed on your /dev/sd**a1** partition and you are using the **3.10.17-smp** kernels, adjust as needed.</note> | <note important>Asume que Slackware está instalado en su partición /dev/sd**a1** y está utilizando los kernels ** 3.10.17-smp **, ajuste según sea necesario.</note> |
| |
==== Accessing the Slackware install, prior to bootloader installation ==== | ==== Accediendo a la instalación de Slackware, antes de la instalación del cargador de arranque==== |
| |
In all of the bootloader installation examples above, final installation of the bootloader is done from //within// the installed Slackware system. There are two ways to get into your Slackware install, prior to the installation of the bootloader. You can use chroot ('//chroot /mnt//') from the shell prompt provided by the install media, after you have finished the basic installation, i.e. after the message “Installation of Slackware Linux is complete”. Alternatively Slackware's install media 'boot: ' prompt includes help text explaining how to boot the installed Slackware system, rather than the install environment (i.e. at the boot prompt type something like '//**hugesmp.s** root=/dev/sd**a1** rdinit= ro//'). | En todos los ejemplos de instalación del cargador de arranque anterior, la instalación final del cargador de arranque se realiza desde // dentro de // el sistema Slackware instalado. Hay dos formas de ingresar a la instalación de Slackware, antes de la instalación del cargador de arranque. Puede usar chroot ('// chroot /mnt //') desde el indicador de comandos de shell proporcionado por los medios de instalación, una vez que haya finalizado la instalación básica, es decir, después del mensaje "Installation of Slackware Linux is complete". Como alternativa, el indicador de "inicio:" de los medios de instalación de Slackware incluye un texto de ayuda que explica cómo iniciar el sistema Slackware instalado, en lugar del entorno de instalación (es decir, en el indicador de inicio escriba algo así como "//**hugesmp.s** root = /dev/sd**a1** rdinit = ro // '). |
| |
<note important>The final example assumes Slackware is installed on your /dev/sd**a1** partition and you wish to boot with the **hugesmp.s** kernel, adjust as needed.</note> | <note important>El ejemplo final asume que Slackware está instalado en su partición /dev/sd**a1** y desea iniciar con el kernel ** hugesmp.s **, ajustar según sea necesario.</note> |
| |
====== Sources ====== | ====== Sources ====== |