-
Boot from a CD or other install medium
-
partition your disk. If you are using an EFI system, be sure that your first partition is a FAT32 partion with about 200MB space
-
Format the partions
-
Mount the partions as you want them on your system to /mnt
-
Start the installation of the base system
pacstrap /mnt base base-devel
-
Write the mountpoints into the new system
genfstab -U -p /mnt >> /mnt/etc/fstab
-
Go into the new system
arch-chroot /mnt /bin/bash
-
Install some important packages
pacman -S vim ctags grub dosfstools efibootmgr sudo git tig zsh xdg-utils
-
Set the correct hostname
echo "hostname" > /etc/hostname
-
Set the correct timezone
ln -s /usr/share/zoneinfo/Europe/Berlin /etc/localtime
-
Uncomment the selected locale in /etc/locale.gen and generate it with locale-gen.
-
Set locale preferences in /etc/locale.conf
locale > /etc/locale.conf
-
Add console keymap and font preferences in /etc/vconsole.conf
echo "KEYMAP=en" > /etc/vconsole.conf
-
Configure /etc/mkinitcpio.conf as needed and create an initial RAM disk with
mkinitcpio -p linux
. You should add theresume
to theHOOKS
of the configuration file. -
Set a root password with passwd.
-
Configure the default parameters for grub
vim /etc/default/grub
There you should remove the
quite
parameter for the default command list (GRUB_CMDLINE_LINUX_DEFAULT
) -
Boot loader configuration
-
Create a EFI module without installing grub onto the harddrive (e.g. for use with MacBooks)
grub-mkconfig -o /boot/grub/grub.cfg grub-mkstandalone -o /boot/EFI/boot.efi -d /usr/lib/grub/x86_64-efi -O x86_64-efi /boot/grub/grub.cfg
-
Install the boot manager
grub-mkconfig -o /boot/grub/grub.cfg grub-install --target=x86_64-efi --efi-directory=$esp --bootloader-id=grub --recheck --debug
-
Configure the package manager for installing yaourt by adding the following lines into the
/etc/pacman.conf
file:[archlinuxfr] SigLevel = Never Server = http://repo.archlinux.fr/$arch
Also you should enable the
multilib
repository. -
Install yaourt:
pacman -Sy pacman -S yaourt
-
Add a new user and give him or her sudo privileges:
useradd USERNAME passwd USERNAME cd /home mkdir USERNAME chown USERNAME:USERNAME -R USERNAME chmod o-rwx -R USERNAME EDITOR=vim sudoedit /etc/sudoers
-
Swich to the newly created user:
su USERNAME
-
Prepare the system to support WiFi
yaourt -S b43-fwcutter b43-firmware dialog wpa_supplicant --noconfirm
-
Clone the repository to the right directory
mkdir ~/.config cd ~/.config git clone https://github.com/robbyrussell/oh-my-zsh.git git clone https://github.com/thuetz/my-user-configurations.git git clone https://github.com/thuetz/awesomeWM.git awesome
-
Execute the setup script
cd $HOME/.config/my-user-configurations ./00_setup_user_configs.sh
-
Log-out and Log-in again to change the shell
-
Exit the newly installed system, unmount the hard drive and reboot into your new system:
exit exit cd / umount -R /mnt sync reboot
-
Run
01_configure_system.sh
to install some more required packages and so some basic configuration -
Setup the graphic card Save the configuration file as
/etc/X11/xorg.conf
. After doing that, change the DPI value to the corresponding value. Therefore, you have to edit the "Device" section and add the following options:Option "UseEdidDpi" "false" Option "DPI" "96 x 96"
-
Reboot your system