[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:linux_kernel_options_for_uefi_and_elilo [2019/02/05 22:38 (UTC)] – [The EFI System Partition (ESP)] slackwarespanoles:howtos:slackware_admin:linux_kernel_options_for_uefi_and_elilo [2019/02/05 23:02 (UTC)] (actual) slackwarespanol
Línea 1: Línea 1:
-<note warning>En proceso de traducción. Victor</note> 
 <!-- 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). -->
 ====== Opciones del kernel de Linux para UEFI y ELILO ====== ====== Opciones del kernel de Linux para UEFI y ELILO ======
Línea 46: Línea 45:
 ==== La partición del sistema EFI (ESP) ==== ==== La partición del sistema EFI (ESP) ====
 Para arrancar desde UEFI, debe crear una partición del sistema EFI (ESP) utilizando '' gdisk '' o '' cgdisk '' en lugar del antiguo '' fdisk '' y '' cfdisk ''. El Slackware [[ftp://mirrors.usc.edu/pub/linux/distributions/slackware/slackware64-14.1/README_UEFI.TXT|README_UEFI.TXT]] recomienda un tamaño de 100M, que también es el tamaño de partición mínimo (excepto para unidades 4K nativas, donde es 260M). También debe configurar el código hexadecimal de partición en '' EF00 '', que lo identifica como el ESP. Para arrancar desde UEFI, debe crear una partición del sistema EFI (ESP) utilizando '' gdisk '' o '' cgdisk '' en lugar del antiguo '' fdisk '' y '' cfdisk ''. El Slackware [[ftp://mirrors.usc.edu/pub/linux/distributions/slackware/slackware64-14.1/README_UEFI.TXT|README_UEFI.TXT]] recomienda un tamaño de 100M, que también es el tamaño de partición mínimo (excepto para unidades 4K nativas, donde es 260M). También debe configurar el código hexadecimal de partición en '' EF00 '', que lo identifica como el ESP.
-==== UEFI and ELILO ==== +==== UEFI ELILO ==== 
-During the install procedure of Slackware 14.1 for ELILO (the ''eliloconfig'' script), the following happens and is required for booting from UEFI using ELILO.+Durante el procedimiento de instalación de Slackware 14.1 para ELILO (la secuencia de comandos '' eliloconfig ''), ocurre lo siguiente y es necesario para el arranque desde UEFI utilizando ELILO.
  
-  The EFI System Partition (ESP) is located and mountedOn a running system it is usually found already mounted at ''/boot/efi''This is a special FAT partition that is basically the UEFI firmware replacement of what the MBR was for BIOS. Howeverit can not only hold a bootloader (all the MBR was capable of), but also config filesthe kernel, and other things you might want to access using the UEFI firmware+ La partición del sistema EFI (ESP) está ubicada y montadaEn un sistema en ejecución, normalmente se encuentra ya montado en '' /boot/efi ''Esta es una partición FAT especial que básicamente es el reemplazo del firmware UEFI de lo que el MBR era para BIOS. Sin embargono solo puede contener un gestor de arranque (todo lo que el MBR era capaz de hacer), sino también los archivos de configuraciónel kernel y otras cosas a las que tal vez quiera acceder utilizando el firmware UEFI. 
-  The three items required by ELILO (and other bootloadersare copied onto the ESP to ''/boot/efi/EFI/Slackware''These include+   Los tres elementos requeridos por ELILO (y otros cargadores de arranquese copian en el ESP '' /boot/efi/EFI/Slackware ''Éstos incluyen
-    The bootloaderIn the case of ELILO it is ''elilo.efi'' +     El gestor de arranqueEn el caso de ELILO es '' elilo.efi ''. 
-    The config fileIn the case of ELILO it is ''elilo.conf'' +     El archivo de configuraciónEn el caso de ELILO es '' elilo.conf ''. 
-    The kernelusually titled ''vmlinuz'' +     El núcleousualmente titulado '' vmlinuz '' 
-  A boot entry variable is registered in the UEFI firmware using ''efibootmgr''The exact command that is run is <code bash>+   Una variable de entrada de inicio se registra en el firmware UEFI utilizando '' efibootmgr ''El comando exacto que se ejecuta es 
 + 
 +<code bash>
 EFI_DEVICE=$(mount | grep vfat | grep -w /boot/efi | cut -b 1-8) EFI_DEVICE=$(mount | grep vfat | grep -w /boot/efi | cut -b 1-8)
 EFI_PARTITION=$(mount | grep vfat | grep -w /boot/efi | cut -f 1 -d ' ' | cut -b 9-) EFI_PARTITION=$(mount | grep vfat | grep -w /boot/efi | cut -f 1 -d ' ' | cut -b 9-)
 efibootmgr -q -c -d $EFI_DEVICE -p $EFI_PARTITION -l "\\EFI\\Slackware\\elilo.efi" -L "Slackware" efibootmgr -q -c -d $EFI_DEVICE -p $EFI_PARTITION -l "\\EFI\\Slackware\\elilo.efi" -L "Slackware"
-</code> so if ''mount'' outputs <code>/dev/sda1 on /boot/efi type vfat (rw)</code>EFI_DEVICE would be ''/dev/sda'' and EFI_PARTITION would be ''1'', each components of ''/dev/sda1'', which is the ESP. +</code>  
-<note important>If for some reason you cannot register a boot entry with the UEFI firmwareyou should put the bootloader at ''/EFI/boot/bootx64.efi''This special location allows the UEFI firmware to run the bootloader without any boot entry.</note> +si sale ''mount''  <code>/dev/sda1 on /boot/efi type vfat (rw)</code>EFI_DEVICE sería ''/dev/sda'' and EFI_PARTITION sería ''1'', cada componente de '' /dev/sda1 '', que es el ESP. 
-==== Upgrading your kernel ==== +<note important>Si por alguna razón no puede registrar una entrada de arranque con el firmware UEFI, debe colocar el cargador de arranque en '' /EFI/boot/bootx64.efi ''Esta ubicación especial permite que el firmware UEFI ejecute el cargador de arranque sin ninguna entrada de arranque.</note> 
-This task is now much easier than it used to beAll you really need to do is copy ''vmlinuz'' onto the ESP on top of the old kernel. No need to edit any configs or add any boot entriesunless you want toNote that you can edit the config in place and ELILO will pick up the changes on next bootno need to run any commands like with the old lilo. +==== Actualizando tu kernel ==== 
-==== Updating your UEFI firmware ==== +Esta tarea es ahora mucho más fácil de lo que solía serTodo lo que necesitas hacer es copiar '' vmlinuz '' en el ESP en la parte superior del núcleo antiguo. No es necesario editar configuraciones o agregar entradas de arranquea menos que lo deseeTenga en cuenta que puede editar la configuración en su lugar y ELILO recogerá los cambios en el próximo arranquesin necesidad de ejecutar ningún comando como con el antiguo lilo. 
-As all UEFI firmware has a flashing utility built-init is now much easier to update the firmware. All you have to do is copy the new firmware onto the ESP and the UEFI firmware should recognize it when you go to the flashing utility menuHoweverremember that flashing the firmware can still potentially brick the systemespecially if it is interrupted during the flashing process.+==== Actualizando su firmware UEFI ==== 
 +Como todo el firmware de UEFI tiene una utilidad  flashing incorporadaahora es mucho más fácil actualizar el firmware. Todo lo que tiene que hacer es copiar el nuevo firmware en el ESP y el firmware UEFI debería reconocerlo cuando vaya al menú de la utilidad que parpadeaSin embargorecuerde que la actualización del firmware aún puede potencialmente bloquear el sistemaespecialmente si se interrumpe durante el proceso de actualización.
 <note important> <note important>
-Updating your UEFI firmware may reset your settings and prevent you from booting unless you plan ahead.+La actualización del firmware de UEFI puede restablecer la configuración y evitar que arranque, a menos que planifique con anticipación.
 </note> </note>
-==== My UEFI settings were reset and I can't bootor planning ahead to avoid surprises ==== +==== Mis configuraciones de UEFI se restablecieron y no puedo arrancaro planeo con anticipación para evitar sorpresas ==== 
-This can happen either after updating the UEFI firmware or after replacing the CMOS batteryThere are three main ways to fix it+Esto puede suceder después de actualizar el firmware UEFI o después de reemplazar la batería CMOS. Hay tres formas principales de solucionarlo
-  Probably the easiest and most convenient way is to use the default boot locationNote that some UEFI firmwares do NOT support the default boot locationso this will not workHoweverif it doesyou won't have to worry about the system not booting againTo do this you can boot into the Slackware install DVD, mount the ESP and copy the files to the following places:+   Probablemente, la forma más fácil y conveniente es utilizar la ubicación de inicio predeterminadaTenga en cuenta que algunos firmwares UEFI NO admiten la ubicación de inicio predeterminadapor lo que esto no funcionaráSin embargosi lo haceno tendrá que preocuparse por que el sistema no se reinicie de nuevoPara hacer esto, puede iniciar el DVD de instalación de Slackwaremontar el ESP y copiar los archivos en los siguientes lugares:
     - ''elilo.efi'' -> ''/EFI/boot/bootx64.efi''     - ''elilo.efi'' -> ''/EFI/boot/bootx64.efi''
     - ''elilo.conf'' -> ''/EFI/boot/elilo.conf''     - ''elilo.conf'' -> ''/EFI/boot/elilo.conf''
     - ''vmlinuz'' -> ''/EFI/boot/vmlinuz''     - ''vmlinuz'' -> ''/EFI/boot/vmlinuz''
-  You can boot into the Slackware install DVDrun through the menus, and reinstall elilo. + Puede iniciar el DVD de instalación de Slackware, ejecutar los menús y reinstalar elilo. 
-  You can download and install one of the following EFI shells to the root directory of your ESP (that is ''/'' NOT ''/EFI''). +   Puede descargar e instalar uno de los siguientes shells EFI en el directorio raíz de su ESP (que es '' / '' NOT '' / EFI ''). 
-    - [[https://svn.code.sf.net/p/edk2/code/trunk/edk2/ShellBinPkg/UefiShell/X64/Shell.efi|This version supports only UEFI version and up]] +    - [[https://svn.code.sf.net/p/edk2/code/trunk/edk2/ShellBinPkg/UefiShell/X64/Shell.efi|Esta versión solo es compatible con UEFI versión y superior]] 
-    - [[http://dl.dropbox.com/u/17629062/Shell2.zip | This version may support earlier UEFI versions]] +    - [[http://dl.dropbox.com/u/17629062/Shell2.zip | Esta versión puede soportar versiones anteriores de UEFI]] 
-    - Boot into the shell and run: <code>bcfg boot add 0 fs0:\EFI\Slackware\elilo.efi Slackware</code> +    -Arranque en el shell y ejecute: <code>bcfg boot add 0 fs0:\EFI\Slackware\elilo.efi Slackware</code> 
-==== External Links ==== +==== Enlaces externos ==== 
-[[http://blog.uncooperative.org/blog/2014/02/06/the-efi-system-partition/|A comprehensive analysis of the ESP and default boot behavior.]]+[[http://blog.uncooperative.org/blog/2014/02/06/the-efi-system-partition/|Un análisis exhaustivo del ESP y el comportamiento de arranque predeterminado..]]
 ====== Sources ====== ====== Sources ======
-  * Original author: [[wiki:user:metaschima]]+  * Autor original: [[wiki:user:metaschima]]
   * https://wiki.archlinux.org/index.php/UEFI   * https://wiki.archlinux.org/index.php/UEFI
   * https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/plain/Documentation/x86/x86_64/uefi.txt   * https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/plain/Documentation/x86/x86_64/uefi.txt
-  * ''eliloconfig'' bash script by Patrick Volkerding+  * ''eliloconfig'' bash script por Patrick Volkerding 
 +  * Traducido por:  [[wiki:user: slackwarespanol | Victor]] 2019/02/05 22:59 (UTC)
 <!-- 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]] -->
 es:howtos:slackware_admin:linux_kernel_options_for_uefi_and_elilo ()