Difference between revisions of "Install/Bootloader/es"

From Funtoo
Jump to navigation Jump to search
(Created page with "<console> (chroot) # ##i##grub-install --target=i386-efi --efi-directory=/boot --bootloader-id="Funtoo Linux [GRUB]" --recheck /dev/sda (chroot) # ##i##boot-update </console>")
(Created page with "==== Primer arranque, y en el futuro... ====")
Line 70: Line 70:
</console>
</console>


==== First Boot, and in the future... ====  
==== Primer arranque, y en el futuro... ====  


OK -- you are almost ready to boot!  
OK -- you are almost ready to boot!  


You only need to run <code>grub-install</code> when you first install Funtoo Linux, but you need to re-run <code>boot-update</code> every time you modify your <code>/etc/boot.conf</code> file or add new kernels to your system. This will regenerate {{c|/boot/grub/grub.cfg}} so that you will have new kernels available in your GRUB boot menu, the next time you reboot.
You only need to run <code>grub-install</code> when you first install Funtoo Linux, but you need to re-run <code>boot-update</code> every time you modify your <code>/etc/boot.conf</code> file or add new kernels to your system. This will regenerate {{c|/boot/grub/grub.cfg}} so that you will have new kernels available in your GRUB boot menu, the next time you reboot.

Revision as of 15:30, October 12, 2018

Other languages:
English • ‎Türkçe • ‎español • ‎português do Brasil • ‎русский • ‎中文(中国大陆)‎

Guia de Instalación: Gestor de arranque

Install Guide, Chapter 14 < Prev Next >

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

Boot-update ahora en (ego boot) se instala 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á emergerlo:

(chroot) # emerge -av grub

A continuación, edite /etc/boot.conf utilizando nano y especifique "Funtoo Linux genkernel" como la configuración default en la parte superior de el archivo, reemplazando "Funtoo Linux". Además, si no está utilizando memtest86 +, elimine la entrada en boot.conf para evitar errores.

/etc/boot.conf Ahora debería verse así:

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

"Funtoo Linux" {
	kernel bzImage[-v]
}

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

"Funtoo Linux better-initramfs" {
	kernel vmlinuz[-v]
	initrd /initramfs.cpio.gz
}

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

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/sda
(chroot) # boot-update

Nueva escuela (UEFI) Boot Entry

Si está utilizando arranque UEFI de "nueva escuela", ejecute los siguientes conjuntos de comandos, dependiendo de 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) # grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id="Funtoo Linux [GRUB]" --recheck /dev/sda
(chroot) # boot-update

Para sistemas x86-32bit:

(chroot) # grub-install --target=i386-efi --efi-directory=/boot --bootloader-id="Funtoo Linux [GRUB]" --recheck /dev/sda
(chroot) # boot-update

Primer arranque, y en el futuro...

OK -- you are almost ready to boot!

You only need to run grub-install when you first install Funtoo Linux, but you need to re-run boot-update every time you modify your /etc/boot.conf file or add new kernels to your system. This will regenerate /boot/grub/grub.cfg so that you will have new kernels available in your GRUB boot menu, the next time you reboot.