Site Tools


guide:artix_arch_install

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
guide:artix_arch_install [2023-05-12 Fri 21:19] – created theorytoeguide:artix_arch_install [2025-03-23 Sun 02:12] (current) – [Pre-steps] fix download link theorytoe
Line 1: Line 1:
-====== Artix/Arch install ======+====== Artix/Arch Install (Runit) ======
  
 First of all this is a good video guide:((The arch manual sucks really bad)) First of all this is a good video guide:((The arch manual sucks really bad))
 https://vid.puffyan.us/watch?v=nCc_4fSYzRA https://vid.puffyan.us/watch?v=nCc_4fSYzRA
 +
 +Secondly this guide assumes you'll be installing runit as your init of choice, of course you don't have to follow that recommendation, but note that some commands/actions may be different depending on your init choice.
 +
 +(Also this guide was last updated 2023-12-25 so beware if its currently a few years after this.)
  
 ===== Pre-steps ===== ===== Pre-steps =====
 For sake of completenes: For sake of completenes:
-  * Grab a iso from [[https://artixlinux.org/downloads|artixlinux.org downloads page]] +  * Grab a iso from [[https://artixlinux.org/download.php|artixlinux.org downloads page]] 
-  * Falsh to a usb+  * Flash to a usb
   * Disable secure boot on the target machine (backup keys too)   * Disable secure boot on the target machine (backup keys too)
   * Plugin & boot (live passwd is 'artix')   * Plugin & boot (live passwd is 'artix')
Line 39: Line 43:
   * ''/boot'' boot partition, 512MiB is the minimum size it should be, fs is FAT32 (required for efi systems)   * ''/boot'' boot partition, 512MiB is the minimum size it should be, fs is FAT32 (required for efi systems)
   * ''/'' root partition (most likely ext4)   * ''/'' root partition (most likely ext4)
-  * ''[SWAP]'' should be the same size as your system memory((Some people reccomend double, but I've never seen that in the wild)) but I usually just set it to half my total mem size.+  * ''[SWAP]'' should be the same size as your system memory((Some people recommend double, but I've never seen that in the wild)) but I usually just set it to half my total mem size.
  
 Now some systems //also// have 1 more more of the following partitions: Now some systems //also// have 1 more more of the following partitions:
Line 156: Line 160:
 </code> </code>
  
-Now set the system clock to hardware+Now set the system clock to hardware. **NOTE:** If youre time is incorrect even after setting both 
 +the timezone and the hwclock. Go into your BIOS and make sure your system clock is synced up to 
 +**GMT**. If it is not, set it, as if its on anything else your clock will be wrong.
 <code bash> <code bash>
 hwclock --systohc hwclock --systohc
Line 221: Line 227:
 </code> </code>
  
 +===== Post-install =====
 +Once you finish the main install, there may be a couple of other things that you want to do with your system. There are a couple of things that I do with all of my systems.
  
 +==== Primary User ====
 +You'll probably want to setup the primary user for the system, usually this is more than enough.
 +
 +<code bash>
 +useradd -mU $username -s /bin/bash
 +# for sudo privs
 +usermod -aG wheel $username
 +</code>
 +
 +==== Universe Repository ====
 +Artix has some nice community-maintained packages in the upstream ''universe'' repository. This often contains software not in the arch ''community'' repository (as we will cover later), so its nice to have. However, this is //not// enabled by default, you will have to add it yourself. Append the following snippet to ''/etc/pacman.conf'':
 +
 +<code>
 +[universe]
 +Server = https://mirror.pascalpuffke.de/artix-universe/$arch
 +Server = https://mirrors.qontinuum.space/artixlinux-universe/$arch
 +Server = https://mirror1.cl.netactuate.com/artix/universe/$arch
 +Server = https://ftp.crifo.org/artix-universe/$arch
 +Server = https://artix.sakamoto.pl/universe/$arch
 +Server = https://mirror1.artixlinux.org/universe/$arch
 +Server = https://universe.artixlinux.org/$arch
 +</code> 
 +
 +==== Arch Repos ====
 +You can setup artix to also pull from the arch ''extra''((Community and extra were recently merged together, this is the only repo that needs to be enabled)) for additional software not present on artix. You can install the arch mirrorlist with the ''arch-mirrorlist'' in the ''universe'' repo (and it should work if you followed the previous section). Then append the following line **AFTER** all the artix repo declarations in ''/etc/pacman.conf'':
 +
 +<code>
 +[extra]
 +Include = /etc/pacman.d/mirrorlist-arch
 +</code>
guide/artix_arch_install.1683926358.txt.gz · Last modified: 2023-05-12 Fri 21:19 by theorytoe