Arch linux install guide.

Partition disk

# GPT it
parted --script --align optimal /dev/sda mklabel gpt
# Create boot-partition
parted --script /dev/sda mkpart ESP fat32 1M 513M
# Set boot-flag
parted /dev/sda set 1 boot on

# Make swap and /
parted --script --align optimal /dev/sda mkpart primary linux-swap 513MiB 8GiB
parted --script --align optimal /dev/sda mkpart primary btrfs 8GiB 100%

Create filesystems

mkfs.vfat -F32 /dev/sda1
mkfs.btrfs /dev/sda3

Mount partitions

mount /dev/sda3 /mnt
mkdir /mnt/boot
mount /dev/sda1 /mnt/boot

Install base-system with i3 and some packages needed.

pacstrap /mnt bash btrfs-progs bzip2 coreutils device-mapper diffutils dmenu feh file filesystem findutils gawk gcc-libs gettext glibc grep gzip i3status i3-wm inetutils iproute2 iputils less licenses linux logrotate man-db man-pages nano pacman pciutils perl procps-ng psmisc rxvt-unicode sed shadow s-nail sudo sysfsutils systemd-sysvcompat tar texinfo ttf-dejavu urxvt-perls usbutils util-linux vim which xf86-input-synaptics xf86-video-vesa xfsprogs xorg-font-util xorg-server xorg-server-utils xorg-xinit xterm zsh slim

Configure your host

arch-chroot /mnt /bin/bash

Follow the guide on : Beginners guide

Note: You probably want to setup the locale from the livesystem

Add user

useradd -m -G adm,disk,audio,network,video YOURUSERNAME
passwd YOURUSERNAME

Sudoers

Edit /etc/sudoers, and add or comment out

%adm ALL=(ALL) ALL

Install bootloader

Run:

bootctl install

Edit /boot/loader/entries/arch.conf

Add:

title          Arch Linux
linux          /vmlinuz-linux
initrd         /initramfs-linux.img
options        root=UUID=[YOUR PARTITIONS UUID] rw

Run:

bootctl update

Reboot

reboot

Aditional Software you might want

Most software on this list you will have to compile from source so install base-devel

pacman -S base-devel

Stupidterm

Github

git clone https://github.com/esmil/stupidterm
cd stupidterm
makepkg -s 
pacman -U <Package>

Pacaur

Probably the best aur client

wget https://aur.archlinux.org/cgit/aur.git/snapshot/cower.tar.gz
tar xf cower.tar.gz
cd cower
makepkg -s # add --skippgpcheck if key check fails
pacman -U <Package>

cower -d pacaur
cd pacaur
makepkg -s 
pacman -U <Package>

rofi

Rofi is a dmenu replacement

pacaur -S rofi-git

Tips & Tricks

KMS on newer i915

Stolen form here

pacman -Sy xf86-video-{fbdev,intel,vesa}

edit /etc/modprobe.d/modprobe.conf

options i915 modeset=1

Add the following to /etc/mkinitcpio.conf :

MODULES="intel_agp i915"
FILES="/etc/modprobe.d/modprobe.conf"

Create /etc/X11/xorg.conf.d/20-intel.conf :

Section "Device"
    Identifier "card0"
    Driver "intel"
    VendorName  "Intel Corporation"
    BoardName   "Intel Corporation N10 Family Integrated Graphics Controller"
    BusID       "PCI:0:2:0"
    Option      "SwapbuffersWait"    "false"
EndSection

Now create a new initramfs :

sudo mkinitcpio -p linux

And reboot