Difference between revisions of "Install/es"

From Funtoo
Jump to navigation Jump to search
(Created page with "Si eres nuevo en Funtoo Linux y Gentoo Linux, por favor checa Funtoo Linux First Steps, que te ayudará a faimiliarizarte con tu nuevo sistema. Tambien tenemos una categor...")
(Created page with "{{console|body= (chroot) ###i## ln -sf /usr/share/zoneinfo/MST7MDT /etc/localtime }} Lo anterior establece la zona horaria a Mountain Standard Time (con horario de verano). Te...")
(49 intermediate revisions by 9 users not shown)
Line 159: Line 159:
Dentro de {{c|fdisk}}, sigue estos pasos:
Dentro de {{c|fdisk}}, sigue estos pasos:


Vaciar la tabla de particiones
'''Vaciar la tabla de particiones''':
{{console|body=
{{console|body=
Command (m for help): ##i##o ↵
Command (m for help): ##i##o ↵
}}
}}
Crear la partición 1
'''Crear partición 1''' (boot):


{{console|body=
{{console|body=
Line 279: Line 279:
{{Note|Esta sección cubre instalaciones con BIOS ''y" con UEFI. ¡No te la saltes!}}
{{Note|Esta sección cubre instalaciones con BIOS ''y" con UEFI. ¡No te la saltes!}}


Antes de que tus particiones recién creadas puedan ser usadas, los dispositivos de bloque que fueron creados en el paso anterior necesitan ser inicializados con "metadatos" del sistema de archivos. Este proceso es conocido como "crear el sistema de archivos" en los dispositivos de bloque. Después de que el sistema de archivos ha sido creado en los dispositivos de bloque, ellos pueden ser montados y usados para guardar archivos.
Antes de tu que las recientes particiones sean usadas, los dispositivos de bloque que fueron creados previamente en el paso anterior deben de ser inicializados con el filesystem "metadata". Este proceso es conocido como 'creación de archivos de sistema" en los dispositivos de bloque, estos pueden ser montados y usados para almacenar archivos.


Vamos a mantener esto simple. ¿Estás usando particiones MBR de la vieja escuela? Si es así, vamos a crear un sistema de archivos ext2 en {{f|/dev/sda1}}:
Vamos a mantener esto simple. ¿Estás usando particiones MBR de la vieja escuela? Si es así, vamos a crear un sistema de archivos ext2 en {{f|/dev/sda1}}:
{{console|body=###i## mkfs.ext2 /dev/sda1}}
{{console|body=###i## mkfs.ext2 /dev/sda1}}
If you're using new-school GPT partitions for UEFI, you'll want to create a vfat filesystem on {{c|/dev/sda1}}, because this is what UEFI is able to read:
Si estas usando las particiones de la nueva escuela GPT para UEFI, querrás crear un sistema de archivos vfat en {{c|/dev/sda1}}, porque esto es lo que UEFI será capaz de leer.
{{console|body=###i## mkfs.vfat -F 32 /dev/sda1}}
{{console|body=###i## mkfs.vfat -F 32 /dev/sda1}}
Ahora, vamos a crear una partición swap. Esta partición será usada como memoria virtual basada en disco para tu sistema Linux Funtoo.
Ahora, vamos a crear una partición swap. Esta partición será usada como memoria virtual basada en disco para tu sistema Linux Funtoo.


You will not create a filesystem on your swap partition, since it is not used to store files. But it is necessary to initialize it using the {{c|mkswap}} command. Then we'll run the {{c|swapon}} command to make your newly-initialized swap space immediately active within the live CD environment, in case it is needed during the rest of the install process:
En la partición de swap no crearemos un sistema de archivos, dado que no se usa para guardar archivos. Sin embargo es necesario inicializarla usando el comando {{c|mkswap}}. Después correremos el comando {{c|swapon}} para activar inmediatamente en el entorno del CD live tu espacio swap recién inicializado, en caso de que sea necesario durante el resto del proceso de instalación.
{{console|body=
{{console|body=
# ##i##mkswap /dev/sda2
# ##i##mkswap /dev/sda2
Line 299: Line 299:
Tus sistemas de archivos (y swap) han sido inicializados,  así que pueden ser montados (apegados a tu jerarquía  de directorios existente) y usados para guardar archivos. Estamos listos para comenzar la instalación de Funtoo Linux usando nuestro sistema de archivos nuevecitos.
Tus sistemas de archivos (y swap) han sido inicializados,  así que pueden ser montados (apegados a tu jerarquía  de directorios existente) y usados para guardar archivos. Estamos listos para comenzar la instalación de Funtoo Linux usando nuestro sistema de archivos nuevecitos.


{{Warning|When deploying an OpenVZ host, please use ext4 exclusively. The Parallels development team tests extensively with ext4, and modern versions of {{c|openvz-rhel6-stable}} are '''not''' compatible with XFS, and you may experience kernel bugs.}}
{{Warning|cuando se despliega un host OpenVZ, por favor usa ext4 exclusivamente. El equipo de desarrollo paralelorealiza pruebas extensas con ext4, y versiones actuales de  {{c|openvz-rhel6-stable}} son '''no''' compatibles con XFS, y puedes experimentar algunos bugs del kernel.}}


==== Mounting filesystems ====  
==== Montando el sistema de archivos ====  


Mount the newly-created filesystems as follows, creating {{c|/mnt/funtoo}} as the installation mount point:
Monta los nuevos-creados systemas de archivos de la manera siguiente, creando {{c|/mnt/funtoo}} y el punto de montaje de instalación
{{console|body=
{{console|body=
###i## mkdir /mnt/funtoo
###i## mkdir /mnt/funtoo
Line 310: Line 310:
###i## mount /dev/sda1 /mnt/funtoo/boot
###i## mount /dev/sda1 /mnt/funtoo/boot
}}
}}
Optionally, if you have a separate filesystem for {{f|/home}} or anything else:
Opcionalmente, si tienes un sistema de archivos separado para {{f|/home}} o cualquier otro:


{{console|body=
{{console|body=
Line 316: Line 316:
###i## mount /dev/sda4 /mnt/funtoo/home
###i## mount /dev/sda4 /mnt/funtoo/home
}}
}}
If you have {{f|/tmp}} or {{f|/var/tmp}} on a separate filesystem, be sure to change the permissions of the mount point to be globally-writeable after mounting, as follows:
Si tu tienes {{f|/tmp}} o {{f|/var/tmp}} en sistema de archivo separado, asegurate de cambiar el permiso de el punto de montaje para que sea escritura-global despues del montaje. de la manera siguiente:
{{console|body=###i## chmod 1777 /mnt/funtoo/tmp}}
{{console|body=###i## chmod 1777 /mnt/funtoo/tmp}}
===Configurar la fecha y hora ===  
===Configurar la fecha y hora ===  


{{Important|If your system's date and time are too far off (typically by months or years,) then it may prevent Portage from properly downloading source tarballs. This is because some of our sources are downloaded via HTTPS, which use SSL certificates and are marked with an activation and expiration date. However, if your system time is relatively close to correct, you can probably skip this step for now.}}
{ { Importante | Si la fecha y hora del sistema  estan incorrectos por mucho tiempo ( típicamente por meses o años ), entonces se puede prevenirla descarga de  algunos archivos de código fuente correctamente al uaar Portage . Esto se debe a que algunas de nuestros código fuente se descargan a través de HTTPS , los cuales  utilizan certificados SSL y están marcados con una fecha de activación y expiración . Sin embargo, si la hora del sistema está relativamente cercana a la hora correcta , probablemente puede saltarse este paso por ahora . } }


ahora es buen tiempo de verificar que la fecha y hora sean correctos a UTC. puedes usa el comando {{c|date}} para verificar estos valores
ahora es buen tiempo de verificar que la fecha y hora sean correctos a UTC. puedes usa el comando {{c|date}} para verificar estos valores
Line 344: Line 344:
The [[Subarches]] page lists all CPU-optimized versions of Funtoo Linux. Find the one that is appropriate for the type of CPU that your system has, and then click on its name in the first column (such as {{c|corei7}}, for example.) You will then go to a page dedicated to that subarch, and the available stage3's available for download will be listed.
The [[Subarches]] page lists all CPU-optimized versions of Funtoo Linux. Find the one that is appropriate for the type of CPU that your system has, and then click on its name in the first column (such as {{c|corei7}}, for example.) You will then go to a page dedicated to that subarch, and the available stage3's available for download will be listed.


For most subarches, you will have several stage3's available to choose from. This next section will help you understand which one to pick.
Para la mayoría de las sub-búsquesa , se tendrán varios stage3 específicos diaponibles para elegir. La siguiente sección le ayudará a entender cuál escoger.


==== ¿Qué Rama? ====  
==== ¿Qué Rama? ====  
Line 360: Line 360:
==== ¿Qué Variante? ====  
==== ¿Qué Variante? ====  


'''If you're not sure, pick {{c|standard}}.'''
'''Si no está seguri, seleccione {{c|estandae}}.'''


Our "regular" stage3's are listed with a variant of {{c|standard}}. The following variant builds are available:
Nuestras stage3's "regulares" están listadas con una variante de {{c|standard}}. Las siguientes variantes de builds están disponibles:


{{TableStart}}
{{TableStart}}
Line 380: Line 380:
Note that 64-bit systems can run 32-bit or 64-bit stages, but 32-bit systems can only run 32-bit stages. Make sure that you select a Stage 3 build that is appropriate for your CPU. If you are not certain, it is a safe bet to choose the {{c|generic_64}} or {{c|generic_32}} stage. Consult the [[Subarches]] page for more information.
Note that 64-bit systems can run 32-bit or 64-bit stages, but 32-bit systems can only run 32-bit stages. Make sure that you select a Stage 3 build that is appropriate for your CPU. If you are not certain, it is a safe bet to choose the {{c|generic_64}} or {{c|generic_32}} stage. Consult the [[Subarches]] page for more information.


Once the stage is downloaded, extract the contents with the following command, substituting in the actual name of your stage 3 tarball:
Una vez que la etapa es descargada, extraiga el contenido usando el siguiente comando, sustituyendo el nombre actual de la etapa 3 tarball:
{{console|body=
{{console|body=
###i## tar xpf stage3-latest.tar.xz
###i## tar xpf stage3-latest.tar.xz
}}{{Important|It is very important to use {{c|tar's}} "{{c|'''p'''}}" option when extracting the Stage 3 tarball - it tells {{c|tar}} to ''preserve'' any permissions and ownership that exist within the archive. Without this option, your Funtoo Linux filesystem permissions will be incorrect.}}
}}{{Importante| es muy importante usar la opción {{c|tar's}} "{{c|'''p'''}}" cuando se extraiga la etapa 3 tarball - la opción {{c|tar}} indica "preservar" todos  los permisos del propietario que existan con el archivo, sin el uso de esta opción los permisos del sistema de archivos serán incorrectos}}


=== Chroot into Funtoo ===
=== Chroot into Funtoo ===
Line 394: Line 394:
# ##i##mount --rbind /sys sys
# ##i##mount --rbind /sys sys
# ##i##mount --rbind /dev dev
# ##i##mount --rbind /dev dev
}}You'll also want to copy over {{f|resolv.conf}} in order to have proper resolution of Internet hostnames from inside the chroot:
}}Usted también querrá copiar sobre {{f|resolv.conf}} con el propósito de tener resultados apropiado del Internet hostname desde adentro del chroot:
{{console|body=
{{console|body=
# ##i##cp /etc/resolv.conf /mnt/funtoo/etc/
# ##i##cp /etc/resolv.conf /mnt/funtoo/etc/
Line 428: Line 428:
==== Usando Nano ====  
==== Usando Nano ====  


The default editor included in the chroot environment is called {{c|nano}}. To edit one of the files below, run nano as follows:
El editor por omisión incluido en el entorno chroon se llama {{c|nano}}. Para editar uno de los siguientes archivos, ejecuta nano como sigue:


{{console|body=
{{console|body=
Line 483: Line 483:
{{TableEnd}}
{{TableEnd}}


If you're installing an English version of Funtoo Linux, you're in luck, as most of the configuration files can be used as-is. If you're installing for another locale, don't worry. We will walk you through the necessary configuration steps on the [[Funtoo Linux Localization]] page, and if needed, there's always plenty of friendly, helpful support available. (See [[#Community portal|Community]])
Si estas instalando una version en ingles de Funtoo Linux, tienes suerte, ya que la mayoria de los archivos de configuracion pueden ser usados tal cual. Si estas instalando para otro local , no te preocupes. Te guiaremos a traves de los pasos para la configuracion necesaria en la pagina [[Funtoo Linux Localization]], y de ser necesario, hay siempre una extensa, amigable y servicial comunidad de soporte disponible. (Ver [[#Community portal|Community]])


Let's go ahead and see what we have to do. Use {{c|nano -w <name_of_file>}} to edit files -- the "{{c|-w}}" argument disables word-wrapping, which is handy when editing configuration files. You can copy and paste from the examples.
Let's go ahead and see what we have to do. Use {{c|nano -w <name_of_file>}} to edit files -- the "{{c|-w}}" argument disables word-wrapping, which is handy when editing configuration files. You can copy and paste from the examples.


{{Warning|It's important to edit your {{c|/etc/fstab}} file before you reboot! You will need to modify both the "fs" and "type" columns to match the settings for your partitions and filesystems that you created with {{c|gdisk}} or {{c|fdisk}}. Skipping this step may prevent Funtoo Linux from booting successfully.}}
{{Warning|¡Es importante editar tu archivo {{c|/etc/fstab}} antes de que reinicies! Necesitarás modificar las columnas "fs" y "type" para que coincidan con las configuraciones  de tus particiones en el sistema de archivos que creaste con {{c|gdisk}} o {{c|fdisk}}. Omitir este paso puede hacer que Funtoo Linux inicie con exito.}}


/etc/fstab
/etc/fstab
Line 512: Line 512:
{{Nota|Actualmente, nuestro archivo predeterminado {{f|/etc/fstab}} tiene un sistema de archivos raiz como {{c|/dev/sda4}} y la particion swap como {{c|/dev/sda3}}. Esto debe de ser corregido a {{c|/dev/sda3}} y {{c|/dev/sda4}} respectivamente.}}
{{Nota|Actualmente, nuestro archivo predeterminado {{f|/etc/fstab}} tiene un sistema de archivos raiz como {{c|/dev/sda4}} y la particion swap como {{c|/dev/sda3}}. Esto debe de ser corregido a {{c|/dev/sda3}} y {{c|/dev/sda4}} respectivamente.}}


{{Note|If you're using UEFI to boot, change the {{f|/dev/sda1}} line so that it says {{c|vfat}} instead of {{c|ext2}}. Similarly, make sure that the {{f|/dev/sda3}} line specifies either {{c|xfs}} or {{c|ext4}}, depending on which filesystem you chose earlier on in the installation process when you created filesystems.}}
{{Note|Si estas usando UEFI para iniciar, cambia la línea {{f|/dev/sda1}} para que diga {{c|vfat}} en lugar de  {{c|ext2}}. De forma similar, asegúrate que la línea  {{f|/dev/sda3}} especifique cualquiera {{c|xfs}} o {{c|ext4}}, dependiendo de cual sistema de archivos  elejiste antes en el proceso de instalación cuando creaste el sistema de archivos.}}


==== /etc/localtime ====  
==== /etc/localtime ====  


{{f|/etc/localtime}} is used to specify the timezone that your machine is in, and defaults to UTC. If you would like your Funtoo Linux system to use local time, you should replace {{f|/etc/localtime}} with a symbolic link to the timezone that you wish to use.  
{{f|/etc/localtime}} es usadado para especificar la zona horaria de tu equipo. Y por omisión  de UTC. Si te gustaría  que tú sistema Funtoo Linux use la hora local, se debe reemplazar {{f|/etc/localtime}} con una liga símbolica a la zona horaria que desees utilizar.  


{{console|body=
{{console|body=
(chroot) ###i## ln -sf /usr/share/zoneinfo/MST7MDT /etc/localtime
(chroot) ###i## ln -sf /usr/share/zoneinfo/MST7MDT /etc/localtime
}}
}}
The above sets the timezone to Mountain Standard Time (with daylight savings). Type {{c|ls /usr/share/zoneinfo}} to list available timezones. There are also sub-directories containing timezones described by location.
Lo anterior establece la zona horaria a Mountain Standard Time (con horario de verano). Teclea {{c|ls /usr/share/zoneinfo}} para mostrar las zonas horarias disponibles. También hay sub-directorios que contienen zonas horarias descritas por ubicación.


==== /etc/portage/make.conf ====  
==== /etc/portage/make.conf ====  
Line 531: Line 531:
</pre>
</pre>


If you are unsure about how many processors/threads you have, then use {{c|nproc}} to help you.
Si tu no estas seguro acerca de cuantos procesadores/hilos tu tienes, entonces usa {{c|nproc}} para ayudarte.
{{console|body=
(chroot) ###i## nproc
16
}}
Set {{c|MAKEOPTS}} to this number plus one:


<pre>
<pre>
Line 559: Line 554:
By default, Funtoo Linux is configured with Unicode (UTF-8) enabled, and for the US English locale and keyboard. If you would like to configure your system to use a non-English locale or keyboard, see [[Funtoo Linux Localization]].
By default, Funtoo Linux is configured with Unicode (UTF-8) enabled, and for the US English locale and keyboard. If you would like to configure your system to use a non-English locale or keyboard, see [[Funtoo Linux Localization]].


=== Introducing Portage ===  
=== Introducción a Portage ===  


Portage, the Funtoo Linux package manager has a command called <code>emerge</code> which is used to build and install packages from source. It also takes care of installing all of the package's dependencies. You call emerge like this:
Portage, el manejador de paquetes de Funtoo Linux tiene un comando llamado <code>emerge</code> que es usado para construir e instalar paquetes desde el código fuente. también de encarga de la instalación de todas las dependendencias del paquete. Puedes llamar a emerge de la siguiente manera:


<console>
<console>
(chroot) # ##i##emerge packagename
(chroot) # ##i##emerge nombredelpaquete
</console>
</console>


When you install a package by specifying its name in the command-line, Portage records its name in the <code>/var/lib/portage/world</code> file. It does so because it assumes that, since you have installed it by name, you want to consider it part of your system and want to keep the package updated in the future. This is a handy feature, since when packages are being added to the <code>world</code> set, we can update our entire system by typing:
Cuando instalas un paquete especificando su nombre en la línea de comandos, Portage guarda el nombre en el archivo  <code>/var/lib/portage/world/</code>. Esto lo hace porque asume que a partir de que lo instalaste por nombre, lo consideras parte de tu sistema y quieres que sea actualizado en el futuro. Esta es una característica útil porque una vez que los paquetes han sido añadidos al cojunto <code>world</code>. Podemos actualizar el sistema simplemente tecleando:


<console>
<console>
Line 716: Line 711:
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.


=== Configuring your network ===  
=== Configurando la red ===  


It's important to ensure that you will be able to connect to your local-area network after you reboot into Funtoo Linux. There are three approaches you can use for configuring your network: NetworkManager, dhcpcd, and the [[Funtoo Linux Networking]] scripts. Here's how to choose which one to use based on the type of network you want to set up.
Es importante asegurar que podrás conectarte a la red local después de que reinicies a Funtoo Linux. Hay tres opciones que puedes usar para configurar tu red: NetworkManager, dhcpcd, y los scripts  [[Funtoo Linux Networking]]. A continuación explicamos cómo escoger cuál opción según en el tipo de red que quieres establecer.


==== Wi-Fi ====
==== Wi-Fi ====
Line 736: Line 731:
==== Escritorio (DHCP Cableado) ====  
==== Escritorio (DHCP Cableado) ====  


For a home desktop or workstation with wired Ethernet that will use DHCP, the simplest and most effective option to enable network connectivity is to simply add {{c|dhcpcd}} to the default runlevel:
Para un usuario de escritorio o estación de trabajo de casa con un Ethernet cableado que va a usar DHCP, la opción más simple y efectiva para activar la conectividad de red es simplemente agregar {{c|dhcpd}} al runlevel por omisión:


{{console|body=
{{console|body=(chroot) # ##i##rc-update add dhcpcd default}}
(chroot) # ##i##rc-update add dhcpcd default}}
Cuando reinicies. {{c|dhcpcd}} correrá en segundo plano y manejará todas las interfaces de red y usará DHCP para obtener direcciones de red de un servidor DHCP.
When you reboot, {{c|dhcpcd}} will run in the background and manage all network interfaces and use DHCP to acquire network addresses from a DHCP server.


If your upstream DHCP server is dnsmasq, it can be configured to assign addresses via mac address to make servers on DHCP feasible.
Si tu servidor DHCP principal es dnsmasq, puede ser configurado para asignar direcciones por medio de la dirección mac para hacer a los servidores en DHCP factibles.


==== Server (Static IP) ====
==== Servidor (IP Estática) ====


For servers, the [[Funtoo Linux Networking]] scripts are recommended. They are optimized for static configurations and things like virtual ethernet bridging for virtualization setups. See [[Funtoo Linux Networking]] for information on how to use Funtoo Linux's template-based network configuration system.
For servers, the [[Funtoo Linux Networking]] scripts are recommended. They are optimized for static configurations and things like virtual ethernet bridging for virtualization setups. See [[Funtoo Linux Networking]] for information on how to use Funtoo Linux's template-based network configuration system.


==== Hostname ====
==== Hostname ===
By default Funtoo uses "localhost" as hostname. Although the system will work perfectly fine using this name, some ebuilds refuse to install when detecting localhost as hostname. It also may create confusion if several systems use the same hostname. Therefore, it is advised to change it to a more meaningful name. The hostname itself is arbitrary, meaning you can choose almost any combination of characters, as long as it makes sense to the system administrator. To change the hostname, edit
por defecto Funtoo usa "localhost" como hostname. Aunque el sistema trabajará perfectamente con este nombre , algunos ebuilds se reusan a instalar cuando detectan localhost como hostname. Esto causa confusión si muchos sistemas usan el mismo hostname. Por tanto es recomendable cambiarlo a un nombre más significativo. El hostname por si mismo es arbitrario, implicando que puedes elegir cualquier combinación de caracteres, siempre y cuando tenga sentido para el administrador del sistema. Para cambiar el hostname edita


{{console|body=
{{console|body=
Line 760: Line 754:
{{tip|Use short hostnames (up to 8 or 10 characters) to prevent the terminal screen being filled with the hostname, leaving little space for the command itself. This become particularly poignant when coding long command strings in various programming languages like Bash, Python, SQL and Perl}}
{{tip|Use short hostnames (up to 8 or 10 characters) to prevent the terminal screen being filled with the hostname, leaving little space for the command itself. This become particularly poignant when coding long command strings in various programming languages like Bash, Python, SQL and Perl}}


=== Finishing Steps ===
=== Últimos detalles ===
==== Set your root password ====  
==== Establecer tu contraseña de root ====
It's imperative that you set your root password before rebooting so that you can log in.
Es un requisito que establezcas una contraseña para root antes de reinicar, para que puedas hacer login.
<console>
<console>
(chroot) # ##i##passwd
(chroot) # ##i##passwd
</console>
</console>


===Restart your system ===  
=== Reinicia tu sistema ===  


Now is the time to leave chroot, to unmount Funtoo Linux partitions and files and to restart your computer. When you restart, the GRUB boot loader will start, load the Linux kernel and initramfs, and your system will begin booting.
Now is the time to leave chroot, to unmount Funtoo Linux partitions and files and to restart your computer. When you restart, the GRUB boot loader will start, load the Linux kernel and initramfs, and your system will begin booting.
Line 779: Line 773:
</console>
</console>


{{fancynote|System Rescue CD will gracefully unmount your new Funtoo filesystems as part of its normal shutdown sequence.}}
{{fancynote|El System Rescue CD desmontará en forma segura tus nuevos sistemas de archivos Funtoo como parte de su secuencia normal de apagado.}}


You should now see your system reboot, the GRUB boot loader appear for a few seconds, and then see the Linux kernel and initramfs loading. After this, you should see Funtoo Linux itself start to boot, and you should be greeted with a <code>login:</code> prompt. Funtoo Linux has been successfully installed!
Ahora deberás ver arrancar tu sistema, el arrancador GRUB aparecerá durante unos segunos y después verás cargándose el kernel de Linux y el initramfs. Después de esto, deberás ver el mismo Funtoo Linux iniciando, y dará la bienvenida con un mensaje <code>login:</code>. ¡Funtoo Linux ha sido instalado exitosamente!


=== Profiles ===  
=== Perfiles ===  


Once you have rebooted into Funtoo Linux, you can further customize your system to your needs by using [[Funtoo Profiles]]. A quick introduction to profiles is included below -- consult the [[Funtoo Profiles]] page for more detailed information. There are five basic profile types: arch, build, subarch, flavors and mix-ins:
Una vez que haz reiniciado a Funtoo Linux, puedes ajustar más tu sistema a tus necesidades usando [[Funtoo Profiles]]. Abajo se incluye una breve introducción a los perfiles - consulta la página [[Funtoo Profiles]] para información más detallada. Hay cinco tipos básicos de perfiles: arch, build, subarch, flavors y mix-ins.


{{TableStart}}
{{TableStart}}
Line 796: Line 790:
{{TableEnd}}
{{TableEnd}}


One arch, build and flavor must be set for each Funtoo Linux system, while mix-ins are optional and you can enable more than one if desired. Often, flavors and mix-ins inherit settings from other sub-profiles. Use {{c|epro show}} to view your current profile settings, in addition to any inheritance information:
Para cada sistema Funtoo Linux deben escogerse una arquitectura, rama y sabor, las combinaciones son opcionales y puedes habilitar más de una si lo deseas. Con frecuencia, los sabores y las combinaciones heredan los ajustes de otros sub-perfiles. Usa {{c|epro show}} para ver los ajustes actuales de tu perfil, además de cualquier información heredada.
{{console|body=
{{console|body=
(chroot) # ##i## epro show
(chroot) # ##i## epro show
Line 831: Line 825:
                           ##c##print##!c## (from desktop flavor)
                           ##c##print##!c## (from desktop flavor)
}}
}}
Here are some basic examples of {{c|epro}} usage:
He aquí algunos ejemplos básicos de uso de {{c|epro}}:
{{TableStart}}
{{TableStart}}
{{2ColHead|Description|Command}}
{{2ColHead|Descripción|Comando}}
{{2Col|View available profiles. Enabled profiles will be highlighted in cyan. Directly enabled profiles will be in bold and have a {{c|*}} appended.|{{console|body=(chroot) # ##i##epro list}}}}
{{2Col|Ver perfiles disponibles. Los perfiles activados estarán resaltados en cyan. Los perfiles directamente activados estarán en negritas y tendrán un {{c|*}} anexado.|{{console|body=(chroot) # ##i##epro list}}}}
{{2Col|Change the system flavor.|{{console|body=(chroot) # ##i##epro flavor desktop}}}}
{{2Col|Cambia el sabor del sistema.|{{console|body=(chroot) # ##i##epro flavor desktop}}}}
{{2Col|Add a mix-in.|{{console|body=(chroot) # ##i##epro mix-in +gnome}}}}
{{2Col|Agregar un mix-in.|{{console|body=(chroot) # ##i##epro mix-in +gnome}}}}
{{TableEnd}}
{{TableEnd}}


===Next Steps===  
=== Pasos Siguientes ===  


Si eres nuevo en Funtoo Linux y Gentoo Linux, por favor checa [[Funtoo Linux First Steps]], que te ayudará a faimiliarizarte con tu nuevo sistema. Tambien tenemos una categoría para nuestra  [[:Category:Official Documentation|oficial]], que incluye todos los documentos que mantenemos oficialmente para esta instalación y la operación de Funtoo Linux.
Si eres nuevo en Funtoo Linux y Gentoo Linux, por favor checa [[Funtoo Linux First Steps]], que te ayudará a faimiliarizarte con tu nuevo sistema. Tambien tenemos una categoría para nuestra  [[:Category:Official Documentation|oficial]], que incluye todos los documentos que mantenemos oficialmente para esta instalación y la operación de Funtoo Linux.


We also have a number of pages dedicated to setting up your system. See [[:Category:First Steps|First Steps]] for a list of these pages.
Tambieén tenemos varias páginas dedicadas a configurar tu sistema. Ve [[:Category:First Steps|First Steps]] para una lista de estas páginas.


If your system did not boot correctly, see [[Installation Troubleshooting]] for steps you can take to resolve the problem.
Si tu sistema no arrancó correctamente, ve [[Installation Troubleshooting]] para los pasos que puedes hacer para resolver el problema.
[[Category:HOWTO]]
[[Category:HOWTO]]
[[Category:Install]]
[[Category:Install]]
[[Category:Official Documentation]]
[[Category:Official Documentation]]

Revision as of 01:10, February 7, 2016

Install Funtoo Linux

Other languages:
Deutsch • ‎English • ‎Türkçe • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎slovenčina • ‎Ελληνικά • ‎русский • ‎українська • ‎հայերեն • ‎עברית • ‎ไทย • ‎中文(中国大陆)‎ • ‎中文(台灣)‎ • ‎日本語 • ‎한국어
   {{{title}}}
{{{body}}}

Introducción

Este documento ha sido escrito para ayudarte a instalar Funtoo Linux en sistemas compatibles con PC, manteniendo opciones distractoras pertinentes a la configuración del sistema al mínimo.

Si tienes experiencia previa instalando Gentoo Linux, entonces muchos pasos te serán familiares, pero aun asi debes leerla, ya que hay algunas diferencias. Si eres nuevo instalando un Linux basado en Gentoo o totalmente nuevo en Linux - ¡Bienvenidos! Hemos intentado hacer estas instrucciones de instalación comprensibles para los nuevos usuarios también.

Template:Nota

Resumen de Instalación

Este es el resumen básico del proceso de instalación de Funtoo:

  1. Descarga y arranca el live CD de tu elección.
  2. Prepara tu disco.
  3. Crea y monta el sistema de archivos.
  4. Instala el Stage 3 tarball de tu elección.
  5. Inicia un Chroot en tu nuevo sistema.
  6. Descarga el árbol de Portage.
  7. Configura tu sistema y red.
  8. Instala un kernel.
  9. Instala un gestor de arranque.
  10. Completa los pasos finales.
  11. Reinicia y disfruta.

Live CD

Para instalar Funtoo Linux, primero necesitas arrancar la computadora mediante un Live CD de un sistema basado en Linux o un Live USB. Recomendamos el System Rescue CD basado en Gentoo, ya que contiene una gran cantidad de herramientas y utilidades y soporta tanto sistemas de 32 bits como de 64 bits. Se puede grabar en un CD/DVD o instalarlo en una memoria USB. Descárgalo aquí:

Template:Nota

Acceso a la Red

Una vez que haya arrancado System Rescue CD, vea si tiene acceso a Internet. Se requiere acceso a Internet para la instalación Funtoo Linux:

root # ping www.google.com
PING www.google.com (216.58.217.36) 56(84) bytes of data.
64 bytes from den03s10-in-f4.1e100.net (216.58.217.36): icmp_seq=1 ttl=57 time=30.1 ms

Si el ping es satisfactorio (mirarás 64 bytes mensajes como el anterior,) entonces tu Red estara configurada. Presiona Control-C para detener el ping.

Si necesitas configurar una conexión WiFi para acceso a internet, entonces se será necesario usar el entorno gráfico del System Rescue CD. Ejecuta startx para iniciar una sesión gráfica.

root # startx
caption

Entonces, usa el complemento de NetworkManager (icono en en la parte inferior derecha de la sesión gráfica, en la barra de tareas) para conectarte a una Red WiFi de tu elección. Luego, abre una terminal dentro de entorno gráfico, y deberías estar en condiciones de usar la terminal para completar el resto de los pasos.

Instalación Remota

Alternativamente, puedes iniciar sesión dentro de System Rescue CD por red via SSH para realizar la instalación desde otra computadora, este puede ser el mejor camino para instalar Funtoo Linux.

Si desea completar la instalación remotamente, así es como: Primero, necesitarás asegurarte que System Rescue CD tiene una conexión de red funcional. Entonces, necesitarás configurar una contraseña para root en System Rescue CD:

root # passwd
New password: ********
Retype new password: ********
passwd: password updated successfully

Una vez que has escrito la contraseña, ahora necesitarás determinar la dirección IP de System Rescue CD y entonces usa ssh para conectarte. Para saber la dirección IP usada por System Rescue CD, escribe ifconfig:

root # ifconfig

Una de las interfaces tendrá una dirección IP (listada como inet addr:) de tu LAN. Puedes entonces conectarte remotamente desde otro sistema de tu LAN a System Rescue CD, y realizar los pasos desde la comodidad de un sistema operativo existente. Desde tu sistema remoto, escribe lo siguiente, reemplazando 1.2.3.4 con la dirección IP de System Rescue CD. Conectándote desde un sistema Linux o MacOS luciría así:

(remote system) $ ssh root@1.2.3.4
Password: **********
   Note

Si quieres conectarte remotamente desde un sistema Microsoft Windows existente, necesitarás descargar un cliente SSH para Windows, como PuTTY.

Después de conectarte via SSH, estarás conectado remotamente a System Rescue CD y podrás realizar los pasos de instalación.

Preparar Disco Duro

En esta sección, vamos a aprender acerca de las diferentes maneras en que Funtoo Linux puede arrancar desde un disco duro. Por arrancar "boot", nos referimos al proceso por el que Linux se inicia después de pulsar el botón de encendido en el pc de escritorio, portátil o servidor. Usted puede pensar en "arranque" como un proceso que se inicia con el firmware de su computadora (software incorporado) en marcha, y luego "encontrar" el núcleo de Linux y ejecutarlo. El kernel de Linux y luego se hace cargo, identifica todo el hardware y comienza.

Antecedentes

   Note
Si eres un principiante absoluto a Linux, puede ser menos confuso si se salta a la siguiente sección,Which to Use?

En épocas anteriores, sólo había una manera de arrancar un ordenador compatible con PC. Todos nuestros equipos de sobremesa y servidores tenían firmware estándar llamado "BIOS del PC," todos los discos duros utilizaban Master Boot Records en el inicio del disco duro, donde el BIOS de la PC era "buscar" para encontrar código del gestor de arranque que a la vez carga Linux y nuestros discos duros se dividen en diferentes regiones utilizando el esquema de partición MBR estándar. Eso fue la antigua manera. Y nos gustó de esa manera!

Luego, llegó EFI y de UEFI, que son de firmware nuevo estilo diseñado para arrancar los sistemas, junto con las tablas de particiones GPT para definir las particiones de disco en los discos de más de 2,2 TB. De repente, tuvimos una gran variedad de opciones para instalar y arrancar los sistemas Linux, convirtiendo lo que antes era un solo método para instalar en algo mucho más complejo.

Tomemos un momento para revisar las opciones disponibles para usted para configurar un disco duro para arrancar Funtoo Linux. Esta Guía de instalación utiliza y recomienda, el método de la vieja escuela de arranque del BIOS y el uso de un MBR. Funciona y (salvo casos excepcionales) se admite universalmente. No hay nada malo en ello. Si su disco de sistema es de 2 TB o más pequeño en tamaño, no le impide el uso de toda la capacidad de su disco.

Sin embargo, hay algunas situaciones en las que el método de la vieja escuela de instalación por medio del BIOS, no es óptima. Si usted tiene un disco duro de sistema> 2 TB de tamaño, con particiones MBR no permitirá acceder a toda su capacidad de almacenamiento. Así que esa es una de las razones. Otra razón es que hay algunos de los llamados sistemas de "PC" por ahí que no son compatibles con el arranque de BIOS ya, y se obliga a utilizar UEFI para arrancar. Así que, por compasión hacia las personas que caen en esta situación, esta Guía de instalación documentos UEFI arranque también.

Nuestra recomendación es todavía ir de la vieja escuela a menos que tenga razones para no hacerlo. El gestor de arranque que usaremos para cargar el kernel de Linux en esta guía se llama GRUB, así que llame a este método, el BIOS + GRUB (MBR) 'método'. Es el método tradicional de la creación de un sistema compatible con PC para arrancar Linux.

Si usted necesita utilizar UEFI para arrancar, no recomendamos utilizar el MBR en absoluto para el arranque, ya que algunos sistemas soportan esto, pero otros no lo hacen. En lugar de ello, le recomendamos que utilice UEFI para arrancar GRUB, que a su vez cargar Linux. Nos referimos a este método como el UEFI + GRUB (GPT) método.

Y sí, hay más métodos, algunas de las cuales están documentadas en el Métodos de arranque página. Se utilizó para recomendar un método 'GRUB + BIOS (GPT)' pero no es compatible consistentemente a través de una amplia variedad de hardware.

¿Cuál Usar?

'La gran pregunta es - el método de arranque que se debe utilizar?' Así es como para decir.

Principio 1 - Old School
Si puede arrancar con fiabilidad Rescue System CD y te muestra un menú de color azul claro inicial, va a iniciar el CD con el BIOS, y es probable que por lo tanto puede arrancar Funtoo Linux usando el BIOS. Por lo tanto, ir de la vieja escuela y el uso arranque de BIOS, a menos que usted tiene alguna razón para utilizar UEFI, como tener un> disco del sistema 2.2TB. En ese caso, véase el Principio 2, ya que su sistema puede soportar el arranque UEFI.
Principio 2 - New School
Si puede arrancar con fiabilidad Rescue System CD y te muestra un menú en blanco y negro inicial - felicitaciones, el sistema está configurado para soportar el arranque UEFI. Esto significa que usted está listo para instalar Funtoo Linux para arrancar a través de UEFI. Su sistema aún puede soportar el arranque de BIOS, pero sólo puede intentar primero UEFI. Usted puede hurgar en la configuración de inicio del BIOS y jugar con esto.

Template:Nota

Para instalar Funtoo Linux para arrancar a través del método de UEFI Nueva Escuela, debe arrancar System Rescue CD utilizando UEFI. Si arranca con éxito sysresccd con UEFI, verá una pantalla en blanco y negro inicial para seleccionar el modo en el que va a arrancar cd de boot system rescue. De lo contrario, si usted ve una pantalla azul con el texto negro, UEFI no será activa y usted no será capaz de configurar el arranque UEFI más adelante en el proceso de instalación!

Template:Nota

Método de la Vieja Escuela (BIOS/MBR)

Template:Nota

En primer lugar, es una buena idea para asegurarse de que ha encontrado el disco duro correcto para particionar. Trate este comando y verifique que / dev / sda es el disco que desea particionar:

root # fdisk -l /dev/sda

Disk /dev/sda: 640.1 GB, 640135028736 bytes, 1250263728 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: gpt

root #         Start          End    Size  Type            Name
 1         2048   1250263694  596.2G  Linux filesyste Linux filesystem

Ahora, se recomienda que borre cualquier MBR existente o tablas de particiones GPT en el disco, lo que podría confundir a la BIOS del sistema durante el arranque. Esto se logra mediante sgdisk: Template:Advertencia

root # sgdisk --zap-all /dev/sda

Creating new GPT entries.
GPT data structures destroyed! You may now partition the disk using fdisk or
other utilities.

Esta salida no es algo de lo que debas preocuparte, siendo que el comando tuvo éxico:

***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format
in memory. 
***************************************************************

Ahora vamos a usar fdisk para crear la table de partición MBR y las particiones:

root # fdisk /dev/sda

Dentro de fdisk, sigue estos pasos:

Vaciar la tabla de particiones:

Command (m for help): o ↵

Crear partición 1 (boot):

Command (m for help): n ↵
Partition type (default p): 
Partition number (1-4, default 1): 
First sector: 
Last sector: +128M ↵

Crear partición 2 (swap):

Command (m for help): n ↵
Partition type (default p): 
Partition number (2-4, default 2): 
First sector: 
Last sector: +2G ↵
Command (m for help): t ↵ 
Partition number (1,2, default 2): 
Hex code (type L to list all codes): 82 ↵

Crear la partición de root:

Command (m for help): n ↵
Partition type (default p): 
Partition number (3,4, default 3): 
First sector: 
Last sector: 

Verificar la tabla de particiones:

Command (m for help): p

Disk /dev/sda: 298.1 GiB, 320072933376 bytes, 625142448 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x82abc9a6

Device    Boot     Start       End    Blocks  Id System
/dev/sda1           2048    264191    131072  83 Linux
/dev/sda2         264192   4458495   2097152  82 Linux swap / Solaris
/dev/sda3        4458496 625142447 310341976  83 Linux

Escribir la tabla de particiones al disco:

Command (m for help): w

Tu nueva tabla de particiones MBR será ahora escrita a tu disco de sistema.

   Note

¡Ya terminaste con las particiones! Ahora, brinca a Creando sistemas de archivos.

Método de la Nueva-Escuela (UEFI/GPT)

   Note

Usa este método si te interesas en iniciar usando UEFI, y si el menú de inicio del System Rescue CD fue blanco y negro. Si fue azul claro, este método no funcionará.

Los comandos de gdisk para crear una tabla de particiones GPT son los siguientes. Adapta los tamaños según sea necesario, aunque estos valores por omisión funcionarán para la mayoría de los usuarios. Inicia gdisk:

root # gdisk /dev/sda

Dentro de gdisk, sigue los siguientes pasos:

Crea una nueva tabla de particiones (Ésto borrará todos los datos en tu disco cuando guardes):

Command: o ↵
This option deletes all partitions and creates a new protective MBR.
Proceed? (Y/N): y ↵

Crear la Partición 1 (boot):

Command: n ↵
Partition Number: 1 ↵
First sector: 
Last sector: +500M ↵
Hex Code: EF00 ↵

Crear Partición 2 (swap):

Command: n ↵
Partition Number: 2 ↵
First sector: 
Last sector: +4G ↵
Hex Code: 8200 ↵

Crea Partición 3 (root):

Command: n ↵
Partition Number: 3 ↵
First sector: 
Last sector:  (for rest of disk)
Hex Code: 

Durante este proceso puedes teclear "p" y presionar Enter para visualizar la tabla de particiones actuales. Sí cometes algún error, puedes teclear "d" para borrar una partición existente que fue creada por error previamente. Cuando estas de acuerdo con las particiones creadas puedes teclear "w" para grabar la configuración en disco:

Escribir la Tabla de Particiones en Disco:

Command: w ↵
Do you want to proceed? (Y/N): Y ↵

La tabla de particiones ahora estará escrita en disco, puedes presionar gdisk para cerrar

Ahora, tus particiones GPT/GUID han sido creadas, y se mostrarán como los siguientes dispositivos de bloque bajo Linux:

  • /dev/sda1, el cual será usado para mantener el sistema de archivos /boot,
  • /dev/sda2, el cual será usado por el espacio swap, y
  • /dev/sda3, que mantendrá tu sistema de archivos.
   Tip

Puedes verificar que los dispositivos de bloque anteriores hayan sido creados correctamente corriendo el comando lsblk.

Creando sistemas de archivos

   Note

Esta sección cubre instalaciones con BIOS y" con UEFI. ¡No te la saltes!

Antes de tu que las recientes particiones sean usadas, los dispositivos de bloque que fueron creados previamente en el paso anterior deben de ser inicializados con el filesystem "metadata". Este proceso es conocido como 'creación de archivos de sistema" en los dispositivos de bloque, estos pueden ser montados y usados para almacenar archivos.

Vamos a mantener esto simple. ¿Estás usando particiones MBR de la vieja escuela? Si es así, vamos a crear un sistema de archivos ext2 en /dev/sda1:

root # mkfs.ext2 /dev/sda1

Si estas usando las particiones de la nueva escuela GPT para UEFI, querrás crear un sistema de archivos vfat en /dev/sda1, porque esto es lo que UEFI será capaz de leer.

root # mkfs.vfat -F 32 /dev/sda1

Ahora, vamos a crear una partición swap. Esta partición será usada como memoria virtual basada en disco para tu sistema Linux Funtoo.

En la partición de swap no crearemos un sistema de archivos, dado que no se usa para guardar archivos. Sin embargo es necesario inicializarla usando el comando mkswap. Después correremos el comando swapon para activar inmediatamente en el entorno del CD live tu espacio swap recién inicializado, en caso de que sea necesario durante el resto del proceso de instalación.

root # mkswap /dev/sda2
root # swapon /dev/sda2

Ahora, necesitamos crear un sistema de archivos root. Aquí es donde Funtoo Linux vive. Nosotros generalmente recomendamos ext4 o XFS para sistemas de archivos root. Si no estas seguro, elige ext4. Aquí esta como crear un sistema de archivos root ext4.

root # mkfs.ext4 /dev/sda3

...y aquí esta como crear un sistema de archivos root XFS, si prefieres usar XFS en lugar de ext4

root # mkfs.xfs /dev/sda3

Tus sistemas de archivos (y swap) han sido inicializados, así que pueden ser montados (apegados a tu jerarquía de directorios existente) y usados para guardar archivos. Estamos listos para comenzar la instalación de Funtoo Linux usando nuestro sistema de archivos nuevecitos.

   Warning

cuando se despliega un host OpenVZ, por favor usa ext4 exclusivamente. El equipo de desarrollo paralelorealiza pruebas extensas con ext4, y versiones actuales de openvz-rhel6-stable son no compatibles con XFS, y puedes experimentar algunos bugs del kernel.

Montando el sistema de archivos

Monta los nuevos-creados systemas de archivos de la manera siguiente, creando /mnt/funtoo y el punto de montaje de instalación

root # mkdir /mnt/funtoo
root # mount /dev/sda3 /mnt/funtoo
root # mkdir /mnt/funtoo/boot
root # mount /dev/sda1 /mnt/funtoo/boot

Opcionalmente, si tienes un sistema de archivos separado para /home o cualquier otro:

root # mkdir /mnt/funtoo/home
root # mount /dev/sda4 /mnt/funtoo/home

Si tu tienes /tmp o /var/tmp en sistema de archivo separado, asegurate de cambiar el permiso de el punto de montaje para que sea escritura-global despues del montaje. de la manera siguiente:

root # chmod 1777 /mnt/funtoo/tmp

Configurar la fecha y hora

{ { Importante | Si la fecha y hora del sistema estan incorrectos por mucho tiempo ( típicamente por meses o años ), entonces se puede prevenirla descarga de algunos archivos de código fuente correctamente al uaar Portage . Esto se debe a que algunas de nuestros código fuente se descargan a través de HTTPS , los cuales utilizan certificados SSL y están marcados con una fecha de activación y expiración . Sin embargo, si la hora del sistema está relativamente cercana a la hora correcta , probablemente puede saltarse este paso por ahora . } }

ahora es buen tiempo de verificar que la fecha y hora sean correctos a UTC. puedes usa el comando date para verificar estos valores

root # date
Fri Jul 15 19:47:18 UTC 2011

Sí es necesario corregir la fecha o la hora, puedes hacerlo escribiendo date MMDDhhmmYYYY, ten en cuenta que hhmm tiene formato de 24-horas. El ejemplo de abajo cambia la fecha y la hora a "July 16th, 2011 @ 8:00PM" UTC:

root # date 071620002011
Fri Jul 16 20:00:00 UTC 2011

Después que has configurado la fecha y hora del sistema, es buena idea copiar estos datos al reloj de hardware para que los datos persistan después de un reinicio

root # hwclock --systohc

Instalando la Stage 3 tarball

Now that filesystems are created and your hardware and system clock are set, the next step is downloading the initial Stage 3 tarball. The Stage 3 is a pre-compiled system used as a starting point to install Funtoo Linux. Notice: if you're using virtual machines (like Vbox) generic stage3 images are preferred rather than cpu-optimized ones.

To download the correct build of Funtoo Linux for your system, head over to the Subarches page. Subarches are builds of Funtoo Linux that are designed to run on a particular type of CPU, to offer the best possible performance. They also take advantage of the instruction sets available for each CPU.

The Subarches page lists all CPU-optimized versions of Funtoo Linux. Find the one that is appropriate for the type of CPU that your system has, and then click on its name in the first column (such as corei7, for example.) You will then go to a page dedicated to that subarch, and the available stage3's available for download will be listed.

Para la mayoría de las sub-búsquesa , se tendrán varios stage3 específicos diaponibles para elegir. La siguiente sección le ayudará a entender cuál escoger.

¿Qué Rama?

Si no sabes cual, escoge funtoo-current.

Funtoo Linux tiene varias diferentes 'ramas':

RamaDescripción
funtoo-currentLa rama más comúnmente utilizada en Funtoo Linux. Recibe actualizaciones rápidas y es preferida por usuarios de escritorio.
funtoo-stableEnfatiza en actualizaciones menos frecuentes y versiones confiables y fidedignas de los paquetes por encima de las más recientes.

¿Qué Variante?

Si no está seguri, seleccione estandae.

Nuestras stage3's "regulares" están listadas con una variante de standard. Las siguientes variantes de builds están disponibles:

VariantDescription
standardThe "standard" version of Funtoo Linux
pure64A 64-bit build that drops multilib (32-bit compatibility) support. Can be ideal for server systems.
hardenedIncludes PIE/SSP toolchain for enhanced security. PIE does require the use of PaX in the kernel, while SSP works with any kernel, and provides enhanced security in user-space to avoid stack-based exploits. For expert users.

Descarga el Stage 3

Once you have found the stage3 that you would like to download, use wget to download the Stage 3 tarball you have chosen to use as the basis for your new Funtoo Linux system. It should be saved to the /mnt/funtoo directory as follows:

root # cd /mnt/funtoo
root # wget http://build.funtoo.org/funtoo-current/x86-64bit/generic_64/stage3-latest.tar.xz

Note that 64-bit systems can run 32-bit or 64-bit stages, but 32-bit systems can only run 32-bit stages. Make sure that you select a Stage 3 build that is appropriate for your CPU. If you are not certain, it is a safe bet to choose the generic_64 or generic_32 stage. Consult the Subarches page for more information.

Una vez que la etapa es descargada, extraiga el contenido usando el siguiente comando, sustituyendo el nombre actual de la etapa 3 tarball:

root # tar xpf stage3-latest.tar.xz

Template:Importante

Chroot into Funtoo

To install Funtoo Linux, the chroot command is first used. The chroot command will "switch into" the new Funtoo Linux system, so the commands you execute after running "chroot" will run within your newly-extracted Funtoo Linux system.

Before chrooting, there are a few things that need to be done to set up the chroot environment. You will need to mount /proc, /sys and /dev inside your new system. Use the following commands to do so:

root # cd /mnt/funtoo
root # mount -t proc none proc
root # mount --rbind /sys sys
root # mount --rbind /dev dev

Usted también querrá copiar sobre resolv.conf con el propósito de tener resultados apropiado del Internet hostname desde adentro del chroot:

root # cp /etc/resolv.conf /mnt/funtoo/etc/

Now you can chroot into your new system. Use env before chroot to ensure that no environment settings from the installation media are pulled in to your new system:

root # env -i HOME=/root TERM=$TERM chroot . bash -l
   Note

For users of live CDs with 64-bit kernels installing 32-bit systems: Some software may use uname -r to check whether the system is 32 or 64-bit. You may want append linux32 to the chroot command as a workaround, but it's generally not needed.

   Important

If you receive the error "chroot: failed to run command `/bin/bash': Exec format error", it is most likely because you are running a 32-bit kernel and trying to execute 64-bit code. Make sure that you have selected the proper type of kernel when booting SystemRescueCD.

It's also a good idea to change the default command prompt while inside the chroot. This will avoid confusion if you have to change terminals. Use this command:

root # export PS1="(chroot) $PS1"

Test internet name resolution from within the chroot:

root # ping -c 5 google.com

If you can't ping, make sure /etc/resolv.conf doesn't contain things like 127.0.x.x addresses, if it does, change the 127.0.x.x entry to 8.8.8.8 -- Google's public dns address. Make sure to replace this with your dns of choice once the system is installed.


Congratulations! You are now chrooted inside a Funtoo Linux system. Now it's time to get Funtoo Linux properly configured so that Funtoo Linux will start successfully, without any manual assistance, when your system is restarted.

Downloading the Portage tree

   Note

For an alternative way to do this, see Installing Portage From Snapshot.

Now it's time to install a copy of the Portage repository, which contains package scripts (ebuilds) that tell portage how to build and install thousands of different software packages. To create the Portage repository, simply run emerge --sync from within the chroot. This will automatically clone the portage tree from GitHub:

(chroot) # emerge --sync
   Important

If you receive the error with initial emerge --sync due to git protocol restrictions, set the SYNC variable in /etc/portage/make.conf to "https://github.com/funtoo/ports-2012.git"

Configuring your system

As is expected from a Linux distribution, Funtoo Linux has its share of configuration files. The one file you are absolutely required to edit in order to ensure that Funtoo Linux boots successfully is /etc/fstab. The others are optional.

Usando Nano

El editor por omisión incluido en el entorno chroon se llama nano. Para editar uno de los siguientes archivos, ejecuta nano como sigue:

(chroot) # nano /etc/fstab

When in the editor, you can use arrow keys to move the cursor, and common keys like backspace and delete will work as expected. To save the file, press Control-X, and answer y when prompted to save the modified buffer if you would like to save your changes.

Configuration Files

Here are a full list of files that you may want to edit, depending on your needs:

FileDo I need to change it?Description
/etc/fstab YES - required Mount points for all filesystems to be used at boot time. This file must reflect your disk partition setup. We'll guide you through modifying this file below.
/etc/localtime Maybe - recommended Your timezone, which will default to UTC if not set. This should be a symbolic link to something located under /usr/share/zoneinfo (e.g. /usr/share/zoneinfo/America/Montreal)
/etc/make.conf (symlink) - also known as:
/etc/portage/make.conf
Maybe - recommended Parameters used by gcc (compiler), portage, and make. It's a good idea to set MAKEOPTS. This is covered later in this document.
/etc/conf.d/hostname Maybe - recommended Used to set system hostname. Set the hostname variable to the fully-qualified (with dots, ie. foo.funtoo.org) name if you have one. Otherwise, set to the local system hostname (without dots, ie. foo). Defaults to localhost if not set.
/etc/hosts No You no longer need to manually set the hostname in this file. This file is automatically generated by /etc/init.d/hostname.
/etc/conf.d/keymaps Optional Keyboard mapping configuration file (for console pseudo-terminals). Set if you have a non-US keyboard. See Funtoo Linux Localization.
/etc/conf.d/hwclock Optional How the time of the battery-backed hardware clock of the system is interpreted (UTC or local time). Linux uses the battery-backed hardware clock to initialize the system clock when the system is booted.
/etc/conf.d/modules Optional Kernel modules to load automatically at system startup. Typically not required. See Additional Kernel Resources for more info.
/etc/conf.d/consolefont Optional Allows you to specify the default console font. To apply this font, enable the consolefont service by running rc-update add consolefont.
profiles Optional Some useful portage settings that may help speed up intial configuration.

Si estas instalando una version en ingles de Funtoo Linux, tienes suerte, ya que la mayoria de los archivos de configuracion pueden ser usados tal cual. Si estas instalando para otro local , no te preocupes. Te guiaremos a traves de los pasos para la configuracion necesaria en la pagina Funtoo Linux Localization, y de ser necesario, hay siempre una extensa, amigable y servicial comunidad de soporte disponible. (Ver Community)

Let's go ahead and see what we have to do. Use nano -w <name_of_file> to edit files -- the "-w" argument disables word-wrapping, which is handy when editing configuration files. You can copy and paste from the examples.

   Warning

¡Es importante editar tu archivo /etc/fstab antes de que reinicies! Necesitarás modificar las columnas "fs" y "type" para que coincidan con las configuraciones de tus particiones en el sistema de archivos que creaste con gdisk o fdisk. Omitir este paso puede hacer que Funtoo Linux inicie con exito.

/etc/fstab

El archivo /etc/fstab es usado por el comando mount el cual arranca al momento de iniciar tu sistema. Las lineas en este archivo informan a mount del sistema de archivos a ser montado y como estos deberian serlo. Para que el sistema arranque correctamente, debes editar /etc/fstab y asegurarte de que refleja la configuracion que usaste anteriormente en el proceso de instalacion. Si no puedes recordar la configuracion de las particiones que usaste anteriormente, el comando sblk quiza te ayude.

(chroot) # nano -w /etc/fstab
   /etc/fstab - An example fstab file
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
#
# See the manpage fstab(5) for more information.
#
# <fs>	     <mountpoint>  <type>  <opts>         <dump/pass>

/dev/sda1    /boot         ext2    noauto,noatime 1 2
/dev/sda2    none          swap    sw             0 0
/dev/sda3    /             ext4    noatime        0 1
#/dev/cdrom  /mnt/cdrom    auto    noauto,ro      0 0

Template:Nota

   Note

Si estas usando UEFI para iniciar, cambia la línea /dev/sda1 para que diga vfat en lugar de ext2. De forma similar, asegúrate que la línea /dev/sda3 especifique cualquiera xfs o ext4, dependiendo de cual sistema de archivos elejiste antes en el proceso de instalación cuando creaste el sistema de archivos.

/etc/localtime

/etc/localtime es usadado para especificar la zona horaria de tu equipo. Y por omisión de UTC. Si te gustaría que tú sistema Funtoo Linux use la hora local, se debe reemplazar /etc/localtime con una liga símbolica a la zona horaria que desees utilizar.

(chroot) # ln -sf /usr/share/zoneinfo/MST7MDT /etc/localtime

Lo anterior establece la zona horaria a Mountain Standard Time (con horario de verano). Teclea ls /usr/share/zoneinfo para mostrar las zonas horarias disponibles. También hay sub-directorios que contienen zonas horarias descritas por ubicación.

/etc/portage/make.conf

MAKEOPTS can be used to define how many parallel compilations should occur when you compile a package, which can speed up compilation significantly. A rule of thumb is the number of CPUs (or CPU threads) in your system plus one. If, for example, you have a dual core processor without hyper-threading, then you would set MAKEOPTS to 3:

MAKEOPTS="-j3" 

Si tu no estas seguro acerca de cuantos procesadores/hilos tu tienes, entonces usa nproc para ayudarte.

MAKEOPTS="-j17"

USE flags define what functionality is enabled when packages are built. It is not recommended to add a lot of USE flags during installation; you should wait until you have a working, bootable system before changing your USE flags. A USE flag prefixed with a minus ("-") sign tells Portage not to use the flag when compiling. A Funtoo guide to USE flags will be available in the future. For now, you can find out more information about USE flags in the Gentoo Handbook.

LINGUAS tells Portage which local language to compile the system and applications in (those who use LINGUAS variable like OpenOffice). It is not usually necessary to set this if you use English. If you want another language such as French (fr) or German (de), set LINGUAS appropriately:

LINGUAS="fr"

/etc/conf.d/hwclock

If you dual-boot with Windows, you'll need to edit this file and change the value of clock from UTC to local, because Windows will set your hardware clock to local time every time you boot Windows. Otherwise you normally wouldn't need to edit this file.

(chroot) # nano -w /etc/conf.d/hwclock

Localization

By default, Funtoo Linux is configured with Unicode (UTF-8) enabled, and for the US English locale and keyboard. If you would like to configure your system to use a non-English locale or keyboard, see Funtoo Linux Localization.

Introducción a Portage

Portage, el manejador de paquetes de Funtoo Linux tiene un comando llamado emerge que es usado para construir e instalar paquetes desde el código fuente. también de encarga de la instalación de todas las dependendencias del paquete. Puedes llamar a emerge de la siguiente manera:

(chroot) # emerge nombredelpaquete

Cuando instalas un paquete especificando su nombre en la línea de comandos, Portage guarda el nombre en el archivo /var/lib/portage/world/. Esto lo hace porque asume que a partir de que lo instalaste por nombre, lo consideras parte de tu sistema y quieres que sea actualizado en el futuro. Esta es una característica útil porque una vez que los paquetes han sido añadidos al cojunto world. Podemos actualizar el sistema simplemente tecleando:

(chroot) # emerge --sync
(chroot) # emerge -auDN @world

Este es el proceso "oficial" para actualizar tu sistema Funtoo Linux. Arriba, primero actualizamos nuestro árbol Portage usando git para traer nuestros ebuilds (scripts) más recientes, y después executamos un commando emerge para actualizar el conjunto de paquetes world . Las opciones especificadas le indican a emerge:

  • a - show us what will be emerged, and ask us if we want to proceed
  • u - update the packages we specify -- don't emerge them again if they are already emerged.
  • D - Consider the entire dependency tree of packages when looking for updates. In other words, do a deep update.
  • N - Update any packages that have changed (new) USE settings.

You should also consider passing --with-bdeps=y when emerging @world, at least once in a while. This will update build dependencies as well.

Of course, sometimes we want to install a package but not add it to the world file. This is often done because you only want the package installed temporarily or because you know the package in question is a dependnecy of another package. If this behavior is desired, you call emerge like this:

(chroot) # emerge -1 packagename

Advanced users may be interested in the Emerge wiki page.

Updating World

Now is actually a very good time to update the entire system and it can be a good idea to do so prior to first boot.

(chroot) # emerge --sync
(chroot) # emerge -auDN @world
   Important

Make sure you read any post emerge messages and follow their instructions. This is especially true if you have upgraded perl or python.

Kernel

Starting mid-May 2015, Funtoo Linux stage3's include a pre-built debian-sources kernel to make installation faster and easier. To see if debian-sources is installed, type:

(chroot) # emerge -s debian-sources
Searching...    
[ Results for search key : debian-sources ]
[ Applications found : 1 ]

*  sys-kernel/debian-sources
      Latest version available: 3.19.3
      Latest version installed: 3.19.3
      Size of files: 81,292 kB
      Homepage:      http://www.debian.org
      Description:   Debian Sources (and optional binary kernel)
      License:       GPL-2

If a version is listed under Latest version installed, then debian-sources is already pre-built for you and you can skip the rest of the Kernel section, and proceed to the Installing a Bootloader section.

Building the Kernel

If you need to build a kernel for Funtoo Linux, please follow these steps:

   Note

See Funtoo Linux Kernels for a full list of kernels supported in Funtoo Linux. We recommend debian-sources for new users.

   Important

debian-sources with binary USE flag requires at least 14GB free in /var/tmp and takes around 1 hour to build on a Intel Core i7 Processor.

Hagamos emerge a nuestro kernel:

(chroot) # emerge debian-sources

Una vez que emerge completa, tendrás instalados en /boot un nuevo kernel y una nueva initramfs , más los encabezados del kernel instalados en /usr/src/linux, y estarás listo para configurar el arrancador para cargar éstos para arrancar tu sistema Funtoo Linux.

   Warning

Si tienes un RAID en tu máquina, la instalación del kernel incluirá la herramienta mdadm como una dependencia. Es importante editar el archivo /etc/mdadm.conf antes de reiniciar la máquina para que el RAID sea reconocido y configurado adecuadamente antes de que el kernel intente montarlo en el árbol. ¡No hacer esto puede resultar en un sistema no utilizable o no arrancable! Para detalles específicos, consulta la página man de mdadm man mdadm o la página de ebuld mdadm .

   Note

NVIDIA card users: the binary USE flag installs the Nouveau drivers which cannot be loaded at the same time as the proprietary drivers, and cannot be unloaded at runtime because of KMS. You need to blacklist it under /etc/modprobe.d/.

   Note

For an overview of other kernel options for Funtoo Linux, see Funtoo Linux Kernels. There may be modules that the Debian kernel doesn't include, a situation where genkernel would be useful. Also be sure to see hardware compatibility information.

Installing a Bootloader

These install instructions show you how to use GRUB to boot using BIOS (old-school) or UEFI (new-school). As of boot-update-1.7.2, now in Portage, the steps are very similar.

First, emerge boot-update. This will also cause grub-2 and efibootmgr to be merged, since they are dependencies:

(chroot) # emerge boot-update

Then, edit /etc/boot.conf using nano and specify "Funtoo Linux genkernel" as the default setting at the top of the file, replacing "Funtoo Linux".

/etc/boot.conf should now look like this:

   /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
}

If you are booting a custom or non-default kernel, please read man boot.conf for information on the various options available to you.

Old School (BIOS) MBR

When using "old school" BIOS booting, run the following command to install GRUB to your MBR, and generate the /boot/grub/grub.cfg configuration file that GRUB will use for booting:

(chroot) # grub-install --target=i386-pc --no-floppy /dev/sda
(chroot) # boot-update

New School (UEFI) Boot Entry

If you're using "new school" UEFI booting, run of the following sets of commands, depending on whether you are installing a 64-bit or 32-bit system. This will add GRUB as a UEFI boot entry.

For x86-64bit systems:

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

For x86-32bit systems:

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

First Boot, and in the future...

OK -- you are 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.

Configurando la red

Es importante asegurar que podrás conectarte a la red local después de que reinicies a Funtoo Linux. Hay tres opciones que puedes usar para configurar tu red: NetworkManager, dhcpcd, y los scripts Funtoo Linux Networking. A continuación explicamos cómo escoger cuál opción según en el tipo de red que quieres establecer.

Wi-Fi

For laptop/mobile systems where you will be using Wi-Fi, roaming, and connecting to various networks NetworkManager is strongly recommended. Since Wi-Fi cards require firmware to operate, it is also recommended that you emerge the linux-firmware ebuild:

(chroot) # emerge linux-firmware networkmanager
(chroot) # rc-update add NetworkManager default

The above command will ensure that NetworkManager starts after you boot into Funtoo Linux. Once you've completed these installation steps and have booted into Funtoo Linux, you can use the addwifi command to connect to a Wi-Fi access point:

root # addwifi -S wpa -K 'wifipassword' mywifinetwork

For more information about NetworkManager, see the NetworkManager package page.

   Note

wpa_supplicant is also a good choice for wireless network connections. See the net-wireless/wpa_supplicant package for steps involved in setting up wpa_supplicant.

Escritorio (DHCP Cableado)

Para un usuario de escritorio o estación de trabajo de casa con un Ethernet cableado que va a usar DHCP, la opción más simple y efectiva para activar la conectividad de red es simplemente agregar dhcpd al runlevel por omisión:

(chroot) # rc-update add dhcpcd default

Cuando reinicies. dhcpcd correrá en segundo plano y manejará todas las interfaces de red y usará DHCP para obtener direcciones de red de un servidor DHCP.

Si tu servidor DHCP principal es dnsmasq, puede ser configurado para asignar direcciones por medio de la dirección mac para hacer a los servidores en DHCP factibles.

Servidor (IP Estática)

For servers, the Funtoo Linux Networking scripts are recommended. They are optimized for static configurations and things like virtual ethernet bridging for virtualization setups. See Funtoo Linux Networking for information on how to use Funtoo Linux's template-based network configuration system.

= Hostname

por defecto Funtoo usa "localhost" como hostname. Aunque el sistema trabajará perfectamente con este nombre , algunos ebuilds se reusan a instalar cuando detectan localhost como hostname. Esto causa confusión si muchos sistemas usan el mismo hostname. Por tanto es recomendable cambiarlo a un nombre más significativo. El hostname por si mismo es arbitrario, implicando que puedes elegir cualquier combinación de caracteres, siempre y cuando tenga sentido para el administrador del sistema. Para cambiar el hostname edita

(chroot) # nano /etc/conf.d/hostname

Look for the line starting with hostname and change the entry between the quotes. Save the file, on the next boot Funtoo will use the new hostname.

   Warning

Do not use special characters in the hostname, as the shell may interpret these, leading to unpredictable results. Use the Latin alphabet: a-z, A-Z, 0-9

   Tip

Use short hostnames (up to 8 or 10 characters) to prevent the terminal screen being filled with the hostname, leaving little space for the command itself. This become particularly poignant when coding long command strings in various programming languages like Bash, Python, SQL and Perl

Últimos detalles

Establecer tu contraseña de root

Es un requisito que establezcas una contraseña para root antes de reinicar, para que puedas hacer login.

(chroot) # passwd

Reinicia tu sistema

Now is the time to leave chroot, to unmount Funtoo Linux partitions and files and to restart your computer. When you restart, the GRUB boot loader will start, load the Linux kernel and initramfs, and your system will begin booting.

Leave the chroot, change directory to /mnt, unmount your Funtoo partitions, and reboot.

(chroot) # exit
root # cd /mnt
root # umount -lR funtoo
root # reboot
   Note

El System Rescue CD desmontará en forma segura tus nuevos sistemas de archivos Funtoo como parte de su secuencia normal de apagado.

Ahora deberás ver arrancar tu sistema, el arrancador GRUB aparecerá durante unos segunos y después verás cargándose el kernel de Linux y el initramfs. Después de esto, deberás ver el mismo Funtoo Linux iniciando, y dará la bienvenida con un mensaje login:. ¡Funtoo Linux ha sido instalado exitosamente!

Perfiles

Una vez que haz reiniciado a Funtoo Linux, puedes ajustar más tu sistema a tus necesidades usando Funtoo Profiles. Abajo se incluye una breve introducción a los perfiles - consulta la página Funtoo Profiles para información más detallada. Hay cinco tipos básicos de perfiles: arch, build, subarch, flavors y mix-ins.

Sub-Profile TypeDescription
archTypically x86-32bit or x86-64bit, this defines the processor type and support of your system. This is defined when your stage was built and should not be changed.
buildDefines whether your system is a current, stable or experimental build. current systems will have newer packages unmasked than stable systems. This is defined when your stage is built and is typically not changed.
subarchDefines CPU optimizations for your system. The subarch is set at the time the stage3 is built, but can be changed later to better settings if necessary. Be sure to pick a setting that is compatible with your CPU.
flavorDefines the general type of system, such as server or desktop, and will set default USE flags appropriate for your needs.
mix-insDefines various optional settings that you may be interested in enabling.

Para cada sistema Funtoo Linux deben escogerse una arquitectura, rama y sabor, las combinaciones son opcionales y puedes habilitar más de una si lo deseas. Con frecuencia, los sabores y las combinaciones heredan los ajustes de otros sub-perfiles. Usa epro show para ver los ajustes actuales de tu perfil, además de cualquier información heredada.

(chroot) #  epro show

=== Enabled Profiles: ===

        arch:  x86-64bit
       build:  current
     subarch:  intel64-haswell
      flavor:  desktop
     mix-ins:  gnome


=== All inherited flavors from desktop flavor: ===

                     workstation (from desktop flavor)
                            core (from workstation flavor)
                         minimal (from core flavor)

=== All inherited mix-ins from desktop flavor: ===

                               X (from workstation flavor)
                           audio (from workstation flavor)
                             dvd (from workstation flavor)
                           media (from workstation flavor)
      mediadevice-audio-consumer (from media mix-in)
                mediadevice-base (from mediadevice-audio-consumer mix-in)
      mediadevice-video-consumer (from media mix-in)
                mediadevice-base (from mediadevice-video-consumer mix-in)
        mediaformat-audio-common (from media mix-in)
          mediaformat-gfx-common (from media mix-in)
        mediaformat-video-common (from media mix-in)
                  console-extras (from workstation flavor)
                           print (from desktop flavor)

He aquí algunos ejemplos básicos de uso de epro:

DescripciónComando
Ver perfiles disponibles. Los perfiles activados estarán resaltados en cyan. Los perfiles directamente activados estarán en negritas y tendrán un * anexado.
(chroot) # epro list
Cambia el sabor del sistema.
(chroot) # epro flavor desktop
Agregar un mix-in.
(chroot) # epro mix-in +gnome

Pasos Siguientes

Si eres nuevo en Funtoo Linux y Gentoo Linux, por favor checa Funtoo Linux First Steps, que te ayudará a faimiliarizarte con tu nuevo sistema. Tambien tenemos una categoría para nuestra oficial, que incluye todos los documentos que mantenemos oficialmente para esta instalación y la operación de Funtoo Linux.

Tambieén tenemos varias páginas dedicadas a configurar tu sistema. Ve First Steps para una lista de estas páginas.

Si tu sistema no arrancó correctamente, ve Installation Troubleshooting para los pasos que puedes hacer para resolver el problema.