Arch Linux

De Wikoleculares
Ir para navegação Ir para pesquisar

loadkeys br-abnt2

ls /sys/firmware/efi/efivars

rfkill unblock all

iwctl

station wlan0 connect _nome-da-sua-rede_

^D

timedatectl set-ntp true

fdisk -l

fdisk /dev/_pdisk_

mkfs.fat -F32 _devboot_

mkfs.ext4 _devslash_

mkfs.ext4 _devhome_

mkswap _devswap_

mount _devslash_ /mnt

mkdir /mnt/{boot,home}

mount _devhome_ /mnt/home

mkdir /mnt/boot/efi

mount _devboot_ /mnt/boot/efi

swapon _devswap_

lsblk

pacstrap /mnt base base-devel linux linux-firmware linux-headers man-db man-pages

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

arch-chroot /mnt

timedatectl set-timezone America/Sao_Paulo

ln -sf /usr/share/zoneinfo/America/Sao_Paulo /etc/localtime

hwclock -wu

pacman -S vim

vim /etc/locale.gen

locale-gen

echo LANG=lang.UTF-8 >> /etc/locale.conf

echo KEYMAP=br-abnt2 >> /etc/vconsole.conf

echo 'nome-do-pc' >> /etc/hostname

nano /etc/hosts

passwd

pacman -S networkmanager wireless_tools dhcpcd iwd

pacman -S intel-ucode

pacman -S grub efibootmgr

grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=arch_grub --recheck

grub-mkconfig -o /boot/grub/grub.cfg

^D

reboot