Last active
November 10, 2017 20:43
-
-
Save YuriFontella/852aef713c8c4b5de9a89405fa8d8cc7 to your computer and use it in GitHub Desktop.
Arch Install on BTRFS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# lsblk | |
# fdisk /dev/sda | |
o | |
n | |
p | |
(enter) = First | |
(enter) = Last | |
w | |
# mkfs.btrfs -L "Arch" /dev/sda1 | |
# mount /dev/sda1 /mnt | |
# cd /mnt | |
# btrfs subvolume create @ | |
# cd | |
# umount /dev/sda1 | |
# mount -o defaults,relatime,discard,ssd,nodev,subvol=@ /dev/sda1 /mnt | |
# pacstrap -i /mnt base base-devel btrfs-progs | |
# genfstab -U -p /mnt >> /mnt/etc/fstab | |
# arch-chroot /mnt | |
Descomente o pt_br utf-8 | |
# nano /etc/locale.gen | |
# locale-gen | |
# echo LANG=pt_BR.UTF-8 > /etc/locale.conf | |
# echo KEYMAP=br-abnt2 > /etc/vconsole.conf | |
# ln -s /usr/share/zoneinfo/America/Sao_Paulo /etc/localtime | |
# hwclock --utc --systohc | |
# echo arch > /etc/hostname | |
# pacman -S grub-bios | |
# grub-mkconfig -o /boot/grub/grub.cfg | |
# grub-install /dev/sda | |
# mkinitcpio -p linux | |
# passwd | |
Altere "user" com o seu nome | |
# useradd -m -g users -G wheel,storage,power -s /bin/bash user | |
# passwd user | |
WIRELESS | |
# pacman -S wireless_tools wpa_supplicant wpa_actiond dialog | |
# pacman -S networkmanager | |
# systemctl enable NetworkManager | |
INTEL | |
https://wiki.archlinux.org/index.php/Intel_graphics_(Portugu%C3%AAs) | |
XORG | |
https://wiki.archlinux.org/index.php/Xorg_(Portugu%C3%AAs) | |
KDE | |
https://wiki.archlinux.org/index.php/KDE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment