diff --git a/homepage/knowledge/artix.html b/homepage/knowledge/artix.html new file mode 100644 index 0000000..4b6428a --- /dev/null +++ b/homepage/knowledge/artix.html @@ -0,0 +1,110 @@ + + + + + + + + + + +knowledge/artix + + +

~ Return to the rest of the site

+ + + +

artix

+

updated 2022-03-26

+
+ +

Install guide

+

Where headers are hyperlinks just follow the linked material.

+

Pre-installation

+

Acquire an installation image

+

https://artixlinux.org/download.php

+

+This install guide follows a manual installation from a shell interface, so feel free to grab any installer. +Currently installation media seem to follow the format of artix-base-$(INIT_SYSTEM)-$(BUILD_DATE)-$(ARCH).iso. +

+

Prepare an installation medium

+

Boot the live environment

+

Set the console keyboard layout

+

Verify the boot mode

+

Connect to the internet

+

Update the system clock

+

Partition the disks

+

+Don't use partitioners included with OS media where the same job can be done by GParted (which has live media available) or another good general-purpose partitioner. +BSDs and Plan 9 are exceptions to this rule due to their exotic partitioning systems. +Using utilities from a shell or TUIs does not make you "cooler" than someone who needs a GUI for partitioning; in some cases, messing up partitioning can have serious consequences, so it's always nice to have some idiot-proofing. +I always partition my disks ahead of time with GParted. +

+

+The Arch wiki has poor, ambiguous and probably user-confusing example layouts here. +The Artix wiki page's examples are also pretty bad. +You should do your own research on how you should partition your disks, a generic web crawler lookup for "how to partition computer for linux" will probably be fine. +I personally use separate partitions for /boot, /home, /, and swap. +Your needs will vary. +

+

+Please note that a separate boot partition is mandatory if you intend to boot via (U)EFI. +See EFI system partition (Arch Wiki) if you're booting via (U)EFI. +Also check out the Artix wiki and Arch wiki pages on this. +

+

Format the partitions

+

+Use GParted if you can, otherwise mkfs(8) for filesystems and mkswap(8) for swap partitions. +If making a (U)EFI partition make sure to format it to FAT32. +

+

Mount the file systems

+

Installation

+

Select the mirrors

+

I'm not sure this is necessary on Artix.

+

Install essential packages

+

+On Artix, use basestrap(8). +On Arch, use pacstrap(8). +

+

+At a minimum you need base on both Arch and Artix. +On Artix, you need to select the initialization you want to use: 66, dinit, openrc, runit, or s6-base. +On both Arch and Artix, select a kernel; linux, linux-lts, or another Linux configuration or fork. +Arch says you need to install linux-firmware, technically you don't need to do so but you should. +Artix says you need to install the appropriate elogind package (elogind-$(INIT_SYSTEM); e.g. elogind-66). +This isn't necessary if you aren't using elogind, but you most likely want elogind. +Install base-devel if you plan on using the AUR or if you don't know what the AUR is yet. +

+

+It's also a good idea to install any utilities you'll need on the bootstrapped system. +Text editors, network managers or utilities, and other administration tools, for example. +Manual utilities such as man-db and others would also be useful. +

+

Configure the system

+

FSTab

+

+Use fstabgen(8) on Artix and genfstab(8) on Arch. +

+

Chroot

+

+Use artix-chroot(8) on Artix and arch-chroot(8) on Arch. +

+

Time zone

+

Localization

+

Network configuration

+

+I use iwd(8) and iwctl(8). +Some prefer NetworkManager and I believe that's the default on Debian. +The Artix wiki suggests connman. +Keep in mind Artix keeps initialization scripts in separate packages for each initialization system; to (for example) start iwd(8) on startup using OpenRC on Artix-OpenRC, one would have to install both iwd and iwd-openrc before enabling iwd(8) on startup (rc-update add iwd) and starting iwd(8) via OpenRC (rc-service iwd start). +

+

Initramfs

+

Root password

+

Boot loader

+

66 configuration

+

Consult if using 66.

+

Reboot

+

Post installation

+ +