Difference between revisions of "Install/Bootloader/es"

From Funtoo
Jump to navigation Jump to search
(Created page with "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 ag...")
(Updating to match new version of source page)
(8 intermediate revisions by 2 users not shown)
Line 5: Line 5:


{{InstallNavigation|num=14|prev=Kernel|next=Network}}</noinclude>
{{InstallNavigation|num=14|prev=Kernel|next=Network}}</noinclude>
=== boot.conf Configuration ===


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


<div class="mw-translate-fuzzy">
Boot-update  ahora en  ({{c|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:
Boot-update  ahora en  ({{c|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:
</div>


<div class="mw-translate-fuzzy">
{{console|body=
{{console|body=
(chroot) ###i## emerge -av grub
(chroot) ###i## emerge -av grub
}}
}}
</div>


<div class="mw-translate-fuzzy">
A continuación, edite {{c|/etc/boot.conf}} utilizando {{c|nano}} y especifique "{{c|Funtoo Linux genkernel}}" como la configuración {{c|default}} en la parte superior de el archivo, reemplazando {{c|"Funtoo Linux"}}. Además, si no está utilizando memtest86 +, elimine la entrada en boot.conf para evitar errores.
A continuación, edite {{c|/etc/boot.conf}} utilizando {{c|nano}} y especifique "{{c|Funtoo Linux genkernel}}" como la configuración {{c|default}} en la parte superior de el archivo, reemplazando {{c|"Funtoo Linux"}}. Además, si no está utilizando memtest86 +, elimine la entrada en boot.conf para evitar errores.
</div>
==== NVIDIA Graphics Card Users ====
If you have NVIDIA graphics and plan to set up a graphical environment, you have a couple of choices when it comes to graphics drivers -- the proprietary NVIDIA drivers provided by NVIDIA corporation itself, or the Open Source Nouveau drivers. If you don't know which to choose, we recommend starting with the proprietary NVIDIA drivers first for optimal performance on a wider range of hardware.
;If using proprietary NVIDIA graphics...: It is safe to leave the {{c|nomodeset}} parameter in {{c|/etc/boot.conf}} as the proprietary drivers handle setting the graphics mode themselves. However, you will need to ''blacklist the nouveau modules'' so they do not load upon boot. See [[Package:NVIDIA_Linux_Display_Drivers|the NVIDIA Linux Display Drivers page]] for information on how to get these drivers set up.
;If using Nouveau...: {{c|nomodeset}} should be ''should be removed'' as explained in the '''Other Graphics Cards''' section below.
==== Other Graphics Cards ====
Most users, particularly those who plan on setting up a graphical environment, will want to eventually remove {{c|nomodeset}} from {{c|params}} in {{f|/etc/make.conf}}. {{c|nomodeset}} prevents the kernel from changing graphics modes at boot.  This option is in {{c|/etc/boot.conf}} by default for a couple of good reasons:
* '''For users with HiDPI (4K+) displays''': when the kernel automatically changes graphics modes, the console font can be tiny and unreadable.
* '''For users with incompatible graphics cards''': Some graphics cards don't handle mode setting properly and this can result in a blank screen after reboot.
Disabling mode setting is therefore a good, safe option for initial installs of Funtoo Linux, but most users will ''want to remove this option.''
This is because essentially all graphics drivers (the big exception being the proprietary NVIDIA drivers) rely on mode setting to set the graphics mode of your display. So most users ''will need to remove it'', and run {{c|ego boot update}} and reboot before they set up X or Wayland. Otherwise, X will not be able to initialize the display. Of course, you can also choose to remove it now and then you won't need to remember to remove it later :)


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


<div class="mw-translate-fuzzy">
{{file|name=/etc/boot.conf|body=
{{file|name=/etc/boot.conf|body=
boot {
boot {
Line 24: Line 52:
timeout 3  
timeout 3  
}
}
</div>


"Funtoo Linux" {
"Funtoo Linux" {
Line 32: Line 61:
kernel kernel[-v]
kernel kernel[-v]
initrd initramfs[-v]
initrd initramfs[-v]
params += real_root=auto
}


        # IMPORTANT: Most users -- remember to REMOVE nomodeset below!
params += real_root=auto rootfstype=auto nomodeset
}
}}
<div class="mw-translate-fuzzy">
"Funtoo Linux better-initramfs" {
"Funtoo Linux better-initramfs" {
kernel vmlinuz[-v]
kernel vmlinuz[-v]
Line 40: Line 74:
}
}
}}
}}
</div>
=== Intel Microcode ===
{{c|ego boot}} will ensure that you have the most recent Intel CPU microcode installed on your system if you emerge the
following packages:


{{console|body=
%chroot% ##i##emerge intel-microcode iucode_tool
}}
This is not necessary for AMD systems.
<div class="mw-translate-fuzzy">
Si está arrancando un kernel personalizado o no predeterminado, por favor lea <code>man boot.conf</code> para obtener información sobre las diversas opciones disponibles.
Si está arrancando un kernel personalizado o no predeterminado, por favor lea <code>man boot.conf</code> para obtener información sobre las diversas opciones disponibles.
</div>


<div class="mw-translate-fuzzy">
==== Vieja escuela (BIOS) MBR ====
==== Vieja escuela (BIOS) MBR ====
</div>


<div class="mw-translate-fuzzy">
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 {{c|/boot/grub/grub.cfg}} que GRUB utilizará para arrancar:
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 {{c|/boot/grub/grub.cfg}} que GRUB utilizará para arrancar:
</div>


<div class="mw-translate-fuzzy">
{{console|body=
{{console|body=
(chroot) # ##i##grub-install --target=i386-pc --no-floppy /dev/sda
(chroot) # ##i##grub-install --target=i386-pc --no-floppy /dev/sda
(chroot) # ##i##boot-update
(chroot) # ##i##boot-update
}}
}}
</div>


==== Nueva escuela (UEFI) Boot Entry ====  
<div class="mw-translate-fuzzy">
==== Nueva escuela (UEFI) Boot Entry ====
</div>


<div class="mw-translate-fuzzy">
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.
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.
</div>


For x86-64bit systems:
<div class="mw-translate-fuzzy">
Para sistemas x86-64bit:
</div>


{{console|body=
Para sistemas x86-32bit:
(chroot) # ##i##grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id="Funtoo Linux [GRUB]" --recheck /dev/sda
(chroot) # ##i##boot-update
}}
 
For x86-32bit systems:


{{console|body=
<div class="mw-translate-fuzzy">
<console>
(chroot) # ##i##grub-install --target=i386-efi --efi-directory=/boot --bootloader-id="Funtoo Linux [GRUB]" --recheck /dev/sda
(chroot) # ##i##grub-install --target=i386-efi --efi-directory=/boot --bootloader-id="Funtoo Linux [GRUB]" --recheck /dev/sda
(chroot) # ##i##boot-update
(chroot) # ##i##boot-update
}}
</console>
</div>


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


OK -- you are almost ready to boot!  
OK -- ¡está listo para arrancar!  


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.
<div class="mw-translate-fuzzy">
Solo necesita ejecutar <code>grub-install</code> cuando instala Funtoo Linux por primera vez, pero necesita volver a ejecutar <code>boot-update</code> cada vez que modifique el archivo <code>/etc/boot.conf</code> o agregue nuevos kernels a su sistema. Esto regenerará {{c|/boot/grub/grub.cfg}} para que tengas nuevos kernels disponibles en su menú de arranque de GRUB, la próxima vez que reinicie.
</div>
<noinclude>{{InstallNavigation|num=14|prev=Kernel|next=Network|align=right}}</noinclude>

Revision as of 22:06, October 10, 2019

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 >

boot.conf Configuration

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.

NVIDIA Graphics Card Users

If you have NVIDIA graphics and plan to set up a graphical environment, you have a couple of choices when it comes to graphics drivers -- the proprietary NVIDIA drivers provided by NVIDIA corporation itself, or the Open Source Nouveau drivers. If you don't know which to choose, we recommend starting with the proprietary NVIDIA drivers first for optimal performance on a wider range of hardware.

If using proprietary NVIDIA graphics...
It is safe to leave the nomodeset parameter in /etc/boot.conf as the proprietary drivers handle setting the graphics mode themselves. However, you will need to blacklist the nouveau modules so they do not load upon boot. See the NVIDIA Linux Display Drivers page for information on how to get these drivers set up.
If using Nouveau...
nomodeset should be should be removed as explained in the Other Graphics Cards section below.

Other Graphics Cards

Most users, particularly those who plan on setting up a graphical environment, will want to eventually remove nomodeset from params in /etc/make.conf. nomodeset prevents the kernel from changing graphics modes at boot. This option is in /etc/boot.conf by default for a couple of good reasons:

  • For users with HiDPI (4K+) displays: when the kernel automatically changes graphics modes, the console font can be tiny and unreadable.
  • For users with incompatible graphics cards: Some graphics cards don't handle mode setting properly and this can result in a blank screen after reboot.

Disabling mode setting is therefore a good, safe option for initial installs of Funtoo Linux, but most users will want to remove this option.

This is because essentially all graphics drivers (the big exception being the proprietary NVIDIA drivers) rely on mode setting to set the graphics mode of your display. So most users will need to remove it, and run ego boot update and reboot before they set up X or Wayland. Otherwise, X will not be able to initialize the display. Of course, you can also choose to remove it now and then you won't need to remember to remove it later :)

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

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

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

"Funtoo Linux genkernel" {
	kernel kernel[-v]
	initrd initramfs[-v]

        # IMPORTANT: Most users -- remember to REMOVE nomodeset below!

	params += real_root=auto rootfstype=auto nomodeset
}

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

Intel Microcode

ego boot will ensure that you have the most recent Intel CPU microcode installed on your system if you emerge the following packages:

chroot # emerge intel-microcode iucode_tool

This is not necessary for AMD systems.

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:

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 -- ¡está listo para arrancar!

Solo necesita ejecutar grub-install cuando instala 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 tengas nuevos kernels disponibles en su menú de arranque de GRUB, la próxima vez que reinicie.

Install Guide, Chapter 14 < Prev Next >