diff --git a/wiki/linux/acpi.m4 b/wiki/linux/acpi.m4 index 8bc9174..8425c40 100644 --- a/wiki/linux/acpi.m4 +++ b/wiki/linux/acpi.m4 @@ -1,6 +1,6 @@ _header(`ACPI') _bibliography(` -_bentr(`_ref(`#ACPI')') +_bentr(`_ref(`/unix/#ACPI')') ')

logind (as part of SystemD), elogind, acpid, and many desktop environments can manage ACPI events automatically, and sometimes this is configured by default as part of a Linux software distribution. diff --git a/wiki/linux/alpine.m4 b/wiki/linux/alpine.m4 index 38a2579..9eabe82 100644 --- a/wiki/linux/alpine.m4 +++ b/wiki/linux/alpine.m4 @@ -1,6 +1,6 @@ _header(`Alpine')

-Alpine Linux is a small _ref(`#linux') distribution based on musl libc. +Alpine Linux is a small Linux _ref(`#distribution') based on musl libc. Its main purpose is to serve as a server distribution, however many have found use for it as a desktop distribution.

@@ -45,7 +45,7 @@ To always install doc packages with program packages, _code(`apk add docs'). _subheader(`Bootstrapping')

-See _ref(`#linux#bootstrapping'). +See _ref(`#bootstrapping'). The Alpine setup scripts also exist to aid in the bootstrap process.

@@ -57,10 +57,10 @@ To bootstrap _man(`apk(8)') do the following:

  • Use _man(`apk-add(8)') to initialize the package database on the mount (_command(`apk --root [mount] add --initdb alpine-base')).
  • -Copy _man(`resolv.conf(5)') over (and bind _file(`/dev/'), _file(`/proc/'), and _file(`/sys/')) before _ref(`#posix#chroot(1)')ing. +Copy _man(`resolv.conf(5)') over (and bind _file(`/dev/'), _file(`/proc/'), and _file(`/sys/')) before _ref(`/unix/#posix#chroot(1)')ing.

    -In the chroot, make sure to install a kernel, which will put _ref(`#linux#initramfs') creation in the _man(`apk(8)') build hooks and rebuild the initramfs whenever the kernel is upgraded. +In the chroot, make sure to install a kernel, which will put _ref(`#initramfs') creation in the _man(`apk(8)') build hooks and rebuild the initramfs whenever the kernel is upgraded.

    _subsubheader(`Setup scripts') @@ -73,7 +73,7 @@ _passage(`Eunakria on the Alpine Linux Discord server', _program(`setup-hostname') validates a _man(`hostname(5)') before writing to the mounted volume.

    -_program(`setup-xorg-base') adds the packages _package(`xorg-server'), _package(`xf86-input-libinput'), _package(`eudev'), and _package(`mesa'), and then enables the _ref(`#linux#initialization') services for udev. +_program(`setup-xorg-base') adds the packages _package(`xorg-server'), _package(`xf86-input-libinput'), _package(`eudev'), and _package(`mesa'), and then enables the _ref(`#initialization') services for udev.

    _subheader(`postmarketOS') diff --git a/wiki/linux/arch.m4 b/wiki/linux/arch.m4 index bb9fd1f..fe51507 100644 --- a/wiki/linux/arch.m4 +++ b/wiki/linux/arch.m4 @@ -12,15 +12,15 @@ You will need _package(`base-devel'). _subheader(`Bootstrapping')

    -See _ref(`#linux#bootstrapping'). +See _ref(`#bootstrapping'). Use _man(`pacstrap(8)') on Arch and _man(`basestrap(8)') on Artix.

    Arch's base package is _package(`base'). Additionally, a kernel such as _package(`linux') or _package(`linux-lts') will be necessary. The Arch wiki says _package(`linux-firmware') is necessary; it's not on many hardware configurations but it's recommended. -On Artix you also need to select the _ref(`#linux#initialization') system: _package(`66'), _package(`dinit'), _package(`openrc'), _package(`runit'), or _package(`s6-base'). -The Artix wiki says the initialization-specific _ref(`#linux#logind') package is necessary; it's not but it's recommended. +On Artix you also need to select the _ref(`#initialization') system: _package(`66'), _package(`dinit'), _package(`openrc'), _package(`runit'), or _package(`s6-base'). +The Artix wiki says the initialization-specific _ref(`#login#logind') package is necessary; it's not but it's recommended.

    On the bootstrapped system, after chrooting in, uncomment a local mirror in _file(`/etc/pacman.d/mirrorlist-arch'). diff --git a/wiki/linux/bootstrapping.m4 b/wiki/linux/bootstrapping.m4 index c8d57dc..7f9f472 100644 --- a/wiki/linux/bootstrapping.m4 +++ b/wiki/linux/bootstrapping.m4 @@ -1,8 +1,8 @@ _header(`Bootstrapping')

    -Usually the first program a computer will run is the _ref(`#bootloader'), -which loads the kernel and usually the _ref(`#linux#initramfs') which will handle mounting the system storage. -Then the _ref(`#linux#initialization') system is started, which handles daemons, some of which will handle login. +Usually the first program a computer will run is the _ref(`/unix/#bootloader'), +which loads the kernel and usually the _ref(`#initramfs') which will handle mounting the system storage. +Then the _ref(`#initialization') system is started, which handles daemons, some of which will handle login.

    Bootstrapping Linux involves booting an operating system, usually off a temporary storage medium, mounting the intended system storage, @@ -26,6 +26,6 @@ If it doesn't include any of them, install separately a kernel, initialization s

    Bind mount (_command(`mount -o bind')) _file(`/dev/'), _file(`/proc/'), and _file(`/sys/') to the corresponding locations on the volume to bootstrap (_code(`for d in dev proc sys; do mount -o bind /$d /[mount]/$d; done')), -then _ref(`#posix#chroot(1)') in and complete the system setup. -Set up additional configuration necessary to boot (including _ref(`#fstab(5)'), _man(`hostname(5)'), _man(`hosts(5)'), and anything necessary for the kernel or initialization). +then _ref(`/unix/#posix#chroot(1)') in and complete the system setup. +Set up additional configuration necessary to boot (including _ref(`/unix/#fstab(5)'), _man(`hostname(5)'), _man(`hosts(5)'), and anything necessary for the kernel or initialization).

    diff --git a/wiki/linux/debian.m4 b/wiki/linux/debian.m4 index 26b0362..c98e2fc 100644 --- a/wiki/linux/debian.m4 +++ b/wiki/linux/debian.m4 @@ -4,7 +4,7 @@ _bentr(`_link(`Debian', `https://www.debian.org/')') _bentr(`_link(`Debian', `https://en.wikipedia.org/wiki/Debian') (Wikipedia)') ')

    -Debian is a software distribution that can use _ref(`#linux') or the GNU HURD as its kernel. +Debian is a software _ref(`#distribution') that can use Linux or the GNU HURD as its kernel. In the past, FreeBSD's kernel was also an option. Debian is known for its stability and longevity. Debian uses SystemD as its initialization system, the GNU core utilities, and dpkg and apt for package management. @@ -18,5 +18,5 @@ _subheader(`Ubuntu')

  • How to get root on Ubuntu 20.04 by pretending nobody's /home
  • -Ubuntu is a derivative of Debian. +Ubuntu is a derivative of Debian Linux.

    diff --git a/wiki/linux/distributions.m4 b/wiki/linux/distribution.m4 similarity index 88% rename from wiki/linux/distributions.m4 rename to wiki/linux/distribution.m4 index 2e61497..777bb81 100644 --- a/wiki/linux/distributions.m4 +++ b/wiki/linux/distribution.m4 @@ -1,4 +1,4 @@ -_subheader(`Distributions') +_subheader(`Distribution')

    Linux is usually obtained as part of a software distribution put together to form a useable operating system.

    diff --git a/wiki/linux/initramfs.m4 b/wiki/linux/initramfs.m4 index a5dccdf..538362a 100644 --- a/wiki/linux/initramfs.m4 +++ b/wiki/linux/initramfs.m4 @@ -5,5 +5,5 @@ _bentr(`_link(`initramfs', `https://wiki.debian.org/initramfs') (Debian Wiki)') _bentr(`_link(`initramfs', `https://wiki.ubuntu.com/Initramfs') (Ubuntu Wiki)') ')

    -_file(`initramfs') is a _ref(`#archives#cpio') archive that contains a small Linux filesystem with just enough utility to mount the actual operating system's root filesystem. +_file(`initramfs') is a _ref(`/unix/#archives#cpio') archive that contains a small Linux filesystem with just enough utility to mount the actual operating system's root filesystem.