Table of Contents

Artix Installation Guide

This Guide is on how to install Artix from bottom up, we need:

Go to https://artixlinux.org/downloads, there you will find artix iso's with and without graphical enviroment. We install the system from bottom up, which is why you can choose between:

It doesnt matter what you choose. Just download one of those ISO Files.

Boot into your USB Stick

After you downloaded the ISO you need to flash it onto an USB Stick. Please refer to internet guides since i don't want to cover this step.

After you have flashed the ISO onto your USB Drive, plug it into your computer. Now reboot your system, Linux or Windows (not Mac of course).

For Windows: 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.

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.

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 shoudl put your USB Stick (whatever name it is) on top of the list.

For Linux: You know what to do.

The actual Installation

After you bootet into Artix you will be welcomed by small GUI, giving you the option to choose your keybord layout and language.

After you did that, press 'from DC/DVD/ISO'. It will install some scripts, then you need to login with:

username: artix  
password: artix

After you sudo, you need to partition your drive, this is a little tricky, but don't worry i will guide you trough. To start partioning type in your console:

cfdisk /dev/sda

After that you will get asked how you want to change the designation type, put in DOS. After that it will give you a partition table that will look like this:

Device Start End Sectors Size TYPE

If there is something within this window, press “delete”, we want the whole system free, to space our new System into.

Partioning your Drives

ROOT Partition: Within this menu, press “New”, you can now choose the Size, we will create the root partition first which you should make at least 80% of your Storage big (within a 30GB System you should therefore give root 20GB).

To do that just type in the requirement amount for example '100G'. After that it gives you some options which are unecessary, therefore just press 'write' and partition the next one.

SWAP Partition: The next partition will be the swap Partition, type in '2G', then change the “type” to “Linux Swap / Solaris” which is usually the number '83' in the DOS Partitiontable.

HOME Parition: At last the home partition which should be 8GB, type in '8G' und press write.

Now your table look something like this, depending on your input of Gigabytes:

Device Start End Sectors Size TYPE
/dev/sda1 2048 64191 262144 100GB Linux
/dev/sda2 26278 986168 8913612 2GB Linux Swap / Solaris
/dev/sda3 964986 9881938 863986233 8GB Linux

When youre finished, just press “Resize” type in “yes” and afterwards press “Quit

Format and Mount Partitions

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

mkfs.ext4 -L ROOT /dev/sda1        <- root partition 
mkfs.ext4 -L BOOT /dev/sda2        <- boot partition
mkfs.ext4 -L HOME /dev/sda3        <- home partition 
mkswap -L SWAP /dev/sda4           <- swap partition

Dann müssen wir die formatierten Partitionen einbinden:

swapon /dev/disk/by-label/SWAP                 
mount /dev/disk/by-label/ROOT /mnt

Dann erstelle Directorys für 'boot' und 'home':

mkdir /mnt/boot
mkdir /mnt/home

Dann mounte 'boot' und 'home':

mount /dev/disk/by-label/HOME /mnt/home
mount /dev/disk/by-label/BOOT /mnt/boot

Install Base System

Installiere das Basis-System auf der Root-Partition:

basestrap /mnt base base-devel openrc elogind-openrc

Activate the NTP daemon to synchronize the computer's real-time clock:

rc-service ntpd start

Install the kernel:

basestrap /mnt linux-lts linux-firmware

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

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

Now, you can chroot into your new Artix system with:

artix-chroot /mnt

Configure the base system

Run hwclock to generate /etc/adjtime:

hwclock --systohc

Install a text editor of your choice (let's use nano here) and edit /etc/locale.gen, uncommenting the locales you desire:

pacman -S nano
nano /etc/locale.gen

After that generate your desired locales running:

locale-gen

Localize to your Language:

export LANG="en_US.UTF-8"

Then, install grub and os-prober (for detecting other installed operating systems):

pacman -S grub os-prober efibootmgr
grub-install --recheck /dev/sda

Then, set the root passwd:

passwd

Secondly, create a regular user and password:

useradd -m user
passwd user

Create the hostname file:

nano /etc/hostname

Insert:

nano /etc/hosts
127.0.0.1        localhost
::1              localhost
127.0.1.1        myhostname.localdomain  myhostname

And install the DHCP client:

pacman -S dhcpcd or dhclient

Install connman and optionally a front-end:

pacman -S connman-openrc connman-gtk
rc-update add connmand

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

exit                         
umount -R /mnt
reboot

Finishing, Polishing and the Post Confugration of your new System

You can now either configure your system yourself or install my autobootstrapping script called SHARKS, which will give you pretty much everything you need. Therefore type:

curl -LO marlonivo.xyz/sharks.sh
sh sharks.sh