Created
February 1, 2019 12:48
-
-
Save robsonsilv4/0e332e1f513a22a74caf6a01643537aa to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
loadkeys br-abnt2 | |
wifi-menu | |
pacman -Sy reflector | |
reflector --verbose --latest 200 --protocol http --protocol https --sort rate --save /etc/pacman.d/mirrorlist | |
mkfs.fat -F32 /dev/sda1 | |
mkswap /dev/sda2 | |
mkfs.ext4 /dev/sda3 | |
mkfs.ext4 /dev/sda4 | |
mount /dev/sda3 /mnt | |
mkdir /mnt/boot | |
mount /dev/sda1 /mnt/boot | |
swapon /dev/sda2 | |
mkdir /mnt/home | |
mount /dev/sda4 /mnt/home | |
pacstrap -i /mnt base base-devel | |
genfstab -U -p /mnt >> /mnt/etc/fstab | |
cp arch-install2.sh /mnt/arch-install2.sh | |
arch-chroot /mnt /bin/bash ./arch-install2.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment