docs: Installationsanleitung mit beiden Varianten (curl + Ventoy)

This commit is contained in:
nevaforget 2026-03-23 17:47:19 +01:00
parent 5d2ce00455
commit 0a1eb0ee70

View File

@ -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/)