User:Vargux/Install

From Funtoo
Jump to navigation Jump to search
User:Vargux/Install
                                                                                          
            .`"""^'                                                                       
         ."{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.                
                                                                 .`^^^`.                  
Guía de instalación: Introducción Familiarícese con la Cultura Matriz de soporte de Funtoo
0.-
Descargue y arranque el LiveCD
1.-
Prepare el disco
2.-
Particionado MBR.
3.-
Particionado GPT.
4.-
Crear sistemas de archivos
5.-
Montar sistemas de archivos
6.-
Configurar fecha
7.-
Instalar el Tarball
8.-
Ingresar con Chroot
9.-
Descargar á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!

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

0.- Descargue y arranque el LiveCD

Descargar aquí https://build.funtoo.org/livecd

Arranque

Teclado

loadkeys es

Distribución de teclado español españa: loadkeys es
Distribución de teclado español latinoamericano: loadkeys latin
Acceder a la Red

net-setup

Se puede acceder a Ethernet net-setup eth0 ó Wi-Fi net-setup wla0
Verificación de Red

ifconfig
ip addr show

Se verifican los enlaces a red en estado activo UP que servirán para descargar los paquetes necesarios para la instalación.
(opcional)
Acceso para instalación remota
/etc/init.d/sshd start
passwd
New password: ********
Retype new password: ********
passwd: password updated successfully
Se crea contraseña del dispositivo host donde se instalará el sistema.
Esto servirá para acceder remotamente.
(opcional)
En el sistema remoto

ssh root@TU-IP
password: ******

Cambiar según la ip según ifconfig de eth0

1.-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!

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


mount --t proc none /proc mount --rbind /sys /sys mount --rbind /dev /dev


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 + Intel Microcode emerge -av grub 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 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

REDES Cableada: rc-update add dhcpcd default

Wi-Fi: emerge linux-firmware networkmanager rc-update add NetworkManager default

nmtui

nano /etc/conf.d/hostname hostname="VargLinux"

passwd

useradd -m vargux usermod -G wheel,audio,video,plugdev,portage vargux passwd vargux

emerge haveged rc-update add haveged default

exit cd /mnt umount -lR funtoo reboot

14.-Redes

-Wi-Fi



This article has been created Article description::for ''experienced'' users who desire a quick, less detailed installation guide. It doubles as a checklist so essential installation steps are not forgotten.

   Warning

This document is intended for experienced users only. It is not a replacement for the Gentoo Handbook and will not help you install Gentoo any faster.
Do not expect to receive any kind of support when following this checklist. Installing according to the Handbook is fully supported however.


Format drive

   Note

If building within a QEMU or using a VirtIO driver, probably have to substitute the drive/partition name sda with vda throughout this article.

BIOS/MBR

Create three partitions. 128MB for Template:Path, 1024MB for swap, and the rest for Template:Path

Template:RootCmd

Format the partitions:

Template:RootCmd

BIOS/GPT

Create four partitions. 128MB for Template:Path, 2MB for BIOS Boot, 1024MB swap and the rest goes to Template:Path

Template:RootCmd

Format the partitions:

Template:RootCmd

UEFI/GPT

Create four partitions. 128MB for Template:Path, 128MB for UEFI ESP, 1024MB swap and the rest goes to Template:Path

Template:RootCmd

Format the partitions:

Template:RootCmd

Mount partitions

BIOS/MBR

Template:RootCmd

BIOS/GPT

Template:RootCmd

UEFI/GPT

Template:RootCmd

Stage3

Find nearest mirror from this list.

Navigate to the Template:Path directory:

Template:RootCmd

Download the stage3 tarball. Be sure to replace the keyword (Template:Keyword and date stamp in the example below) with the correct architecture and date:

Template:RootCmd


Unpack the stage3 file:

Template:RootCmd

(or with xattrs):

Template:RootCmd

Chroot

Chroot into the extracted stage3:

Template:RootCmd

Portage

Sync the Gentoo repository:

Template:RootCmd

User accounts

Change the root password:

Template:RootCmd

Create user(s):

Template:RootCmd

   Note

Spaces are not allowed between groups.

Configure system

Install vi (optional)

   Note

vi installation is optional, you can use nano as it is a default editor in stage3.

Template:RootCmd

/etc/fstab

Configure Template:Path to match the actual partitioning performed in the step above:

Template:FileBox

/etc/portage/make.conf

Set preferred Portage options:

Template:FileBox

Locale

Set system locale:

Template:FileBox

Add the locale to Template:Path:

Template:FileBox

then generate the locale:

Template:RootCmd

Hostname

Edit Template:Path

Template:FileBox

Keymap

Edit Template:Path

Clock

Edit Template:Path

Timezone

Set the appropriate timezone:

Template:RootCmd

Kernel

Emerge

The No results package is the vanilla kernel with the Gentoo patchset applied. Choose between kernel sources. The No results package contains binary blobs needed for some hardware (WLAN cards).

If No results has been selected:

Template:RootCmd

Configure

Manual

Install No results

Template:RootCmd

Discover which modules are required for the system's hardware:

Template:RootCmd

Shorter version:

Template:RootCmd

Configure kernel by enabling each necessary module in the menuconfig interface. Search for specific module names by pressing Template:Key in menuconfig. Navigate to the associated feature by pressing the corresponding number listed on the left of the search results.

Template:RootCmd

Once finished build kernel and modules:

Template:RootCmd

Automatic

If things are working nicely in the current install environment, it is possible to use localyesconfig to select all modules currently loaded by the LiveCD:

Template:RootCmd

Build the kernel and modules:

Template:RootCmd

Install

Install the kernel and modules:

Template:RootCmd

Bootloader

Specify the correct setting for the system's firmware. BIOS/MBR is pc, 64-bit UEFI is efi-64, 32-bit UEFI is efi-32:

   Note

32-bit UEFI is rare to find on PCs. Mostly older Apple hardware use this. It has nothing to do with the Gentoo architecture chosen.

Template:FileBox

Template:FileBox

Emerge GRUB:

Template:Emerge

  • Supposing the system has PC BIOS:

Template:RootCmd

  • Supposing the system has UEFI firmware and the EFI partition is mounted in the Template:Path directory:

Template:RootCmd

  • Edit GRUB's configuration file:

Template:RootCmd

Below is a simple GRUB configuration file:

Template:FileBox

Alternatively use the grub-mkconfig command to generate the configuration file::

Template:RootCmd

Network tools

Install tools needed for configuring the network interfaces:

Template:Emerge

Clean up

Exit chroot, unmount partitions, and reboot:

Template:RootCmd





Véase también

                                                                                          
            .`"""^'                                                                       
         ."{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.                
                                                                 .`^^^`.