[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:uefi_triple_boot_with_refind_on_slackware [2019/02/17 02:14 (UTC)] – [Booteando Kernels] antares_alfes:howtos:slackware_admin:uefi_triple_boot_with_refind_on_slackware [2019/02/19 03:30 (UTC)] (actual) – [Sources] antares_alf
Línea 352: Línea 352:
 } }
 </code> </code>
-This time we made an entry with submenu entries so that we have the option to boot into single user modeAlso note how we quoted the label because we used spacesIn the refind menu at bootwe will need to place the selection on this icon and press F2 in order to access the optionsIf ENTER is pressed right away on the iconit will boot the defaultthat is the first submenu entryThe refind.conf entry could be made more concise using the **add_options** commandSince the only difference between the two options is the parameter "**single**"we can just append it to the recovery mode's entry:+ 
 +Esta vez hicimos una entrada con entradas de submenú para que tengamos la opción de iniciar en modo de usuario únicoTambién tenga en cuenta cómo citamos la etiqueta porque usamos espaciosEn el menú de arranque refind, deberemos colocar la selección en este ícono y presionar F2 para acceder a las opcionesSi se presiona ENTER de inmediato en el íconose iniciará la configuración predeterminadaesa es la primera entrada del submenúLa entrada refind.conf podría hacerse más concisa con el comando **add_options**. Ya que la única diferencia entre las dos opciones es el parámetro **single**, podemos agregarlo a la entrada del modo de recuperación: 
 <code> <code>
 menuentry "Slackware14.2 on sda12" { menuentry "Slackware14.2 on sda12" {
Línea 368: Línea 370:
 </code> </code>
  
-<note important>For Slackware userswe noticed that an initrd was needed even to boot the huge kernels because certain drivers are neededIn order to boot a huge kernel without an initrd, the drivers must be loaded from an EFI shell. Many drivers were placed in EFI/tools but when refind scanned the directoryit did not load all the drivers automaticallySo, it is easier to simply make an initrd to accompany every kernel.</note>+<note important>Para los usuarios de slackwarenotamos que se necesitaba un initrd incluso para arrancar el kernel huge porque algunos drivers son necesariosLos drivers necesarios, para arrancar un kernel huge sin un initrd, son cargados desde un shell EFIMuchos drivers fueron ubicados en EFI/tools pero cuando refind explora el directoriono todos los driver cagaron fueron cargados automaticamenteAsí que resulta más fácil hacer un initrd que acompañe cada kernel.</note>
  
 +-> Entrada para Ubuntu 16.04:
  
--> Entry for Ubuntu 16.04: 
 <code> <code>
 menuentry "Ubuntu 16.04" { menuentry "Ubuntu 16.04" {
Línea 388: Línea 390:
 } }
 </code> </code>
-Here we used submenu entries to have options between two different kernel versionsFurther submenu entries could have been added in order to have single user modeslike abovefor each kernel versions.+Aquí usamos entradas de submenú para tener opciones entre dos versiones diferentes del kernel. Se podrían haber agregado más entradas de submenú para tener modos de usuario únicocomo arribapara cada versión de kernel.
  
-=== Using a refind_linux.conf file ===+=== Usando un archivo refind_linux.conf ===
  
-If we have placed a kernel on the EFI partitionlike abovewe can also place a file called refind_linux.conf, holding the booting optionsin the same directory as the kernel. For example,+Si hemos colocado un kernel en la partición EFI, como arribatambién podemos colocar un archivo llamado refind_linux.conf, que contiene las opciones de arranqueen el mismo directorio que el kernel. Por ejemplo, 
 + 
 +-> EFI/Slackware14.2/refind_linux.conf:
  
--> EFI/Slackware14.2/refind_linux.conf : 
 <code> <code>
 "Boot with standard options" "ro root=UUID=9f5b153d-d103-4314-bc98-455fa5d0c625" "Boot with standard options" "ro root=UUID=9f5b153d-d103-4314-bc98-455fa5d0c625"
Línea 401: Línea 404:
 </code> </code>
  
--> Then the refind.conf entry for Slackware 14.2 becomes:+-> Entonces la entrada refind.conf para Slackware 14.2 se convierte en: 
 <code> <code>
 menuentry "Slackware14.2 on sda12" { menuentry "Slackware14.2 on sda12" {
Línea 410: Línea 414:
 } }
 </code> </code>
-The options will appear only after pressing F2 on the icon at the refind menu. ENTER on the icon will automatically boot the first set of options, i.e. "Boot with standard options". 
-<note>If we place two or more kernels in the same directory, then we need to have a separate entry like the above for each kernel. Then, the options from refind_linux.conf will be applied to each one.</note> 
  
-=== Default selection and timeout ===+Las opciones aparecerán solo después de presionar F2 en el ícono en el menú refind. ENTER en el icono iniciará automáticamente el primer conjunto de opciones, es decir, 'Arrancar con opciones estándar'
 + 
 +<note> Si ponemos dos o más kernels en el mismo directorio, necesitaremos tener una entrada separada como la anterior por cada kernel. Entonces, las opciones de refind_linux.conf serán aplicadas a cada uno.</note> 
 + 
 +=== Selección predeterminada y tiempo de espera === 
 +Cuando el menú refind aparece, si no son precionadas las teclas antes del tiempo de espera, refind arrancará la opción predeterminada. Si ésta no es definida explicitamente en refind.conf, refind arrancará la primera entrada en pantalla. El tiempo de espera se establece con **timeout** y la opción predeterminada se establece con **default_selection**.
  
-When the refind menu appears, if no keys are pressed before the timeout time, refind will boot the default selection. If it is not defined explicitly in refind.conf, refind will boot the first entry on the screen. The timeout time is set with **timeout** and the default is set with **default_selection**. 
 <code> <code>
 timeout 10 timeout 10
Línea 425: Línea 431:
 default_selection "Slackware14.1"  (will boot Slackware 14.1) default_selection "Slackware14.1"  (will boot Slackware 14.1)
 </code> </code>
-Concerning the last option, any substring that corresponds to the loader's title or volume will work. But we have to be careful when having similar entry titles like our two Slackware's above. 
  
 +Respecto a la última opción, cualquier subcadena que corresponda al título o volumen del cargador funcionará. Pero hay que tener cuidado cuando tenemos entradas con titulos similares como nuestros dos Slackware de arriba.
 ===== Herramientas Non-bootloader ===== ===== Herramientas Non-bootloader =====
  
Línea 434: Línea 440:
 showtools reboot,shutdown,about showtools reboot,shutdown,about
 </code> </code>
-Options available are+Las opciones disponibles son
  
   * shell : El shell de EFI   * shell : El shell de EFI
Línea 447: Línea 453:
   * about : información a cerca de rEFInd   * about : información a cerca de rEFInd
  
-===== Modifying Appearance of rEFInd =====+===== Modificando la apariencia de rEFInd =====
  
-Now that we got our boot entries sorted outwe can play around and modify the appearance of the refind menu.+Ahora que hemos arreglado nuestras entradas de arranquepodemos jugar un poco y modificar la apariencia de nuestro menú.
  
-=== Resolution ===+=== Resolución === 
 + 
 +Podemos establecer la resolución manualmente, para asegurar que los banners/background estén bien escalados. La resolución por defecto del sistema es 800x600.
  
-We can set the resolution manually, to make sure that the banners/background will be well scaled. The system default resolution is usually 800x600. 
 <code> <code>
 resolution 1920 1080 resolution 1920 1080
 </code> </code>
  
-=== Using custom icons ===+=== Usando íconos personalizados === 
 + 
 +Como vimos anteriormente con las entradas del menú personalizado, podemos elegir íconos para cada entrada con la opción **icon**. Entonces podemos hacer nuestros propios íconos y colocarlos en el directorio EFI/refind/icons/. El tipo predeterminado de iconos es bmp o png. Hay dos tipos de íconos, unos pequeños para las opciones non-bootloader (p.e. apagado, reinicio, ...), y unos grandes para las entradas bootloaders/kernel. Todos los iconos son cuadrados y los tamaños predeterminados son 48x48 para los iconos pequeños y 128x128 para los iconos grandes. Todos los iconos deben tener un tamaño superior a 32x32. El tamaño de los iconos se puede configurar utilizando:
  
-As we saw above with the custom menu entries we can choose icons for each entry with the **icon** option. So we can make our own icons and place them in directory EFI/refind/icons/. The default type of icons is bmp or png. There are two types of icons, small ones for the non-bootloader options (e.g. shutdown, reboot, ...), and large ones for the bootloaders/kernel entries. All icons are square and default sizes are 48x48 for the small icons and 128x128 for the large icons. All icons must be more than 32x32 in size. The size of icons can be set using: 
 <code> <code>
 large_icon 128 large_icon 128
 small_icon 48 small_icon 48
 </code> </code>
-If the icons are physically smaller, they will be stretched to match the set size. 
  
-When the cursor is moved in the refind menu, a selection background switches from icon to iconWe can create our own selection backgrounds and copy them to the EFI/refind directory and then change refind.conf:+Si los íconos son físicamente más pequeños, se estirarán para que coincidan con el tamaño establecido.  
 + 
 +Cuando el cursor se mueve en el menú de refindirun fondo de selección cambia de un icono otroPodemos crear nuestros propios fondos de selección y copiarlos en el directorio EFI/refind y luego cambiar refind.conf: 
 + 
 <code> <code>
 selection_big   myselectionbig.png selection_big   myselectionbig.png
 selection_small myselectionsmall.png selection_small myselectionsmall.png
 </code> </code>
-The formats accepted are again bmp and png. png is used mostly to have support for transparency. The default sizes are 64x64 for the small one and 144x144 for the big one. 
  
-And finallyto include our icon in our menu entry:+Los formatos aceptados son de nuevo bmp y png. png se utiliza principalmente para tener soporte para la transparencia. Los tamaños predeterminados son 64x64 para el pequeño y 144x144 para el grande. 
 + 
 +Y finalmentepara incluir nuestro icono en nuestra entrada del menú: 
 <code> <code>
 menuentry "Bootloader title" { menuentry "Bootloader title" {
Línea 483: Línea 496:
 </code> </code>
  
-=== Background ===+=== El fondo === 
 + 
 +También podemos crear nuestro propio fondo y colocarlo en el directorio EFI / refind /. Las líneas requeridas en refind.conf son:
  
-We can also create our own background and place it in the EFI/refind/ directory. The lines required in refind.conf are: 
 <code> <code>
 banner mybackground.bmp banner mybackground.bmp
 banner_scale noscale banner_scale noscale
 </code> </code>
-With **noscale** the image will be cropped if it is too large. The other possibility is **fillscreen**. Default is **noscale**. 
  
-====== Sources ====== +Con **noscale** la imagen se recortará si es demasiado grande. La otra posibilidad es **fillscreen**. El valor predeterminado es **noscale**. 
-<!-- If you are copying information from another sourcethen specify that source --> + 
-<!-- * Original source: [[http://some.website.org/some/page.html]] --> +====== Fuentes ====== 
-<!-- Authors are allowed to give credit to themselves! --> +<!-- Si está copiando información de otra fuenteespecifique esa fuente --> 
-<!-- * Originally written by [[wiki:user:user | user]] --> +<!-- * Fuente original: [[http://some.website.org/some/page.html]] --> 
-<!-- * Contributions by [[wiki:user:yyy | User Y]] -->+<!-- Los autores tienen permitido dar crédito a sí mismos! --> 
 +<!-- * Originalmente escrito por [[wiki:user:user | user]] --> 
 +<!-- * Contribuciones por [[wiki:user:yyy | User Y]] -->
  
-  * Originally written by [[wiki:user:aragorn2101 | aragorn2101]] +  * Originalmente escrito por [[wiki:user:aragorn2101 | aragorn2101]] 
-More information at:+Más información en:
   * [[http://www.rodsbooks.com/refind/]]   * [[http://www.rodsbooks.com/refind/]]
  
-<!-- Please do not modify anything belowexcept adding new tags.--> +<!-- Por favorno modifique nada a continuación, excepto agregar nuevas etiquetas.--> 
-<!-- You must remove the tag-word "template" below before saving your new page -->+<!-- Debes remover el tag-word "template" de abajo antes de guardar tu nueva página -->
 {{tag>howtos uefi efi boot slackware_administration author_aragorn2101}} {{tag>howtos uefi efi boot slackware_administration author_aragorn2101}}
 es:howtos:slackware_admin:uefi_triple_boot_with_refind_on_slackware ()