Difference between revisions of "User:Vargux/Install"

From Funtoo
Jump to navigation Jump to search
Line 1: Line 1:
[[File:latest-funtoo.png|250px|center]]
<pre style="font: 11px/11px monospace; align=center; -ms-border-radius: 8px; -moz-border-radius: 8px; -webkit-border-radius: 8px; -khtml-border-radius: 8px; -moz-border-radius-topleft:8px; -webkit-border-top-left-radius:8px; border-top-left-radius:8px; -moz-border-radius-topright:8px; -webkit-border-top-right-radius:8px; border-top-right-radius:8px;">
<pre style="font: 11px/11px monospace; align=center; -ms-border-radius: 8px; -moz-border-radius: 8px; -webkit-border-radius: 8px; -khtml-border-radius: 8px; -moz-border-radius-topleft:8px; -webkit-border-top-left-radius:8px; border-top-left-radius:8px; -moz-border-radius-topright:8px; -webkit-border-top-right-radius:8px; border-top-right-radius:8px;">
                                                                                            
                                                                                            
Line 22: Line 21:
                                                                                  
                                                                                  
</pre>
</pre>
 
{|class= "wikitable" width=80%
|-align=center
| colspan=5 | Etimología
| colspan=3 bgcolor=#e3f6ce | Geografía
|-
|-align=center
| bgcolor=#f5f6ce | griego
| bgcolor=#f6e3ce | latín
| bgcolor=#ebedb8 | árabe
| bgcolor=#cccc99 | alemán
| bgcolor=#fcccc1 | inglés
| bgcolor=#cbe2a4 | Países<br/>''Francio, Galio, Germanio, Polonio, Rutenio (Rusia)...''
| bgcolor=#e3f6ce | Lugares<br/>''Europio, Californio, Escandio, Hessio, Tulio (Escandinavia)...''
| bgcolor=#99ef83 | Ciudades <br/>''Darmstadtio, Erbio-Itrio-Terbio-Yterbio, Hafnio (Copenhague), Lutecio (París)...''
|}
{|class= "wikitable" width=80%
|-align=center
| bgcolor=#eef9fa rowspan=2| Astronomía<br/>''Cerio (por [[Ceres (planeta enano)|Ceres]]), Mercurio, Neptunio, Paladio (por [[(2) Pallas|Pallas]]), Plutonio, Uranio...''
| bgcolor=#daf2ec| Mitología<br/>''Helio, Prometio, Tantalio, Titanio, Torio, Vanadio...''
| bgcolor=#fcfcc2| Personas<br/>''Einstenio, Curio, Rutherforio...''
| bgcolor=#f9cfe1| Laboratorio<br/>''Livermorio...''
| bgcolor=#ff6666| Mineral<br/>''Samario (por samarskita)...''
|}
----
[[File:latest-funtoo.png|250px|center]]
{| align=center style="border:0px solid #444488; background:#ffffff; -ms-border-radius: 8px; -moz-border-radius: 8px; -webkit-border-radius: 8px; -khtml-border-radius: 8px; -moz-border-radius-topleft:8px; -webkit-border-top-left-radius:8px; border-top-left-radius:8px; -moz-border-radius-topright:8px; -webkit-border-top-right-radius:8px; border-top-right-radius:8px;padding:0px;"
{| align=center style="border:0px solid #444488; background:#ffffff; -ms-border-radius: 8px; -moz-border-radius: 8px; -webkit-border-radius: 8px; -khtml-border-radius: 8px; -moz-border-radius-topleft:8px; -webkit-border-top-left-radius:8px; border-top-left-radius:8px; -moz-border-radius-topright:8px; -webkit-border-top-right-radius:8px; border-top-right-radius:8px;padding:0px;"
  | width=100%; valign=top |
  | width=100%; valign=top |

Revision as of 23:40, August 19, 2022

                                                                                          
            .`"""^'                                                                       
         ."{z######;                                             ..                       
        `t####cnv#{.                                        .`;?t/.                       
       `c###}'   ..                                         ^####/.                       
       :####`                                               ^####/.    .i))1I. .l111>.    
   .1\\r####t\\\>.  `\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\f####u<~~~~u)' 'tr~x/' ')t.   
   .u###########{.  ^############################################*ccccc#!. .-#c#_. .>z.   
   .'``!####1```,|||-````{#######c````#####+`````````````"]z#####/.   .:x}~)j".,r)~1n,    
       :####?.  "###(.  .-#######v.  .#####l.              .!####/.      '`'     '`'      
       :####?.  "###(.  .-#######v.  .#####l.  `iiiiiiii'   ^####/.                       
       :####?.  "###(.  .-#######v.  .#####l.  :########`   ^####/.                       
       :####?.  "###(.  ."iiiiiiiI.  .#####l.  :########`   ^####/.                       
       :####?.  "###j`               .#####l.  :########`   ^####t.                       
       :####?.  "#####f!``````````````#####+```i########,```:####*i'  .'".                
       :####?.  "###########################################(_######cu*#n.                
       "////!.  ^///////////////////////////////////////////+.^]u#######t.                
                                                                 .`^^^`.                  
                                                                                          
                                                                                 
Etimología Geografía
griego latín árabe alemán inglés Países
Francio, Galio, Germanio, Polonio, Rutenio (Rusia)...
Lugares
Europio, Californio, Escandio, Hessio, Tulio (Escandinavia)...
Ciudades
Darmstadtio, Erbio-Itrio-Terbio-Yterbio, Hafnio (Copenhague), Lutecio (París)...
Astronomía
Cerio (por Ceres), Mercurio, Neptunio, Paladio (por Pallas), Plutonio, Uranio...
Mitología
Helio, Prometio, Tantalio, Titanio, Torio, Vanadio...
Personas
Einstenio, Curio, Rutherforio...
Laboratorio
Livermorio...
Mineral
Samario (por samarskita)...

Latest-funtoo.png


Lista de Verificación Rápida de Instalación Funtoo

0.A.-Familiarícese con la Cultura y la 0.B.-Matriz de soporte de Funtoo 1.-Descargue y arranque el live CD de su elección. 2.-Prepare el disco. 3.-Particionado con MBR. 4.-Particionado con GPT. 5.-Crear y montar sistemas de archivos. 6.-Configurar la fecha. 7.-Instalar el Tarball de su elección. 8.-Ingresar con Chroot a nuestro sistema. 9.-Descargar nuestro árbol de Portage. 10.-Configurar el sistema. 11.-Introducción a Portage. 12.-Instalar un Kernel. 13.-Instalar un cargador de arranque. 14.-Configurar la red. 15.-Pasos finales. 16.-Configuración del perfil. 17.-¡Todo Listo! ¡A disfrutar!

0.-Familiarícese con Funtoo

Matriz de soporte de Funtoo: https://www.funtoo.org/Support_Matrix/es

1.-Descargar el Live CD

https://build.funtoo.org/livecd -Acceso a la Red loadkeys es (español españa) loadkeys la-latin1 (español latino)

-Acceder a la Red net-setup eth0

-Instalación Remota - /etc/init.d/sshd start passwd New password: ******** Retype new password: ******** passwd: password updated successfully

ifconfig ip addr show

En sistema remoto (cambiar según la ip de cada uno) : ssh root@TU-IP password: ******

2.-Prepare el disco

loadkeys es

lsblk

3.-Particionado MBR

4.-Particionado GPT

cfdisk /dev/sda


Particionamos usando cfdisk y elegimos GPT (equipos UEFI/EFI) Esquema de prueba que creare: sda1 1G EFI sda2 8Gb swap sda3 El resto de Gb /dev/sda1, que se usará para almacenar el sistema de archivos /boot, /dev/sda2, que se utilizará para el espacio de intercambio, y /dev/sda3, que contendrá su sistema de archivos raíz.


5.-Crear el sistema de archivos

mkfs.ext2 /dev/sda1 (MBR) mkfs.vfat -F 32 /dev/sda1 (UEFI) mkswap /dev/sda2 swapon /dev/sda2 mkfs.ext4 /dev/sda3

6.-Montar sistema de archivos

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

Si tiene sistemas de archivos adicionales (como /home o /var), debería montarlos ahora, de esta manera cuando se descomprima el stage3 (cosa que haremos en un paso próximo) éste poblará a estos sistemas de archivos con los archivos necesarios. Esto puede hacerse de la siguiente manera:

root # mkdir /mnt/funtoo/var root # mount /dev/sdb1 /mnt/funtoo/var

7.-Configurar la fecha

date

date MMDDhhmmYYYY (MM mes... DD día... hhmm hora...YYYY año)

date 081819402022 -08 agosto, 18 días, 1940 hora 19:40, 2022 año

hwclock --systohc -Reloj del sistema

8.-Descargar y extraer el Stage3

Stage3 a usar wget -c https://buil.fundoo.org o https://www.funtoo.org/Subarches

cd /mnt/funtoo

wget -c https://build.funtoo.org/next/x86-64bit/intel64-haswell/2022-07-21/gnome-stage3-intel64-haswell-next-2022-07-21.tar.xz


tar xpvf stage3-*.tar.xz --xattrs-include='*.*' --numeric-owner

Como saber cuantos cores tenemos de cpu disponibles? grep processor /proc/cpuinfo

fchroot /mnt/funtoo /bin/bash --login

ping -c 5 google.com

ego sync

9.-Introducción a Portage

https://www.funtoo.org/Install/Introducing_Portage/es emerge NombreDelPaquete

10.-Actualizar World

ego sync emerge -auDN @world


12.-Instalar un Núcleo

-Para ver la versión del núcleo preistalado emerge -s debian-sources -Firmware emerge -av linux-firmware

13.-Gestor de Arranque

emerge -av grub

-Intel Microcode emerge intel-microcode iucode_tool

-Vieja Escuela (BIOS) MBR grub-install --target=i386-pc --no-floppy /dev/sda ego boot update

-Nueva Escuela (UEFI) Boot Entry -Sistemas x86-64bit: mount -o remount,rw /sys/firmware/efi/efivars grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id="Funtoo Linux [GRUB]" --recheck /dev/sda ego boot update

-Primer Arranque y nota para el futuro... Solo necesita ejecutar grub-install cuando instala Funtoo Linux por primera vez, pero debe volver a ejecutar ego boot update cada vez que modifique su /etc/boot.conf o agregue nuevos núcleos a su sistema. Esto regenerará /boot/grub/grub.cfg para que tenga nuevos núcleos disponibles en su menú de inicio de GRUB en su próximo reinicio.


-Solución de problemas de UEFI posteriores al reinicio En caso de que falte la entrada de arranque UEFI NVRAM en BIOS y grub no se inicie, puede intentar mover un ejecutable GRUB EFI ya instalado a la ruta predeterminada/de reserva (default/fallback path)

mv -v '/boot/EFI/Funtoo Linux [GRUB]' /boot/EFI/BOOT mv -v /boot/EFI/BOOT/grubx64.efi /boot/EFI/BOOT/BOOTX64.EFI


14.-Redes

-Wi-Fi



BIOS/MBR Create three partitions. 128MB for /boot, 1024MB for swap, and the rest for /

root #cfdisk /dev/sda Format the partitions:

root #mkfs.ext4 /dev/sda1 root #mkfs.ext4 /dev/sda3 root #mkswap /dev/sda2 && swapon /dev/sda2 BIOS/GPT Create four partitions. 128MB for /boot, 2MB for BIOS Boot, 1024MB swap and the rest goes to /

root #gdisk /dev/sda Create GPT partition table: Command: o ↵ This option deletes all partitions and creates a new protective MBR. Proceed? (Y/N): y ↵

Create Partition 1 (/boot): Command: n ↵ Partition Number: 1 ↵ First sector: ↵ Last sector: +128M ↵ Hex Code: ↵

Create Partition 2 (BIOS boot): Command: n ↵ Partition Number: 2 ↵ First sector: ↵ Last sector: +2M ↵ Hex Code: EF02 ↵

Create Partition 3 (swap): Command: n ↵ Partition Number: 3 ↵ First sector: ↵ Last sector: +1024MB ↵ Hex Code: 8200 ↵

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

Write Partition Table To Disk: Command: w ↵ Do you want to proceed? (Y/N): Y ↵ Format the partitions:

root #mkfs.ext4 /dev/sda1 root #mkfs.ext4 /dev/sda4 root #mkswap /dev/sda3 && swapon /dev/sda3 UEFI/GPT Create four partitions. 128MB for /boot, 128MB for UEFI ESP, 1024MB swap and the rest goes to /

root #gdisk /dev/sda Create GPT partition table: Command: o ↵ This option deletes all partitions and creates a new protective MBR. Proceed? (Y/N): y ↵

Create Partition 1 (/boot): Command: n ↵ Partition Number: 1 ↵ First sector: ↵ Last sector: +128M ↵ Hex Code: ↵

Create Partition 2 (UEFI ESP): Command: n ↵ Partition Number: 2 ↵ First sector: ↵ Last sector: +128M ↵ Hex Code: EF00 ↵

Create Partition 3 (swap): Command: n ↵ Partition Number: 3 ↵ First sector: ↵ Last sector: +1024MB ↵ Hex Code: 8200 ↵

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

Write Partition Table To Disk: Command: w ↵ Do you want to proceed? (Y/N): Y ↵ Format the partitions:

root #mkfs.ext4 /dev/sda1 root #mkfs.ext4 /dev/sda4 root #mkswap /dev/sda3 && swapon /dev/sda3 root #mkfs.vfat -F 32 /dev/sda2 Mount partitions BIOS/MBR root #mkdir -p /mnt/gentoo root #mount /dev/sda3 /mnt/gentoo root #mkdir /mnt/gentoo/boot root #mount /dev/sda1 /mnt/gentoo/boot BIOS/GPT root #mkdir -p /mnt/gentoo root #mount /dev/sda4 /mnt/gentoo root #mkdir /mnt/gentoo/boot root #mount /dev/sda1 /mnt/gentoo/boot UEFI/GPT root #mkdir -p /mnt/gentoo root #mount /dev/sda4 /mnt/gentoo root #mkdir /mnt/gentoo/boot root #mount /dev/sda1 /mnt/gentoo/boot root #mkdir /mnt/gentoo/boot/efi root #mount /dev/sda2 /mnt/gentoo/boot/efi Stage3 Find nearest mirror from this list.

Navigate to the /mnt/gentoo directory:

root #cd /mnt/gentoo Download the stage3 tarball. Be sure to replace the keyword (amd64 and date stamp in the example below) with the correct architecture and date:

root #wget https://distfiles.gentoo.org/releases/amd64/autobuilds/current-stage3-amd64-openrc/stage3-amd64-openrc-20220320T170531Z.tar.xz

Unpack the stage3 file:

root #tar xpf stage3* (or with xattrs):

root #tar --xattrs-include='*.*' --numeric-owner -xpf stage3* Chroot Chroot into the extracted stage3:

root #cd /mnt/gentoo root #mount --types proc /proc /mnt/gentoo/proc root #mount --rbind /sys /mnt/gentoo/sys root #mount --make-rslave /mnt/gentoo/sys root #mount --rbind /dev /mnt/gentoo/dev root #mount --make-rslave /mnt/gentoo/dev root #mount --bind /run /mnt/gentoo/run root #mount --make-slave /mnt/gentoo/run root #cp /etc/resolv.conf etc && chroot . /bin/bash root #source /etc/profile Portage Sync the Gentoo repository:

root #emerge-webrsync User accounts Change the root password:

root #passwd Create user(s):

root #useradd -g users -G wheel,portage,audio,video,usb,cdrom -m username root #passwd username