Mudanças entre as edições de "Arch Linux"

De Wikoleculares
Ir para navegação Ir para pesquisar
(arch install)
 
m (formatação)
 
Linha 1: Linha 1:
 
<code>
 
<code>
 
loadkeys br-abnt2
 
loadkeys br-abnt2
 +
 
ls /sys/firmware/efi/efivars
 
ls /sys/firmware/efi/efivars
 +
 
rfkill unblock all
 
rfkill unblock all
 +
 
iwctl
 
iwctl
 +
 
station wlan0 connect _nome-da-sua-rede_
 
station wlan0 connect _nome-da-sua-rede_
 +
 
^D
 
^D
 +
 
timedatectl set-ntp true
 
timedatectl set-ntp true
 +
 
fdisk -l
 
fdisk -l
 +
 
fdisk /dev/_pdisk_
 
fdisk /dev/_pdisk_
 +
 
mkfs.fat -F32 _devboot_
 
mkfs.fat -F32 _devboot_
 +
 
mkfs.ext4 _devslash_
 
mkfs.ext4 _devslash_
 +
 
mkfs.ext4 _devhome_
 
mkfs.ext4 _devhome_
 +
 
mkswap _devswap_
 
mkswap _devswap_
 +
 
mount _devslash_ /mnt
 
mount _devslash_ /mnt
 +
 
mkdir /mnt/{boot,home}
 
mkdir /mnt/{boot,home}
 +
 
mount _devhome_ /mnt/home
 
mount _devhome_ /mnt/home
 +
 
mkdir /mnt/boot/efi
 
mkdir /mnt/boot/efi
 +
 
mount _devboot_ /mnt/boot/efi
 
mount _devboot_ /mnt/boot/efi
 +
 
swapon _devswap_
 
swapon _devswap_
 +
 
lsblk
 
lsblk
 +
 
pacstrap /mnt base base-devel linux linux-firmware linux-headers man-db man-pages
 
pacstrap /mnt base base-devel linux linux-firmware linux-headers man-db man-pages
 +
 
genfstab -U /mnt >> /mnt/etc/fstab
 
genfstab -U /mnt >> /mnt/etc/fstab
 +
 
arch-chroot /mnt
 
arch-chroot /mnt
 +
 
timedatectl set-timezone America/Sao_Paulo
 
timedatectl set-timezone America/Sao_Paulo
 +
 
ln -sf /usr/share/zoneinfo/America/Sao_Paulo /etc/localtime
 
ln -sf /usr/share/zoneinfo/America/Sao_Paulo /etc/localtime
 +
 
hwclock -wu
 
hwclock -wu
 +
 
pacman -S vim
 
pacman -S vim
 +
 
vim /etc/locale.gen
 
vim /etc/locale.gen
 +
 
locale-gen
 
locale-gen
 +
 
echo LANG=lang.UTF-8 >> /etc/locale.conf
 
echo LANG=lang.UTF-8 >> /etc/locale.conf
 +
 
echo KEYMAP=br-abnt2 >> /etc/vconsole.conf
 
echo KEYMAP=br-abnt2 >> /etc/vconsole.conf
 +
 
echo 'nome-do-pc' >> /etc/hostname
 
echo 'nome-do-pc' >> /etc/hostname
 +
 
nano /etc/hosts
 
nano /etc/hosts
 +
 
passwd
 
passwd
 +
 
pacman -S networkmanager wireless_tools dhcpcd iwd
 
pacman -S networkmanager wireless_tools dhcpcd iwd
 +
 
pacman -S intel-ucode
 
pacman -S intel-ucode
 +
 
pacman -S grub efibootmgr
 
pacman -S grub efibootmgr
 +
 
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=arch_grub --recheck
 
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=arch_grub --recheck
 +
 
grub-mkconfig -o /boot/grub/grub.cfg
 
grub-mkconfig -o /boot/grub/grub.cfg
 +
 
^D
 
^D
 +
 
reboot
 
reboot
 
</code>
 
</code>

Edição atual tal como às 23h26min de 22 de agosto de 2021

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