I recently installed artix linux for the first time. Here is a very brief step-by-step list how I've done it. To install Artix I followed the artix wiki installation instructions.
Here is my short version of the instructions.
- Download the artix-openrc iso and burn it on a USB-Stick
- Boot from the USB stick on the machine
- Partition the drive
- Boot partition 512M sda1
- Sawp partition 4GB sda2
- Root partition Rest sda3
- Format the partitions
- mkfs.ext4 -L BOOT /dev/sda1
- mkfs.ext4 -L ROOT /dev/sda3
- mkswap 0L SWAP /dev/sda2
- Mount the partitions
- swapon /dev/disk/by-label/SWAP
- mount /dev/disk/by-label/ROOT /mnt
- mkdir /mnt/boot
- mount /dev/disk/by-label/BOOT /mnt/boot
- Install the base system, openrc and kernel
- basestrap /mnt base base-devel openrc linux linux-firmware
- Generate Fstab
- fstabgen -U /mnt >> /mnt/etc/fstab
- Chroot into new root dir
- artools-chroot /mnt
- Set locals
- vi /etc/locale.gen (uncomment correct locales)
- locale-gen
- ln -sf /usr/share/zoneinfo/Region/City /etc/localtime
- hwclock --systohc
- Install bootloader
- pacman -S grub os-prober
- grub-install --recheck /dev/sda
- grub-mkconfig -o /boot/grub/grub.cfg
- Set timeout to 0 in /boot/grub/grub.cfg
- Set root password
- passwd
- Network config
- echo HOSTNAME > /etc/hostname
- pacman -S dhcpcd connman-openrc (Install dhcp and network manager)
- rc-update add connmand
- rc-service connmand start
- Reboot into system
- exit
- umount -R /mnt
- reboot