Arch Linux. Installation notes

There is a very good Installation guide. But it contains a lot of links to other articles. And here i collected some useful notes for Arch Linux installation process.

Install essential packages

I use Linux Zen

Benefits of Linux ZEN (liquorix is binary of ZEN for Debian) liquorix

$ pacstrap /mnt base linux-zen linux-zen-headers linux-firmware

Rebuild kernel

$ mkinitcpio -p linux-zen

Software RAID

  1. In file /etc/mkinitcpio.conf add module mdadm_udev to HOOKS property

  2. Add RAID config to /etc/mdadm.conf

    ARRAY /dev/md/0 metadata=1.2 UUID=225393cd:9b57f03f:ac2bc0f3:e8379bab name=endymion:0

  3. Rebuild kernel

Main file system (F2FS)

I use F2FS

$ mkfs.f2fs -l mylabel /dev/sdxY

Boot manager (GRUB)

I use GRUB

  1. USB Stick must boot in UEFI mode

  2. Install GRUB packages

$ pacman -S grub efibootmgr
  1. Add Windows Support
$ pacman -S os-prober ntfs-3g
  1. Install GRUB
$ grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB
$ grub-mkconfig -o /boot/grub/grub.cfg
  1. Disable logo

    In file /etc/default/grub remove 'quiet' and 'splash' from GRUB_CMDLINE_LINUX_DEFAULT parameter


  1. Create user
$ useradd -m -G wheel -s /bin/zsh user
  1. Set user password
$ passwd user
  1. Allow wheel access to sudo
$ echo "%wheel ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/wheel_nopasswd \
&& chmod 400 /etc/sudoers.d/wheel_nopasswd

Network (NetworkManager)

I use NetworkManager

$ pacman -S networkmanager
$ systemctl enable --now NetworkManager