sexta-feira, 8 de maio de 2020

Quick Arch

loadkeys br-abnt2

pacman -Sy
cfdisk /dev/sda

mkfs.ext4 /dev/sda1

mkfs.ext4 /dev/sda2

mkswap /dev/sda3

swapon /dev/sda3

mkdir /mnt/home

mount /dev/sda1 /mnt

mount /dev/sda2 /mnt/home

vim /etc/pacman.d/mirrorlist

pacstrap /mnt base linux linux-firmware

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

arch-chroot /mnt

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

hwclock --systohc

vim /etc/locale.gen

locale-gen

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

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

vim /etc/hostname

vim /etc/hosts

127.0.0.1 localhost ::1 localhost 127.0.1.1 hostname.localdomain hostname
passwd

useradd -m -g users -G wheel user

pacman -S network-manager sudo

systemctl enable NetworkManager

nano /etc/sudoers

pacman -S grub

grub-install --target=i386-pc --recheck /dev/sda

cp /usr/share/locale/en@quot/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo

reboot