1
0

become less knowledgeable

This commit is contained in:
dtb 2022-08-30 14:16:15 -04:00
parent 3a493ce810
commit c57af359a1
7 changed files with 0 additions and 110 deletions

View File

@ -1,110 +0,0 @@
<!DOCTYPE html>
<HTML LANG="en">
<HEAD>
<LINK HREF="http://www.trinity.moe/knowledge/artix" REL="canonical" />
<LINK HREF="https://raw.githubusercontent.com/devenblake/homepage/main/favicon.ico" REL="shortcut icon" TYPE="image/x-icon" />
<LINK HREF="/css/blank.css" ID="styling" REL="stylesheet" />
<META CHARSET="UTF-8" />
<META CONTENT="noindex" NAME="googlebot" /> <!-- FUCK GOOGLE -->
<META CONTENT="interest-cohort=()" HTTP-EQUIV="Permissions-Policy" /> <!-- FUCK GOOGLE -->
<META NAME="viewport" CONTENT="width=device-width, initial-scale=1" />
<TITLE>knowledge/artix</TITLE>
</HEAD>
<BODY>
<P><A HREF="/">~ Return to the rest of the site</A></P>
<SCRIPT SRC="/js/cookies.js" TYPE="application/javascript"></SCRIPT>
<SCRIPT SRC="/js/sheets.js" TYPE="application/javascript"></SCRIPT>
<SCRIPT TYPE="application/javascript">window.onload = window.initializesheets;</SCRIPT>
<H1>artix</H1>
<H3>updated 2022-03-26</H3>
<HR ALIGN="left" SIZE="1" WIDTH="25%" />
<H2>Install guide</H2>
<P>Where headers are hyperlinks just follow the linked material.</P>
<H3>Pre-installation</H3>
<H4>Acquire an installation image</H4>
<P><A HREF="https://artixlinux.org/download.php">https://artixlinux.org/download.php</A></P>
<P>
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 <CODE>artix-base-$(<B>INIT_SYSTEM</B>)-$(<B>BUILD_DATE</B>)-$(<B>ARCH</B>).iso</CODE>.
</P>
<H4><A HREF="https://wiki.archlinux.org/title/Installation_guide#Prepare_an_installation_medium">Prepare an installation medium</A></H4>
<H4><A HREF="https://wiki.archlinux.org/title/Installation_guide#Boot_the_live_environment">Boot the live environment</A></H4>
<H4><A HREF="https://wiki.archlinux.org/title/Installation_guide#Set_the_console_keyboard_layout">Set the console keyboard layout</A></H4>
<H4><A HREF="https://wiki.archlinux.org/title/Installation_guide#Verify_the_boot_mode">Verify the boot mode</A></H4>
<H4><A HREF="https://wiki.archlinux.org/title/Installation_guide#Connect_to_the_internet">Connect to the internet</A></H4>
<H4><A HREF="https://wiki.archlinux.org/title/Installation_guide#Update_the_system_clock">Update the system clock</A></H4>
<H4>Partition the disks</H4>
<P>
Don't use partitioners included with OS media where the same job can be done by <A HREF="https://gparted.org/">GParted</A> (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.
</P>
<P>
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.
</P>
<P>
<B>Please note that a separate boot partition is mandatory if you intend to boot via (U)EFI.</B>
See <A HREF="https://wiki.archlinux.org/title/EFI_system_partition">EFI system partition (Arch Wiki)</A> if you're booting via (U)EFI.
Also check out the <A HREF="https://wiki.artixlinux.org/Main/Installation#Partition_your_disk_.28BIOS.29">Artix wiki</A> and <A HREF="https://wiki.archlinux.org/title/Installation_guide#Partition_the_disks">Arch wiki</A> pages on this.
</P>
<H4>Format the partitions</H4>
<P>
Use GParted if you can, otherwise <CODE>mkfs(8)</CODE> for filesystems and <CODE>mkswap(8)</CODE> for swap partitions.
If making a (U)EFI partition make sure to format it to FAT32.
</P>
<H4><A HREF="https://wiki.archlinux.org/title/Installation_guide#Mount_the_file_systems">Mount the file systems</A></H4>
<H3>Installation</H3>
<H4><A HREF="https://wiki.archlinux.org/title/Installation_guide#Select_the_mirrors">Select the mirrors</A></H4>
<P>I'm not sure this is necessary on Artix.</P>
<H4>Install essential packages</H4>
<P>
On Artix, use <CODE>basestrap(8)</CODE>.
On Arch, use <CODE>pacstrap(8)</CODE>.
</P>
<P>
At a minimum you need <CODE>base</CODE> on both Arch and Artix.
On Artix, you need to select the initialization you want to use: <CODE>66</CODE>, <CODE>dinit</CODE>, <CODE>openrc</CODE>, <CODE>runit</CODE>, or <CODE>s6-base</CODE>.
On both Arch and Artix, select a kernel; <CODE>linux</CODE>, <CODE>linux-lts</CODE>, or another Linux configuration or fork.
Arch says you need to install <CODE>linux-firmware</CODE>, technically you don't need to do so but you should.
Artix says you need to install the appropriate elogind package (<CODE>elogind-$(<B>INIT_SYSTEM</B>)</CODE>; e.g. <CODE>elogind-66</CODE>).
This isn't necessary if you aren't using elogind, but you <I>most likely</I> want elogind.
Install <CODE>base-devel</CODE> if you plan on using the AUR or if you don't know what the AUR is yet.
</P>
<P>
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 <CODE>man-db</CODE> and others would also be useful.
</P>
<H3>Configure the system</H3>
<H4>FSTab</H4>
<P>
Use <CODE>fstabgen(8)</CODE> on Artix and <CODE>genfstab(8)</CODE> on Arch.
</P>
<H4>Chroot</H4>
<P>
Use <CODE>artix-chroot(8)</CODE> on Artix and <CODE>arch-chroot(8)</CODE> on Arch.
</P>
<H4><A HREF="https://wiki.archlinux.org/title/Installation_guide#Time_zone">Time zone</A></H4>
<H4><A HREF="https://wiki.archlinux.org/title/Installation_guide#Localization">Localization</A></H4>
<H4><A HREF="https://wiki.archlinux.org/title/Installation_guide#Network_configuration">Network configuration</A></H4>
<P>
I use <CODE>iwd(8)</CODE> and <CODE>iwctl(8)</CODE>.
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 <CODE>iwd(8)</CODE> on startup using OpenRC on Artix-OpenRC, one would have to install both <CODE>iwd</CODE> and <CODE>iwd-openrc</CODE> before enabling <CODE>iwd(8)</CODE> on startup (<CODE>rc-update add iwd</CODE>) and starting <CODE>iwd(8)</CODE> via OpenRC (<CODE>rc-service iwd start</CODE>).
</P>
<H4><A HREF="https://wiki.archlinux.org/title/Installation_guide#Initramfs">Initramfs</A></H4>
<H4><A HREF="https://wiki.archlinux.org/title/Installation_guide#Root_password">Root password</A></H4>
<H4><A HREF="https://wiki.archlinux.org/title/Installation_guide#Boot_loader">Boot loader</A></H4>
<H4><A HREF="https://wiki.artixlinux.org/Main/Installation#t66_configuration">66 configuration</A></H4>
<P>Consult if using 66.</P>
<H3><A HREF="https://wiki.archlinux.org/title/Installation_guide#Reboot">Reboot</A></H3>
<H3><A HREF="https://wiki.archlinux.org/title/Installation_guide#Post-installation">Post installation</A></H3>
</BODY>
</HTML>