Installing Artix linux

why Not Arch?

Because minimalism is the key and systemd isn't that. (and I prefer openrc...)

BIOS Settings

You can disable UEFI if you want though I noticed that my pc boots a bit faster with UEFI, so it might be the case for you.
Check if you have optimized settings for Windows that you can disable, depends on the motherboard.
If you are using a laptop you'll probably have to stick with UEFI.

Make a USB Flash Drive

Go to the Artix website and download an ISO file that suits you (I chose the base openrc one)
flash the ISO on a USB drive with Balena etcher (or anything you prefer)
If you choose a version of artix with a desktop environment pre-installed you'll be able to do the install with the help of an installation menu and won't probably need my help. I trust you're somewhat intelligent.


You checked BIOS settings so I assume you know how to boot to a USB drive but be careful your pc might detect your USB drive twice one with UEFI one without. Choose the one that suits you.
You will get a little menu to configure your timezone, keyboard layout and language.
Once you set that all up to match your case boot from cd/dvd/iso Artix and this is where the fun stuff begins. (Trust me the other option is forbidden to mankind)
Login with the username and password given and login as root with
(there is no root password) check your disks and choose which one you're gonna install artix on
I chose "sda" on my PC (imma continue the guide with sda, note that you probably don't have the same disc name(don't be stupid)).

Wifi For Kings

Not everyone has an ethernet cable thus this section.
On the artix live cd, there are all the necessaries to connect to the wifi however your wireless card is probably softblocked by RFKILL.
Look it up with this command:
rfkill list
If it says "Soft blocked: yes", you can unblock it with rfkill unblock 1(or any number corresponding in your list)

Now that the card is unblock you can enable it
ip link set wlan0 up
The artix live cd always calls the wireless card wlan0 so you should have the same if not look it up with ip link
The only thing left is to connect to your router
wpa_passphrase "BSSID" "wpa password" >> /etc/wpa_supplicant/wpa_supplicant.conf
Now restart wpa_supplicant so it can use the created file
rc-service wpa_supplicant restart
you should be connected
ping ericandre.com
If you are not receiving those sweet packets you may be connected to you router but said router didn't give you an IP. You can request one like so
dhclient wlan0
Now you should be all set.

Notice that wpa_supplicant.conf is called at boot, of course it's stupid to do that on a live cd which is gonna erase everything but you can follow these steps again after the installation. However on a fresh artix you will need to install net-tools, wireless_tools and wpa_supplicant-openrc Don't forget to install those when you are chrooted into your new system (you'll see later follow the guide and keep that in mind)


fdisk /dev/sda

press o to create a msdos partition table.
Make a new partition with a bootable flag of 128M Then you can use everything else in another partition so your whole system is in the same place.
Detailed steps here:

Press p to see your partition table

If it looks like that you're all set. Then press w to confirm the changes then format the partitions to ext4 (so linux can read them)
mkfs.ext4 /dev/sda1
mkfs.ext4 /dev/sda2

Press g to create a gtp partition table
Make a new partition of 128M and change its type to 1 aka EFI partition. Then you can use everything else in another partition so your whole system is in the same place.
Detailed steps here:

Press p to see your partition table

If it looks like that you're all set. Then type w to confirm the changes then format the partitions to ext4 (so linux can read them) except the EFI one which needs to be formated to fat32
mkfs.fat -F32 /dev/sda1
mkfs.ext4 /dev/sda2

You do not need a swap partition at all.
I suggest a swapfile instead because if you ever want to get rid of swap for some reason it will be easier to delete a file than a partition (and resizing everything)
HOWEVER, If you have 6Gb or more RAM you probably do not need any swap at all(unless you plan on using all your RAM at once)
You'll see how to make a swap file later in the guide.

Now we mount everybody like so

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

You can run lsblk again when you are done to check if everything's good. It should look like this

Installing The System

Artix is easy to install at this point, one command is enough (same as Arch, fuck thoses elitists)

basestrap /mnt base base-devel linux linux-firmware openrc nano

Yes, we're using nano for now. instead of linux you can put linux-hardened to get a more secure kernel or linux-lts in the command to install the long time support kernel if this is what you want. Instead of openrc you can put runit or s6 if this is what you want to use.
Now you gotta tell linux how to boot those partitions

fstabgen -U /mnt >> /mnt/etc/fstab

Then you enter the mainframe, literally

artix-chroot /mnt /bin/bash

Configuring The System

pacman -S networkmanager-openrc dhcpcd-openrc

or networkmanager-runit or networkmanager-s6 etc...

Now set it up to launch at boot, for openrc it's
rc-update add NetworkManager

Or if you plan on using wifi instead install these
pacman -S net-tools wireless_tools wpa_supplicant-openrc dhcpcd-openrc
And follow the steps above again to setup your wifi but we are using dhcpcd this time
rc-update add dhcpcd
that'll take care of the dhcp at reboot.

Now set up your locale
nano /etc/locale.gen
Uncomment the locale you wish to use


nano /etc/locale.conf

in this blank file add your locale

set your timezone with this command:

ln -sf /usr/share/zoneinfo/Region/City /etc/localtime

Then edit /etc/conf.d/hwclock and replace UTC with local instead so the system will use the localtime file we just set.

You can also change your keymap in /etc/conf.d/keymaps if you don't have a qwerty keyboard.

Install Grub

pacman -S grub
grub-install /dev/sda

pacman -S grub efibootmgr

grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=grub

generate grub config grub-mkconfig -o /boot/grub/grub.cfg

Making a Swap File

fallocate -l 2G /swapfile
you can make the swapfile any size you want but consider this
chmod 600 /swapfile
mkswap /swapfile
echo '/swapfile none swap sw 0 0' >> /etc/fstab
cat /etc/fstab
verify if it got added to your fstab file

Finishing Up

passwd change the root password
let's give a name to our machine
nano /etc/conf.d/hostname
put the name of your machine in the quotation marks

we can reboot the system now to do further configuration but first exit the mainframe
and unmount the partitions we worked on
umount -R /mnt
Now we can reboot

Reboot The System

now we can add a user
useradd name_of_user
and set a password for it
passwd name_of_user
I also recommend using doas instead of sudo because of this
pacman -R sudo
pacman -S opendoas

And this is how to add users as root with doas
nano /etc/doas.conf which will open a blank file, add
permit name_of_user as root to do just that. You can also install htop and neofetch of course and the basics are done! just need to rice now...(and install your cool softwares based on what you want to use)

Archlinux support

Ever since June 2021 the Arch linux repository have been disabled by default on Artix.
You probably need those repos so to enable them the artix-archlinux-support package has to be installed
pacman -Sy artix-archlinux-support
This will create the Arch mirror list in pacman.d but you still need to add those mirrors to your pacman.conf, people often use the EXTRA and COMMUNITY repos (and they require each others some times so activate both). Add to your pacman.conf file the following:
Include = /etc/pacman.d/mirrorlist-arch

Include = /etc/pacman.d/mirrorlist-arch

Run pacman -Syyy and see if those repos got added

One More Final

Artix linux uses only 1 repository on top of the arch ones (and all the AUR works).
This repo contains packages specific to the init system you chose that's why (you probably noticed) when we installed certain packages it looked like "package-openrc". DO NOT FORGET THIS! I remember hours of headaches because I forgot wpa_supplicant-openrc on my laptop and I don't want you to live the same nightmare. so yeah if something isn't working, you probably forgot the openrc (or runit or s6) version of the package be careful and happy computering.