Coder Social home page Coder Social logo

arch-install-guide's Introduction

Arch-Install-guide

Teclas en español:

loadkeys es

Particiones:

lsblk
cfdisk

En cfdisk creamos las particiones, dejamos una para la swap, otra para el boot y la principal, de unos 16Gb, 1Gb y el resto del tamaño respectivamente.

En la particion de boot selecionamos EFI System en el tipo, en el swap, seleccionamos Linux Swap y en la ultima seleccionamos Linux filesystem

Formatear particiones:

mkfs.fat -F32 /dev/sda1     //La de boot
mkfs.ext4 /dev/sda3         //La mas grande
mkswap /dev/sda2            //La de swap
swapon /dev/sda2

Montar particiones:

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

Instalar paquetes base:

pacstrap /mnt base base-devel linux linux-firmware vim nano

Generar fstab:

genfstab -U /mnt >> /mnt/etc/fstab

Hacemos chroot:

arch-chroot /mnt

Configurar zona horaria:

ln -sf /usr/share/zoneinfo/Europe/Madrid /etc/localtime
hwclock --systohc

Configurar idioma:

vim /etc/locale.gen
Descomentamos la linea de es_ES.UTF-8 UTF-8
locale-gen

Creamos los usuarios del sistema:

useradd -m mario
usermod -aG wheel mario

Editamos el archivo de sudoers: vim /etc/sudoers Descomentamos la linea %wheel ALL=(ALL) NOPASSWD: ALL

Configuramos el bootloader:

sudo pacman -S grub efibootmgr
grub-install /dev/sda   //Instalamos grub en el disco
grub-mkconfig -o /boot/grub/grub.cfg   //Generamos la configuracion de grub

Le damos un nombre a nuestra maquina:

echo "demonArch" > /etc/hostname

Configuramos el archivo hosts:

vim /etc/hosts
Añadimos:
127.0.0.1   localhost
::1         localhost
127.0.0.1   demonArch.locahost   demonArch

Salimos del chroot y reiniciamos:

exit
umount -R /mnt
reboot

arch-install-guide's People

Contributors

mariorodvenus avatar mariorodven avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.