ArchLinux

installation 2012-09
fdisk /dev/sda
mkfs.ext4 /dev/sda1
mount /dev/sda1 /mnt

vi /etc/pacman.d/mirrorlist
# set Server = http://mirror.yandex.ru/archlinux/$repo/os/$arch

pacstrap /mnt base base-devel syslinux linux-headers linux-lts linux-lts-headers initscripts
pacstrap /mnt openssh ethtool net-tools iproute2 dnsutils whois traceroute
pacstrap /mnt mc htop wget unzip unrar

arch-chroot /mnt
grub-install /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg

echo /dev/sda1 / ext4 defaults 0 1 >> /etc/fstab

hostnamectl set-hostname myhostname
localectl set-keymap ru
echo "ru_RU.UTF-8 UTF-8" > /etc/locale.gen
localectl set-locale LANG="ru_RU.UTF-8"
locale-gen
timedatectl set-timezone Europe/Moscow
timedatectl set-local-rtc false

# swap on file
dd if=/dev/zero of=/swapfile.img bs=1M count=512
mkswap /swapfile.img
swapon /swapfile.img
echo /swapfile.img none swap sw 0 0 >> /etc/fstab
# or swap on disk
mkswap /dev/vdb
swapon /dev/vdb
tweaks
# langswitch on Alt+Shift
setxkbmap -layout "us,ru(winkeys)" -model "pc105" -option "grp:alt_shift_toggle,grp_led:scroll"