Marlon's Wiki

it's better when it's simpler

User Tools

Site Tools


client:artix

Full Artix Installation Guide

Go to https://artixlinux.org/downloads, there you will find artix ISO's with and without a graphical environment. We install the system from bottom up so just download one of those ISO files (it doesn't matter what you choose).

  • artix-base-dinit
  • artix-base-openrc
  • artix-base-runit
  • artix-base-s6


Create a Artix USB-Stick

After you downloaded the ISO, write your stick with it:

sudo dd if=path/to/your.iso of=/dev/sda bs=4M status=progress && sync


Boot into your USB Stick

For Windows:

  1. Press and hold the “Shift” key as you click the “Restart” option in the Start menu or on the sign-in screen. Windows will reboot into a special boot options menu.
  2. Click Troubleshoot > Advanced Options > UEFI Firmware Settings. Once you’re in the BIOS or UEFI firmware menu, look for some sort of “Boot” option menu.
  3. You will find a boot order list. If “USB drive” is above “hard drive” in your boot order, your computer will try the USB drive and thats what we want, which is why you should put your USB Stick (whatever name it is) on top of the list.

For Linux: You know what to do.


Partitioning your Drives

At first you need to tap some keys to get into partition ordering. Boot up from 'UEFI:USB-Stick' because otherwise this guide wont work for you.

After you booted into the live-artix ISO, you will be welcomed by a small GUI, giving you the option to choose your keyboard layout and language. After you did that, press 'from Stick/HDD'. It will install some scripts, then you need to login with:

username: root  
password: artix

In order to partition your drives, we use the preinstalled tool fdisk:

loadkeys en                           ← fasterway to set CC
fdisk /dev/nvme0n1

Delete Partitions: We need a new system, therefore press “d” (for delete) and delete all of your partitions.

Create Partitions: Then press “n” for new, for the partition number press “1” (for the first partition of the drive), for first sector “leave empty and just press enter” and last sector “+1G” which will make the first partition 1GB big in size, if it already has a signature, remove it with “YES”.

For Partition 2/2 press “n” again, partition number “press enter”, first sector “press enter” and last sector “press enter” to give the second partition everything else.

Lastly press “w” to write your changes.

Now your lsblk command should output something like:

   NAME      MAJ:MIN  RM    SIZE  RO  TYPE MOUNTPOINT
0  nvme0n1       8:0   0  931.5G   0  disk           
1  nvme0n1p1     8:1   0      1G   0  part           
2  nvme0n1p2     8:2   0  930.5G   0  part           


Format and Mount Partitions

Jetzt müssen wir noch die Partitionen die wir erstellt haben, richtig formatieren:

mkfs.fat -F32 /dev/nvme0n1p1                ← boot partition 
mkfs.ext4 /dev/nvme0n1p2                    ← root partition

Dann müssen wir die formatierten Partitionen einbinden:

mount /dev/nvme0n1p2 /mnt                  ← mount root partition 
mkdir -p /mnt/boot/efi                     ← create boot directory 
mount /dev/nvme0n1p1 /mnt/boot/efi         ← mount boot partition 


Install Artix Base System

Install the base system !if you choosed rc install openrc, if you choosed runit install runit) as well as the linux firmware:

basestrap /mnt base base-devel openrc elogind-openrc linux linux-firmware           ← takes ~5 min.

Use fstabgen to generate /etc/fstab, use parameter -U for UUIDs as source identifiers:

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


Configure the base system

To configure the system, chroot into your new Artix:

artix-chroot /mnt

Then, install grub for booting, os-prober to detect you're OS and dhcpd for internet connection, nano as a text editor:

pacman -S grub os-prober nano efibootmgr dhcpcd

Grub disables os-prober by default therefore edit the configuration file with nano. And remove the # comment:

nano /etc/default/grub
GRUB_DISABLE_OS_PROBER=false                              ← u can find this at the end of the file                                

Install a bootloader (in our case grub) onto your Partition:

grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub       ← for UEFI/BIOS
grub-mkconfig -o /boot/grub/grub.cfg                                                  ← Bootfile

Then set the root passwd and add a regular user and add him to the sudoers group.

passwd                                             ← set password for root
useradd -m user                                    ← add regular user
passwd user                                        ← set password for user
sudo usermod -aG wheel user                        ← add him to the sudeors wheel
sed -i 's/^# %wheel ALL=(ALL:ALL) ALL/%wheel ALL=(ALL:ALL) ALL/' /etc/sudoers

Lastly, you can reboot and enter into your new installation:

exit                         
umount -R /mnt                                     ← Plug off your USB-Stick now
reboot                                             ← I wish you well


Post-Installation Configuration

You can now either configure your system manually yourself or install my auto-bootstrapping script called sharx, which will give you pretty much everything you need. Therefore type:

curl -LO marlonivo.xyz/sharx.sh
sh sharx.sh                                       ← Takes ~10 min.
client/artix.txt · Last modified: by marlonivo