Install/Bootloader/es

From Funtoo
< Install
Revision as of 09:25, November 17, 2021 by Nnunez (talk | contribs)
Jump to navigation Jump to search
Other languages:
English • ‎Türkçe • ‎español • ‎português do Brasil • ‎русский • ‎中文(中国大陆)‎

Guía de instalación: Gestor de arranque

Install Guide, Chapter 14 < Prev Next >

Configuración: boot.conf

Estas instrucciones de instalación muestran cómo usar GRUB para arrancar utilizando BIOS (legacy) o UEFI.

Ego boot-update (ego boot) se instaló de forma predeterminada, pero GRUB no, ya que no es necesario para todos los sistemas Funtoo Linux (como los contenedores, por ejemplo). Pero para el arranque desde cero es el cargador de arranque recomendado y con el mejor soporte, por lo que deberá usar "emerge" en este caso:

(chroot) # emerge -av grub

boot.conf

/etc/boot.conf controla la configuración del boot loader en Funtoo. Aquí se muestra lo que el archivo contiene inicialmente:

   /etc/boot.conf
boot {
	generate grub
	default "Funtoo Linux" 
	timeout 3 
}

"Funtoo Linux" {
	kernel kernel[-v]
	initrd initramfs[-v]
	params += real_root=auto rootfstype=auto
}

"Funtoo Linux (nomodeset)" {
	kernel kernel[-v]
	initrd initramfs[-v]
	params += real_root=auto rootfstype=auto nomodeset
}

Si está arrancando un kernel personalizado o no predeterminado, por favor lea man boot.conf para obtener información sobre diversas opciones disponibles.

nomodeset

You will notice after booting that you there will be a boot option in the GRUB menu for a "nomodeset" mode. We don't recommend you use this mode by default but it is available to you for a couple of good reasons:

  • Para usuarios con pantallas HiDPI (4K+): cuando el kernel cambia el modo automático del modo gráfico, la fuente de la consola puede ser muy pequeña e ilegible.
  • Para usuarios con controladores gráficos incompatibles: algunas tarjetas gráficas pueden resultar en una pantalla en blanco después del arranque.

To use the nomodeset option, simply select that option from the GRUB menu when your system boots.

rootwait

If you are using a root partition on an nvme device, add the rootwait kernel parameter to force the kernel to wait for it to asynchronously initialize or the kernel will panic on some hardware.

Intel Microcode

El comando ego boot asegurará que tenga instalado el microcódigo de CPU Intel más reciente en su sistema, si usted realiza un 'emerge' de los siguientes paquetes:

chroot # emerge intel-microcode iucode_tool

Esto no es necesario en sistemas AMD.

Vieja escuela (BIOS) MBR

Cuando use el arranque de la vieja escuela o BIOS, ejecute el siguiente comando para instalar GRUB en su MBR y generar el archivo de configuración /boot/grub/grub.cfg que GRUB utilizará para arrancar:

chroot # grub-install --target=i386-pc --no-floppy /dev/sdX
chroot # ego boot update

Nueva escuela (UEFI) Boot Entry

Si está utilizando arranque UEFI de "nueva escuela", ejecute los siguientes comandos en grupo. Seleccione el comando adecuado si está instalando un sistema de 64-bits o 32-bits. Esto agregará GRUB como una entrada de arranque UEFI.

Para sistemas x86-64bit:

chroot # mount -o remount,rw /sys/firmware/efi/efivars
chroot # grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id="Funtoo Linux [GRUB]" --recheck /dev/sdX
chroot # ego boot update

Para sistemas x86-32bit:

chroot # mount -o remount,rw /sys/firmware/efi/efivars
chroot # grub-install --target=i386-efi --efi-directory=/boot --bootloader-id="Funtoo Linux [GRUB]" --recheck /dev/sdX
chroot # ego boot update

Primer arranque y nota para el futuro...

OK -- ¡Ahora está casi listo para arrancar!

Solo necesita ejecutar grub-install cuando instale Funtoo Linux por primera vez, pero necesita volver a ejecutar boot-update cada vez que modifique el archivo /etc/boot.conf o agregue nuevos kernels a su sistema. Esto regenerará /boot/grub/grub.cfg para que tenga nuevos kernels disponibles en el menú de arranque de GRUB, la próxima vez que reinicie.

Post reboot UEFI troubleshooting

In case UEFI NVRAM boot entry is missing in BIOS and grub does not start you can try moving an already installed GRUB EFI executable to the default/fallback path

chroot # mv -v '/boot/EFI/Funtoo Linux [GRUB]' /boot/EFI/BOOT
chroot # mv -v /boot/EFI/BOOT/grubx64.efi /boot/EFI/BOOT/BOOTX64.EFI
Install Guide, Chapter 14 < Prev Next >