This document is a WORK IN PROGRESS.
This document does not replace the official Artix installation guide
This is just a quick personal cheat sheet: treat its contents with caution!
Artix Linux is a rolling release distribution, based on Arch Linux. It uses
dinit as init (note that the 66 init system, also called suite66, has been retired for lack
In this cheat sheet, one or multiple Linux distributions (distros) can already be installed on
other partitions: they will be preserved and still available through
In this cheat sheet, the installation process is compatible with a virtual machine (VM) or a container. In this case, you might be interested in those cheat sheets:
In this cheat sheet, UEFI won't be used as a bootloader, like described here:
https://wiki.archlinux.org/index.php/EFISTUB, the bootloader used here is GRUB2 (or
short) but it could be anything else you want.
Table of contents¶
- Partitioning, formatting and mounting
- System install
- Bootloader configuration with GRUB
- Post installation
Download the latest Artix ISO image (depending on what init system you want) here: https://eu-mirror.artixlinux.org/iso/ (and download the associated
Check the ISO image with GnuPG thanks to the PGP signature (
Follow the common prerequisites steps.
Official documentations for the rest of the installation
Partitioning, formatting and mounting¶
base, kernel, utilities and fstab¶
basestrapscript to install the
base(and optionally the
base-devel) package group(s) and your preferred init (currently available:
basestrapscript to install the Linux kernel:
... with the following command if you don't mind binary-blob:
... or with the following command if you don't want any binary-blob:
... or with the following command if you prefer a LTS kernel without binary-blob:
... or with the following command if you prefer a LTS kernel and binary-blob:
basestrapscript to optionally install other utility packages, e.g.:
-Lto define by UUID or labels, respectively):
# fstabgen -U /mnt/artix >> /mnt/artix/etc/fstab # you can use `genfstab -L ...` instead, for labels instead of UUID
Check the resulting
/mnt/artix/etc/fstabfile, and edit it in case of errors.See https://wiki.archlinux.org/title/Fstab for more details.
# blkid # ifentify labels and UUIDs # vi /mnt/artix/etc/fstab # edit and verify (this is just an example) > # Static information about the filesystems. > # See fstab(5) for details. > > # e.g. below example with the "noatime" option optimisation (no access date > # update) and "discard" option for ssd optimisation (trim functionnalities) > > # <fs> <mountpoint> <type> <opts> <dump/pass> > > UUID=ea530bdb-1116-4618-9247-e60663fde8bd / ext4 defaults,noatime,discard 0 1 > UUID=BE08-4CD2 /boot vfat defaults,noatime 0 0 > UUID=ab11cde3-fc5c-4d2f-be7c-5665e13ab272 none swap sw 0 0 > #UUID=E68614DD8614B053 /media/data ntfs-3g uid=1001,gid=1001,dmask=022,fmask=133 0 2 > #UUID=0c6a4e1c-ba2e-4acb-bc47-01165a7a8d91 /media/tera ext4 defaults,noatime 0 2
chroot and system configuration¶
Now that the new Artix system is entered, don't forget to setup a proxy if needed,
$ export http_proxy="http://192.168.1.100:4242"
$ export https_proxy="http://192.168.1.100:4242".
⚠️ Remember that with a proxy:
ping may not work! ⚠️
From now on, all actions will be performed in the new Artix environment.
Time zone config:this related Arch Wiki page for more details.
Hardware clock config (not needed on a VM):See this related Arch Wiki page for more details
[chroot]# vi /etc/conf.d/hwclock # make sure that the clock is indeed UTC > clock="UTC" [chroot]# hwclock --show [chroot]# hwclock --systohc # generate /etc/adjtime
[chroot]# vi /etc/locale.gen # e.g. for US and FR: > en_US ISO-8860-1 > en_US.UTF-8 UTF-8 > fr_FR ISO-8859-1 > fr_FR@euro ISO-8859-15 > fr_FR.UTF-8 UTF-8 [chroot]# locale-gen
/etc/locale.conffile, and set the
If you set the console keyboard layout, make the changes persistent by creating the
See this related Arch Wiki page for more details.
[chroot]# passwd # set root password [chroot]# useradd -m user # add user [chroot]# passwd user # set user password
Host name config:
Network config (see network managers), e.g. with NetworkManager:
Optional SSH config: see ssh cheat sheet
Bootloader configuration with GRUB¶
umount and reboot:
[chroot]# exit # quit chroot # umount -R /mnt/artix # reboot # if in a VM, you might `poweroff` instead and run your VM with different launch options
- If using a VM with UEFI, and having troubles booting, then you might want to check how to handle your first reboot with UEFI on a VM.
Read the common post installation steps to follow.
OPTIONALLY enable arch repositories:
$ sudo pacman -S artix-archlinux-support $ sudo pacman-key --populate archlinux $ sudo pacman -S archlinux-mirrorlist $ sudo vi /etc/pacman.conf > ... > # ARCHLINUX > [extra] > Include = /etc/pacman.d/mirrorlist-arch > > [community] > Include = /etc/pacman.d/mirrorlist-arch > > [multilib] > Include = /etc/pacman.d/mirrorlist-arch $ sudo pacman -Sy
OPTIONALLY enable universe repository:
Optional kernel tweaking¶
You might want to have the choice to boot either on the latest kernel or the LTS kernel. In this case, install the following kernel related packages:
Then make sure
/boot is mounted:
Finally, update your grub configuration file:
If this cheat sheet has been useful to you, then please consider leaving a star here.