Introduction
Welcome, intrepid penguin wrangler, to your very own Artix Linux installation odyssey. This guide is a comprehensive, step-by-step tutorial designed to take you from curious newbie to proud Artix artisan, all while sprinkling in a pinch of humor so the journey feels less like compiling code and more like a grand adventure.
Why Artix Linux?
- Systemd-free: Embrace simplicity with OpenRC, runit or s6 instead of that infamous init system.
- Rolling release: Get the latest packages without reinstallation.
- Community-driven: A vibrant, helpful community that won’t leave you hanging.
Requirements
- 64-bit PC (UEFI or BIOS) with at least 2 GB RAM (4 GB recommended for a desktop).
- USB drive (>= 2 GB) or blank DVD.
- Internet connection (wired recommended for installation).
- A willingness to read carefully—no CTRL ALT DEL emergency escapes allowed!
1. Prepare Installation Media
- Download the latest ISO from the official site:
https://artixlinux.org/download.php - Create a bootable USB:
sudo dd if=artix-base-xx.iso of=/dev/sdX bs=4M status=progress sync(Replace
/dev/sdXcarefully—your data’s fate is at stake.) - Alternatively, use tools like
EtcherorVentoyfor a GUI-assisted life-saver.
2. Boot Into the Live Environment
- Insert USB and reboot.
- Enter BIOS/UEFI (keys: F2, F10, DEL, or a magic spell).
- Select your USB drive and boot into the Artix menu.
- Choose your init system (OpenRC, runit, or s6). Default: OpenRC.
3. Disk Partitioning
Use cfdisk, fdisk or parted. Here’s a sample layout:
| Partition | Mount Point | Size | Type |
|---|---|---|---|
| /dev/sda1 | /boot | 512 MiB | FAT32 (UEFI) or ext4 (BIOS) |
| /dev/sda2 | swap | 4 GiB | linux-swap |
| /dev/sda3 | / | Remaining | ext4, btrfs, xfs, etc. |
Pro tip: Swap can be a file if you prefer flexibility. No judgments here.
4. Format Mount
mkfs.fat -F32 /dev/sda1 # if UEFI
mkswap /dev/sda2 swapon /dev/sda2
mkfs.ext4 /dev/sda3
mount /dev/sda3 /mnt
mkdir -p /mnt/boot
mount /dev/sda1 /mnt/boot
5. Install the Base System
Use the pacstrap equivalent in Artix, basestrap:
basestrap /mnt base base-devel linux linux-firmware nano vim
You can swap nano for vim or both—we’re not here to judge text editor wars.
6. Generate fstab
fstabgen -U /mnt >> /mnt/etc/fstab
7. Chroot Configure
artix-chroot /mnt /bin/bash
Now inside your new system. If you feel like shouting “Hello, World!”, now is the time.
7.1 Time Zone
ln -sf /usr/share/zoneinfo/Region/City /etc/localtime
hwclock --systohc
7.2 Localization
echo en_US.UTF-8 UTF-8 >> /etc/locale.gen
locale-gen
echo LANG=en_US.UTF-8 > /etc/locale.conf
7.3 Hostname Hosts
echo myartix > /etc/hostname
cat <> /etc/hosts
127.0.0.1 localhost
::1 localhost
127.0.1.1 myartix.localdomain myartix
EOF
7.4 Root Password
passwd
8. Install a Bootloader
Let’s go with GRUB:
pacman -S grub efibootmgr
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=Artix
grub-mkconfig -o /boot/grub/grub.cfg
For BIOS: grub-install --target=i386-pc /dev/sda
9. Enable Essential Services
With OpenRC selected:
rc-update add dhcpcd default
rc-update add sshd default # if you need SSH
rc-update add cronie default # for cron jobs
10. Exit Reboot
exit
umount -R /mnt
reboot
Don’t forget to remove your USB drive unless you prefer to reinstall repeatedly.
11. Post-Installation – Desktop Utilities
Once you log in as root or your new user (create one with useradd), install your environment:
- Xorg:
pacman -S xorg-server xorg-xinit - Desktop:
- KDE Plasma:
plasma-meta - GNOME:
gnome-meta - XFCE:
xfce4-meta - i3wm:
i3-wm i3status
- KDE Plasma:
- Display Manager:
lightdm,gdmorsddm - Sound:
pulseaudioorpipewire - Network:
networkmanagernetwork-manager-applet
rc-update add NetworkManager default
systemctl enable lightdm # if using systemd-nspawn style
12. The Finishing Touches
- Enable favorite services:
rc-update add bluetooth default,rc-update add cups defaultfor printing. - Install everyday apps:
firefox,thunderbird,libreoffice-fresh. - Immerse in the Artix Wiki:
https://wiki.artixlinux.org
Tips Humor
- “Why did the penguin cross the road?” To join your shiny new Artix install, of course!
- Keep a USB rescue stick handy—computers have mood swings.
- When in doubt, read logs in
/var/log. They’re like a diary, but less embarrassing.
Congratulations, fellow adventurer! You’ve just mastered the art of installing Artix Linux. Now go forth and configure until your heart’s content—or until the next rolling-release update arrives!
— End of Tutorial. Happy Tuxing! 🐧
Leave a Reply