boot Arch
#FOLLOW ALL INSTRUCTIONS AND PAY FULL ATTENTION TO CODES#

########INTERNET CONFIGURATION##########
##FOR WIFI##
pacman -S wireless_tools wpa_supplicant wpa_actiond dialog
#then
wifi-menu
#it'll make profile in '/etc/network.d'
systemctl enable net-auto-wireless.service

ping -c 3 www.google.com


If none is available, stop the dhcpcd service with systemctl stop dhcpcd@ and see Network configuration.
For wireless connections, iw(8), wpa_supplicant(8) and netctl are available. See Wireless network configuration,
or WPA2 Enterprise for networks which require both a username and password.

#TIME AND DATE#
timedatectl set-ntp true



###PARTITIONING###
cfdisk

2 partitions sda1 for swap
sda2 for rest

write to partition table: yes

mkfs.ext4 /dev/sda2

#SWAP#
mkswap /dev/sda1
swapon /dev/sda1

mount /dev/sda2 /mnt

#SELECT MIRROR#
nano /etc/pacman.d/mirrorlist
#uncomment preferred country

#INSTALL ARCH SYSTEM#
pacstrap -i /mnt base base-devel
#THEN - WHEN DONE#
genfstab -U -p /mnt >> /mnt/etc/fstab

###NOW TO CONFIGURE###
#ARCH-CHROOT TO MNT#
arch-chroot /mnt

#LOCALE#
nano /etc/locale.gen
#uncomment en_US.UTF-8 UTF-8#
locale-gen
echo LANG=en_US.UTF-8 > /etc/locale.conf
export LANG=en_US.UTF-8

##HOSTNAME##
echo solus > /etc/hostname
#ADD TO /etc/hosts/#
127.0.1.1 USERNAME.localdomain USERNAME

#LOCAL TIME#
ln -s /usr/share/zoneinfo/America/Los_Angeles /etc/localtime
hwclock --systohc --utc

###DO THE INTERNET THINGS AGAIN IN ROOT/MNT###

nano /etc/pacman.conf
#uncomment multilib
save exit

pacman -Syyu

#SET ROOT
passwd

#USERS no uppercase letters only#
useradd -m -g users -G wheel -s /bin/bash solus
passwd solus

#INSTALL SUDO#
pacman -S sudo
#AFTER THAT ADD SUDO FOR USER#
EDITOR=nano visudo
#FIND AND UNCOMMENT#
%wheel ALL=(ALL) ALL

#GRUB#
pacman -S grub
grub-install /dev/sda

#MKINIT#
mkinitcpio -p Linux

#EXIT ALL BACK TO ARCH COMMAND#
umount /mnt
reboot

######################
#LOGIN THEN CONFIGURE#
######################

login: USERNAME
password: YOUR PASSWORD

#LOGIN MANAGER#
sudo pacman -S lightdm lightdm-gtk-greeter lightdm-gtk-greeter-settings accountsservice numlockx
#agree all and let install, THEN#
sudo nano /etc/lightdm/lightdm.conf
#