From 93036093da703f7da7ff96603f5a2fdf1bfaa6bf Mon Sep 17 00:00:00 2001
From: Deven Blake
Alpine doesn't include man pages in program packages to save on space, instead keeping them in
+On Artix, use
+At a minimum you need
+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 A lot of common utilities such as See postmarketOS requires that the Arch and Artix have fstab generators at alpine
-updated 2022-04-20
+updated 2022-04-21
Resources
-Always install manual pages
+Alpine: Always install manual pages
[package]-doc
sibling packages.
To always install doc packages with program packages, apk add docs
.
Arch and Artix: Install essential packages
+basestrap(8)
.
+On Arch, use pacstrap(8)
.
+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.
+man-db
and others would also be useful.
+Common utilities
lsblk(8)
and more(1)
are provided by util-linux
which is not installed by default.C language
@@ -59,6 +79,7 @@ busybox's vi(1)
on the other hand is a very useable implementation
fstab
fstab(5).
localmount
OpenRC service be enabled for the system to read fstab(5)
.
+genfstab(8)
and fstabgen(8)
respectively in their installation scripts.Mount LUKS encrypted partitions at boot
Sources
@@ -74,6 +95,32 @@ Make sure that service is added to runlevel boot and then configure /etc/c
dmcrypt
will need the UUID of the physical block device while fstab (if being configured with UUIDs will need the UUID of the decrypted block device in the device mapper.
+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 with the GParted live media. +
++You should do your own research on how you should partition your disks. +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. +Check out the linked pages in the "See also" section. +
+
+Use mkfs(8)
for creating filesystems and mount(8)
for mounting partitions' filesystems.
+
By default, postmarketOS will generate a random software MAC address when connecting to a new WLAN network. @@ -87,5 +134,13 @@ wifi.scan-rand-mac-address=no
On a live system you can then rc-service networkmanager restart
to restart NetworkManager and have it load the new 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.
+