From 0a1eb0ee70908f68950c8e8f78c63b7af94e5ea3 Mon Sep 17 00:00:00 2001 From: nevaforget Date: Mon, 23 Mar 2026 17:47:19 +0100 Subject: [PATCH] docs: Installationsanleitung mit beiden Varianten (curl + Ventoy) --- README.md | 35 ++++++++++++++++++++++++++--------- 1 file changed, 26 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index e4a87cc..81deb51 100644 --- a/README.md +++ b/README.md @@ -4,23 +4,40 @@ Reproduzierbares Arch-Linux-Setup mit Niri (Wayland Compositor), greetd/regreet, ## Schnellstart -1. Arch ISO booten -2. `archinstall --config /pfad/zur/user_configuration.json` (Disk + Kernel interaktiv) -3. Reboot — das Repo liegt bereits in `/opt/moonarch` -4. Einloggen, dann: +### Variante A: Config im Live-System herunterladen -```bash -/opt/moonarch/scripts/post-install.sh -``` +1. [Arch ISO](https://archlinux.org/download/) auf USB flashen und davon booten +2. Im Live-System: + ```bash + curl -O https://gitea.moonarch.de/nevaforget/moonarch/raw/branch/main/config/user_configuration.json + archinstall --config user_configuration.json + ``` +3. Disk + Kernel interaktiv waehlen, Rest kommt aus der Config -5. Nochmal rebooten — fertig +### Variante B: Config auf den USB-Stick legen (Ventoy) + +1. [Ventoy](https://www.ventoy.net/) auf USB installieren +2. Arch ISO und `user_configuration.json` auf die Ventoy-Partition kopieren +3. Davon booten, dann: + ```bash + archinstall --config /run/media/ventoy/user_configuration.json + ``` + +### Nach archinstall + +1. Reboot — das Repo liegt bereits in `/opt/moonarch` (via custom-commands) +2. Einloggen, dann: + ```bash + /opt/moonarch/scripts/post-install.sh + ``` +3. Nochmal rebooten — fertig ## Struktur ``` config/ archinstall-Konfiguration packages/ Paketlisten (official.txt + aur.txt) -scripts/ Bootstrap, Post-Install, Update, Theme-Installer +scripts/ Post-Install, Update, Theme-Installer defaults/ bin/ moonarch-* Helper-Scripts (/usr/local/bin/) xdg/ XDG-Defaults (/etc/xdg/)