100 Commits
Author SHA1 Message Date
hygienic-books 77b736fb8c refactor(script): Update archlinux-keyring before pacstrap 2026-01-18 22:02:26 +01:00
hygienic-books 363d547e75 refactor(script): paru-git instead of paru-bin 2026-01-18 22:00:24 +01:00
hygienic-books 15d18f930e fix(base): Load udev initramfs hook (#28)
This replaces the modern Arch Linux default hook of 'systemd' with
'udev' which allows a clean boot of a boot environment via ZFSBootMenu.
2025-12-13 16:57:59 +01:00
hygienic-books bf46d15783 fix(base): Detect EFI partition on NVMe (#28)
This detects an EFI partition on '/dev/sda1' (same as before) as well
as on '/dev/nvme0n1p1' (new) where there are not just letters in
front of partition number '1'.
2025-12-13 00:04:30 +01:00
hygienic-books 6fb13a097c Merge remote-tracking branch 'origin/26-install-zfs-only-when-needed' into 26-install-zfs-only-when-needed 2025-01-17 21:09:40 +01:00
hygienic-books 64c66cbd0f fix(zfs): Install ZFS only when needed (#26)
In situations where this script runs on alternative Arch Linux live
CD ISOs such as github.com/stevleibelt/arch-linux-live-cd-iso-with
-zfs we may not have to insall ZFS kernel modules. Test if the 'zfs'
module is loaded and skip installation if yes.
2025-01-17 21:09:19 +01:00
hygienic-books 1036ce9c5b fix(zfs): Install ZFS only when needed (#26)
In situations where this script runs on alternative Arch Linux live
CD ISOs such as github.com/stevleibelt/arch-linux-live-cd-iso-with
-zfs we may not have to insall ZFS kernel modules. Test if the 'zfs'
module is loaded and skip installation if yes.
2025-01-17 21:08:44 +01:00
hygienic-books 3ae8b53616 build(meta): Don't commit .idea JetBrains dir (#26) 2025-01-17 21:05:53 +01:00
hygienic-books 2adac7b94b Add a 2G loop device for emergency swap 2025-01-02 01:00:06 +01:00
hygienic-books 9525976fe2 For now no pacman upgrade in ISO 2024-12-28 18:27:29 +01:00
hygienic-books 624d278971 For now no pacman upgrade in ISO 2024-12-28 18:21:04 +01:00
hygienic-books 08f33c33c7 refactor(os): Retry pacman download on fail 2024-12-28 16:33:13 +01:00
hygienic-books d7d41eec5b refactor(os): Homogenous single quotes (#19) 2023-11-12 03:32:27 +01:00
hygienic-books 6fe5d59108 refactor(os): remove unneeded line break (#19) 2023-11-12 03:31:31 +01:00
hygienic-books 96b860e0db refactor(os): Update interactive questionnaire gif (#19) 2023-11-12 03:31:02 +01:00
hygienic-books d467dd6610 refactor(os): Phrasing (#19) 2023-11-11 04:35:41 +01:00
hygienic-books 8ed5849596 refactor(os): Phrasing (#19) 2023-11-11 04:26:11 +01:00
hygienic-books 5f6a5bfdac refactor(os): No need to hide kernel version string (#19) 2023-11-11 04:20:29 +01:00
hygienic-books 47321313a9 refactor(os): Fix function numbering (#19) 2023-11-11 04:07:44 +01:00
hygienic-books c344aac77a refactor(os): Fix comment spacing (#19) 2023-11-11 04:06:30 +01:00
hygienic-books fd2c08a18a refactor(os): Always enable NTP (#19) 2023-11-11 04:05:21 +01:00
hygienic-books d74fc097eb refactor(os): Be specific with systemd unit names (#19) 2023-11-11 04:04:58 +01:00
hygienic-books acc6b2c721 feat(os): Reuse or set SSH pub keys in OS (#19) 2023-11-11 04:04:14 +01:00
hygienic-books d380fc4b6d fix(os): No need to double-quote in a heredoc (#19) 2023-11-11 04:03:09 +01:00
hygienic-books d95d43a22b feat(os): Downgrade kernel when requested (#19) 2023-11-11 04:02:30 +01:00
hygienic-books 557db12e8d fix(zbm): ZBM 2.2.2 no longer needs nor has its own stub loader file (#19) 2023-11-11 04:01:59 +01:00
hygienic-books eaf83163b6 refactor(os): Typo (#19) 2023-11-11 04:01:28 +01:00
hygienic-books 257648c99d feat(os): Optionally force kernel downgrade for ZFS compatibility (#19) 2023-11-11 04:01:14 +01:00
hygienic-books 3903498d40 feat(iso): Modularize network unit file content (#21) 2023-11-11 01:20:32 +01:00
hygienic-books 59beb10404 feat(iso): Write OS IPs, gateway, NTP into env file (#21) 2023-11-11 01:19:56 +01:00
hygienic-books d99bb94c52 feat(iso): In setup questionnaire ask for NTP servers (#21) 2023-11-11 01:19:24 +01:00
hygienic-books c9f979a0ad feat(iso): In setup questionnaire ask for OS IP and gateway (#21) 2023-11-11 01:19:01 +01:00
hygienic-books db3c705376 refactor(iso): echo consistently with single quotes (#21) 2023-11-11 01:18:19 +01:00
hygienic-books d5e219dbf5 feat(iso): Add bash-only CIDR calculator function (#21) 2023-11-11 01:17:14 +01:00
hygienic-books bd586e4c67 fix(zfs): Fix multi-line bash command (#21) 2023-11-11 01:16:37 +01:00
hygienic-books ed441299bc fix(iso): Asking for an SSH pub key is mandatory with SSH daemon (#21) 2023-11-06 00:48:40 +01:00
hygienic-books 37cafc1f20 fix(iso): Don't reassign settings_file locally (#21) 2023-11-06 00:25:47 +01:00
hygienic-books 1bc09b7f8b refactor(os): Install paru-bin instead of paru (#21)
We straight up install paru-bi via its PKGBUILD from
AUR, we skip the additional step we used to do
where we first installed paru from its GitHub
project. This saves time and most importantly
scarce RAM that Rust otherwise needs during
paru compilation.

On systems with little RAM (as in 4 GiB) paru's
compilation process would sometimes fail when
/etc/makepkg.conf when its MAKEFLAGS was
set to use many cores e.g. via "-j$(nproc --ignore 1)".

Without the manual paru compilation step we now
don't need the ability anymore to
--replace-conflicting packages.
2023-11-05 23:29:54 +01:00
hygienic-books 1b94e7e3b8 refactor(zbm): Ask for rerun (#21) 2023-11-05 16:57:50 +01:00
hygienic-books e39d60cb00 refactor(zbm): Exit after setting up vars (#21) 2023-11-05 16:55:06 +01:00
hygienic-books 055f970f43 docs(zbm): Render asciinema gif with larger typeface (#21) 2023-11-05 16:41:15 +01:00
hygienic-books 16e67c8b28 docs(zbm): Typo (#21) 2023-11-05 16:30:48 +01:00
hygienic-books 4fb7a91703 docs(zbm): Link to giv instead of mp4 (#21) 2023-11-05 16:30:16 +01:00
hygienic-books 2b5d4b4ec8 docs(zbm): Testing HTML image tag in Markdown (#21) 2023-11-05 16:28:17 +01:00
hygienic-books b885bde3c6 docs(zbm): Explain network device naming (#21) 2023-11-05 16:23:00 +01:00
hygienic-books 316aa56a55 docs(zbm): Explain interactive questionnaire (#21) 2023-11-05 16:04:57 +01:00
hygienic-books 39039ce3fd docs(zbm): No idea if IPv6 works (#21) 2023-11-05 04:53:52 +01:00
hygienic-books 1183f3f025 refactor(iso): Rename .gitignore file (#21) 2023-11-05 04:53:17 +01:00
hygienic-books be76d6b0f8 feat(meta): Ignore loca settings file while testing (#21) 2023-11-05 04:52:21 +01:00
hygienic-books 67ea72de51 feat(iso): Add setup function to generate answer file (#21) 2023-11-05 04:51:32 +01:00
hygienic-books 9f3ada2a36 feat(iso): Parse arguments (#21) 2023-11-05 04:50:31 +01:00
hygienic-books 28414af039 refactor(iso): Globally define name of settings file (#21) 2023-11-05 04:49:32 +01:00
hygienic-books 58da096eab docs(meta): Typo 2023-11-05 02:37:50 +01:00
hygienic-books 2b982be84e docs(meta): Bits and pieces updated (#6) 2023-11-05 02:35:03 +01:00
hygienic-books 782168c1b1 docs(zbm): Nudge user to work with Dropbear keepalives (#6) 2023-11-05 02:10:33 +01:00
hygienic-books 5cf4b2c325 docs(zbm): Let's not overpromise, the command stanza at first glance seems trickier than anticipated (#6) 2023-11-04 01:16:39 +01:00
hygienic-books a2cb784cb3 feat(zbm): In Syslinux/extlinux mode add KCL (#6) 2023-11-04 01:08:39 +01:00
hygienic-books 119be2b876 docs(zbm): Give an example ip= KCL (#6) 2023-11-04 00:46:44 +01:00
hygienic-books 9560677352 fix(zbm): Link to dropbear patch hooks (#6) 2023-11-04 00:41:37 +01:00
hygienic-books 52c09fc93f docs(zbm): Explain Syslinux KCL (#6) 2023-11-04 00:37:30 +01:00
hygienic-books 1181432add docs(iso): Explain sed in_array_remove_n mechanism (#6) 2023-11-04 00:32:16 +01:00
hygienic-books e3025883fa docs(iso): Explain sed insert_n_at_the_end mechanism (#6) 2023-11-04 00:32:01 +01:00
hygienic-books 79feaed5ac docs(iso): Explain sed insert_n_before_m mechanism (#6) 2023-11-04 00:20:39 +01:00
hygienic-books 7338924c82 docs(zbm): Explain networking and SSH (#6) 2023-11-04 00:08:48 +01:00
hygienic-books 924925e08e docs(iso): Do a pass over how we explain passwords for local accounts (#6) 2023-11-04 00:03:42 +01:00
hygienic-books 3030eb0f2d docs(iso): Use either an env options file or shell exports (#6) 2023-11-04 00:01:29 +01:00
hygienic-books 305e4191f1 docs(zfs): Correctly umount after maintenance (#6) 2023-11-04 00:00:03 +01:00
hygienic-books 7d5075a543 fix(ZBM): No KCL inside Syslinux (#6) 2023-11-03 23:43:06 +01:00
hygienic-books 003d3f4f2a fix(ZBM): Remove ZBM hook from correct file (#6) 2023-11-03 03:24:33 +01:00
hygienic-books ab5e79d838 refactor(iso): Parallelize pacman in ISO (#6) 2023-11-03 03:24:03 +01:00
hygienic-books 53f92032a4 feat(zbm): Add KCL to legacy BIOS ZBM (#6) 2023-11-03 01:40:24 +01:00
hygienic-books b160b4a1e1 feat(zbm): Prepare SSH in ZBM (#6) 2023-11-03 01:38:56 +01:00
hygienic-books 1690518197 feat(zbm): Define Dropbear's SSH pub keys (#6) 2023-11-03 01:38:28 +01:00
hygienic-books 732cc47405 feat(zbm): Add networking/IP addressing setup to ZBM (#6) 2023-11-03 01:38:11 +01:00
hygienic-books be668b1bdc feat(zbm): Add user's dropbear customizations (#6) 2023-11-03 01:37:38 +01:00
hygienic-books 53ed730957 feat(zbm): Add dropbear hook files (#6) 2023-11-03 01:37:15 +01:00
hygienic-books 9a89ce4f75 fix(os): Remove zfsbootmenu hook from ZFSBootMenu (#6)
While unintuitive this prevents us from having to
move this hook to the end of the HOOKS array.
If user wants SSH in ZBM we first append 'net' to
the HOOKS array then append 'dropbear'. At this
point the explicit 'zfsbootmenu' hook is no longer
last in line in 'HOOKS' array. This causes ZBM to
trip and to not correctly load net and dropbear.

Since the 'zfsbootmenu' hook is added implicitly
by generate-zbm we don't need the explicit hook
at all. Better remove it. This way it doesn't get in
the way.
2023-11-01 03:53:18 +01:00
hygienic-books 3cb68406ed feat(os): Add SSH to ZBM if requested by user (#6) 2023-11-01 03:49:46 +01:00
hygienic-books 33966071ce refactor(os): Simplify mkinitcpio.conf manipulation (#6) 2023-11-01 03:49:05 +01:00
hygienic-books 4e734330da feat(os): Add helper functions to manipulate HOOKS array (#6) 2023-11-01 03:47:34 +01:00
hygienic-books f1bab6bc60 refactor(os): Simplify extended regex (#6) 2023-11-01 03:05:43 +01:00
hygienic-books d1ad95dc76 docs(meta): Explain password requirement (#5) 2023-10-27 05:02:53 +02:00
hygienic-books 5d03799dae refactor(meta): Renumber functions (#9) 2023-10-27 04:24:40 +02:00
hygienic-books cf50632b6c feat(iso): Allow supplementary password/settings file (#9) 2023-10-27 04:23:11 +02:00
hygienic-books b83cce2aec docs(meta): Link to hook Git repos (#5) 2023-10-27 03:14:20 +02:00
hygienic-books edd104ed1c docs(meta): Adjust for UEFI/legacy BIOS difference (#5) 2023-10-27 02:49:03 +02:00
hygienic-books 9f0f19355e docs(iso): Master Boot Record capitalized (#5) 2023-10-27 02:15:46 +02:00
hygienic-books 0b3f5b75dd docs(iso): EFI System Partition capitalized (#5) 2023-10-27 02:14:36 +02:00
hygienic-books 04f206129f docs(iso): Typo (#5) 2023-10-27 02:12:36 +02:00
hygienic-books e42e92874e docs(iso): Explain UEFI/legacy BIOS reqirements (#5) 2023-10-27 02:12:09 +02:00
hygienic-books 56dc2f85a6 docs(iso): Homogenize MBR partition type codes (#5) 2023-10-27 02:11:27 +02:00
hygienic-books a00b8e8009 refactor(meta): Update lsblk UEFI/GPT output (#5) 2023-10-27 01:55:35 +02:00
hygienic-books 844f574e2d refactor(meta): Renumber functions (#5) 2023-10-27 01:47:53 +02:00
hygienic-books b0842ac9ba refactor(zbm): ZBM image names are now static, no need to regen UEFI boot entries (#5) 2023-10-27 01:46:56 +02:00
hygienic-books 03ed6e076d fix(zbm): Use stub file, not its parent directory for image rebuilds (#5) 2023-10-27 01:43:20 +02:00
hygienic-books b5666493f1 feat(zbm): Add pacman hook to auto-regen ZBM image files after package upgrade (#5) 2023-10-27 01:41:19 +02:00
hygienic-books 81a7fcd64c fix(zbm): ZBM now comes with an EFI stub loader file, we use that (#5) 2023-10-27 00:23:33 +02:00
hygienic-books a0a05b60d1 fix(os): For BIOS/syslinux hook add rsync dependency (#5) 2023-10-26 03:04:37 +02:00
hygienic-books 5f98a971ec fix(os): Specify maintenance instructions for UEFI/BIOS (#5) 2023-10-26 03:02:34 +02:00
hygienic-books 61c220afd7 feat(os): Add pacman hook to regen syslinux on upgrade (#5) 2023-10-26 02:32:26 +02:00