Initial commit: Linux-Setup für MacBook Pro 13" und 16"
Vollautomatisches Post-Install-Setup für Ubuntu 24.04 auf MacBook Pro
Late 2013 (13") und Mid 2014 (16" mit Nvidia Optimus). Enthält:
- setup.sh: Komplettes Post-Install-Skript (Pakete, Xubuntu, Brave,
PrusaSlicer, oh-my-zsh, Claude Code, Dotfiles via Forgejo/Stow,
mbpfan, thermald, TLP, WireGuard, Lokalisierung DE)
- build-iso.sh: Ubuntu Autoinstall ISO für Ventoy erstellen
- user-data/meta-data: cloud-init Autoinstall-Konfiguration
- mbpfan-13.conf / mbpfan-16.conf: Modellspezifische Lüftersteuerung
- hid_apple.conf / keyboard: Deutsche Mac-Tastaturbelegung + Fn-Tasten
- blacklist-nvidia.conf: Optionaler Nvidia/nouveau-Blacklist
- temp-watch.sh: CPU-Temperaturüberwachung mit Desktop-Notification
Infrastruktur-Abhängigkeiten:
- Dotfiles: git.motocamp.de/rene/dotfiles.git (via GNU Stow)
- DiskStation 10.47.11.10 (SMTP, IMAP, Synology Drive)
- WireGuard-VPN 10.13.13.x ins Heimnetz 10.47.11.0/24
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 15:27:48 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
# build-iso.sh — Ubuntu 24.04 Autoinstall ISO für Ventoy bauen
|
2026-03-07 21:37:00 +01:00
|
|
|
# Funktioniert auf macOS (xorriso via brew) und Linux (xorriso via apt)
|
|
|
|
|
# Ergebnis: ubuntu-macbook-autoinstall.iso (~3.2 GB)
|
Initial commit: Linux-Setup für MacBook Pro 13" und 16"
Vollautomatisches Post-Install-Setup für Ubuntu 24.04 auf MacBook Pro
Late 2013 (13") und Mid 2014 (16" mit Nvidia Optimus). Enthält:
- setup.sh: Komplettes Post-Install-Skript (Pakete, Xubuntu, Brave,
PrusaSlicer, oh-my-zsh, Claude Code, Dotfiles via Forgejo/Stow,
mbpfan, thermald, TLP, WireGuard, Lokalisierung DE)
- build-iso.sh: Ubuntu Autoinstall ISO für Ventoy erstellen
- user-data/meta-data: cloud-init Autoinstall-Konfiguration
- mbpfan-13.conf / mbpfan-16.conf: Modellspezifische Lüftersteuerung
- hid_apple.conf / keyboard: Deutsche Mac-Tastaturbelegung + Fn-Tasten
- blacklist-nvidia.conf: Optionaler Nvidia/nouveau-Blacklist
- temp-watch.sh: CPU-Temperaturüberwachung mit Desktop-Notification
Infrastruktur-Abhängigkeiten:
- Dotfiles: git.motocamp.de/rene/dotfiles.git (via GNU Stow)
- DiskStation 10.47.11.10 (SMTP, IMAP, Synology Drive)
- WireGuard-VPN 10.13.13.x ins Heimnetz 10.47.11.0/24
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 15:27:48 +01:00
|
|
|
|
|
|
|
|
set -e
|
2026-03-07 21:37:00 +01:00
|
|
|
UBUNTU_ISO_URL="https://releases.ubuntu.com/24.04/ubuntu-24.04.4-live-server-amd64.iso"
|
|
|
|
|
UBUNTU_ISO="ubuntu-24.04.4-live-server-amd64.iso"
|
Initial commit: Linux-Setup für MacBook Pro 13" und 16"
Vollautomatisches Post-Install-Setup für Ubuntu 24.04 auf MacBook Pro
Late 2013 (13") und Mid 2014 (16" mit Nvidia Optimus). Enthält:
- setup.sh: Komplettes Post-Install-Skript (Pakete, Xubuntu, Brave,
PrusaSlicer, oh-my-zsh, Claude Code, Dotfiles via Forgejo/Stow,
mbpfan, thermald, TLP, WireGuard, Lokalisierung DE)
- build-iso.sh: Ubuntu Autoinstall ISO für Ventoy erstellen
- user-data/meta-data: cloud-init Autoinstall-Konfiguration
- mbpfan-13.conf / mbpfan-16.conf: Modellspezifische Lüftersteuerung
- hid_apple.conf / keyboard: Deutsche Mac-Tastaturbelegung + Fn-Tasten
- blacklist-nvidia.conf: Optionaler Nvidia/nouveau-Blacklist
- temp-watch.sh: CPU-Temperaturüberwachung mit Desktop-Notification
Infrastruktur-Abhängigkeiten:
- Dotfiles: git.motocamp.de/rene/dotfiles.git (via GNU Stow)
- DiskStation 10.47.11.10 (SMTP, IMAP, Synology Drive)
- WireGuard-VPN 10.13.13.x ins Heimnetz 10.47.11.0/24
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 15:27:48 +01:00
|
|
|
OUTPUT_ISO="ubuntu-macbook-autoinstall.iso"
|
2026-03-07 21:37:00 +01:00
|
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
Initial commit: Linux-Setup für MacBook Pro 13" und 16"
Vollautomatisches Post-Install-Setup für Ubuntu 24.04 auf MacBook Pro
Late 2013 (13") und Mid 2014 (16" mit Nvidia Optimus). Enthält:
- setup.sh: Komplettes Post-Install-Skript (Pakete, Xubuntu, Brave,
PrusaSlicer, oh-my-zsh, Claude Code, Dotfiles via Forgejo/Stow,
mbpfan, thermald, TLP, WireGuard, Lokalisierung DE)
- build-iso.sh: Ubuntu Autoinstall ISO für Ventoy erstellen
- user-data/meta-data: cloud-init Autoinstall-Konfiguration
- mbpfan-13.conf / mbpfan-16.conf: Modellspezifische Lüftersteuerung
- hid_apple.conf / keyboard: Deutsche Mac-Tastaturbelegung + Fn-Tasten
- blacklist-nvidia.conf: Optionaler Nvidia/nouveau-Blacklist
- temp-watch.sh: CPU-Temperaturüberwachung mit Desktop-Notification
Infrastruktur-Abhängigkeiten:
- Dotfiles: git.motocamp.de/rene/dotfiles.git (via GNU Stow)
- DiskStation 10.47.11.10 (SMTP, IMAP, Synology Drive)
- WireGuard-VPN 10.13.13.x ins Heimnetz 10.47.11.0/24
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 15:27:48 +01:00
|
|
|
|
|
|
|
|
RED='\033[0;31m'; GREEN='\033[0;32m'; YELLOW='\033[1;33m'; NC='\033[0m'
|
|
|
|
|
ok() { echo -e "${GREEN}✓ $*${NC}"; }
|
|
|
|
|
warn() { echo -e "${YELLOW}⚠ $*${NC}"; }
|
2026-03-07 21:37:00 +01:00
|
|
|
err() { echo -e "${RED}✗ $*${NC}"; exit 1; }
|
Initial commit: Linux-Setup für MacBook Pro 13" und 16"
Vollautomatisches Post-Install-Setup für Ubuntu 24.04 auf MacBook Pro
Late 2013 (13") und Mid 2014 (16" mit Nvidia Optimus). Enthält:
- setup.sh: Komplettes Post-Install-Skript (Pakete, Xubuntu, Brave,
PrusaSlicer, oh-my-zsh, Claude Code, Dotfiles via Forgejo/Stow,
mbpfan, thermald, TLP, WireGuard, Lokalisierung DE)
- build-iso.sh: Ubuntu Autoinstall ISO für Ventoy erstellen
- user-data/meta-data: cloud-init Autoinstall-Konfiguration
- mbpfan-13.conf / mbpfan-16.conf: Modellspezifische Lüftersteuerung
- hid_apple.conf / keyboard: Deutsche Mac-Tastaturbelegung + Fn-Tasten
- blacklist-nvidia.conf: Optionaler Nvidia/nouveau-Blacklist
- temp-watch.sh: CPU-Temperaturüberwachung mit Desktop-Notification
Infrastruktur-Abhängigkeiten:
- Dotfiles: git.motocamp.de/rene/dotfiles.git (via GNU Stow)
- DiskStation 10.47.11.10 (SMTP, IMAP, Synology Drive)
- WireGuard-VPN 10.13.13.x ins Heimnetz 10.47.11.0/24
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 15:27:48 +01:00
|
|
|
|
2026-03-07 21:37:00 +01:00
|
|
|
OS="$(uname -s)"
|
Initial commit: Linux-Setup für MacBook Pro 13" und 16"
Vollautomatisches Post-Install-Setup für Ubuntu 24.04 auf MacBook Pro
Late 2013 (13") und Mid 2014 (16" mit Nvidia Optimus). Enthält:
- setup.sh: Komplettes Post-Install-Skript (Pakete, Xubuntu, Brave,
PrusaSlicer, oh-my-zsh, Claude Code, Dotfiles via Forgejo/Stow,
mbpfan, thermald, TLP, WireGuard, Lokalisierung DE)
- build-iso.sh: Ubuntu Autoinstall ISO für Ventoy erstellen
- user-data/meta-data: cloud-init Autoinstall-Konfiguration
- mbpfan-13.conf / mbpfan-16.conf: Modellspezifische Lüftersteuerung
- hid_apple.conf / keyboard: Deutsche Mac-Tastaturbelegung + Fn-Tasten
- blacklist-nvidia.conf: Optionaler Nvidia/nouveau-Blacklist
- temp-watch.sh: CPU-Temperaturüberwachung mit Desktop-Notification
Infrastruktur-Abhängigkeiten:
- Dotfiles: git.motocamp.de/rene/dotfiles.git (via GNU Stow)
- DiskStation 10.47.11.10 (SMTP, IMAP, Synology Drive)
- WireGuard-VPN 10.13.13.x ins Heimnetz 10.47.11.0/24
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 15:27:48 +01:00
|
|
|
echo "════════════════════════════════════════════"
|
2026-03-07 21:37:00 +01:00
|
|
|
echo " macbook-setup ISO Builder ($OS)"
|
Initial commit: Linux-Setup für MacBook Pro 13" und 16"
Vollautomatisches Post-Install-Setup für Ubuntu 24.04 auf MacBook Pro
Late 2013 (13") und Mid 2014 (16" mit Nvidia Optimus). Enthält:
- setup.sh: Komplettes Post-Install-Skript (Pakete, Xubuntu, Brave,
PrusaSlicer, oh-my-zsh, Claude Code, Dotfiles via Forgejo/Stow,
mbpfan, thermald, TLP, WireGuard, Lokalisierung DE)
- build-iso.sh: Ubuntu Autoinstall ISO für Ventoy erstellen
- user-data/meta-data: cloud-init Autoinstall-Konfiguration
- mbpfan-13.conf / mbpfan-16.conf: Modellspezifische Lüftersteuerung
- hid_apple.conf / keyboard: Deutsche Mac-Tastaturbelegung + Fn-Tasten
- blacklist-nvidia.conf: Optionaler Nvidia/nouveau-Blacklist
- temp-watch.sh: CPU-Temperaturüberwachung mit Desktop-Notification
Infrastruktur-Abhängigkeiten:
- Dotfiles: git.motocamp.de/rene/dotfiles.git (via GNU Stow)
- DiskStation 10.47.11.10 (SMTP, IMAP, Synology Drive)
- WireGuard-VPN 10.13.13.x ins Heimnetz 10.47.11.0/24
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 15:27:48 +01:00
|
|
|
echo "════════════════════════════════════════════"
|
|
|
|
|
|
2026-03-07 21:37:00 +01:00
|
|
|
# ── Abhängigkeiten ───────────────────────────────────────────────────────
|
Initial commit: Linux-Setup für MacBook Pro 13" und 16"
Vollautomatisches Post-Install-Setup für Ubuntu 24.04 auf MacBook Pro
Late 2013 (13") und Mid 2014 (16" mit Nvidia Optimus). Enthält:
- setup.sh: Komplettes Post-Install-Skript (Pakete, Xubuntu, Brave,
PrusaSlicer, oh-my-zsh, Claude Code, Dotfiles via Forgejo/Stow,
mbpfan, thermald, TLP, WireGuard, Lokalisierung DE)
- build-iso.sh: Ubuntu Autoinstall ISO für Ventoy erstellen
- user-data/meta-data: cloud-init Autoinstall-Konfiguration
- mbpfan-13.conf / mbpfan-16.conf: Modellspezifische Lüftersteuerung
- hid_apple.conf / keyboard: Deutsche Mac-Tastaturbelegung + Fn-Tasten
- blacklist-nvidia.conf: Optionaler Nvidia/nouveau-Blacklist
- temp-watch.sh: CPU-Temperaturüberwachung mit Desktop-Notification
Infrastruktur-Abhängigkeiten:
- Dotfiles: git.motocamp.de/rene/dotfiles.git (via GNU Stow)
- DiskStation 10.47.11.10 (SMTP, IMAP, Synology Drive)
- WireGuard-VPN 10.13.13.x ins Heimnetz 10.47.11.0/24
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 15:27:48 +01:00
|
|
|
echo -e "\n=== Abhängigkeiten prüfen ==="
|
2026-03-07 21:37:00 +01:00
|
|
|
if [[ "$OS" == "Darwin" ]]; then
|
|
|
|
|
if ! command -v xorriso &>/dev/null; then
|
|
|
|
|
echo "xorriso nicht gefunden, installiere via Homebrew..."
|
|
|
|
|
brew install xorriso
|
|
|
|
|
fi
|
|
|
|
|
ok "xorriso verfügbar (macOS)"
|
|
|
|
|
else
|
|
|
|
|
if ! command -v xorriso &>/dev/null; then
|
|
|
|
|
sudo apt install -y xorriso
|
|
|
|
|
fi
|
|
|
|
|
ok "xorriso verfügbar (Linux)"
|
|
|
|
|
fi
|
Initial commit: Linux-Setup für MacBook Pro 13" und 16"
Vollautomatisches Post-Install-Setup für Ubuntu 24.04 auf MacBook Pro
Late 2013 (13") und Mid 2014 (16" mit Nvidia Optimus). Enthält:
- setup.sh: Komplettes Post-Install-Skript (Pakete, Xubuntu, Brave,
PrusaSlicer, oh-my-zsh, Claude Code, Dotfiles via Forgejo/Stow,
mbpfan, thermald, TLP, WireGuard, Lokalisierung DE)
- build-iso.sh: Ubuntu Autoinstall ISO für Ventoy erstellen
- user-data/meta-data: cloud-init Autoinstall-Konfiguration
- mbpfan-13.conf / mbpfan-16.conf: Modellspezifische Lüftersteuerung
- hid_apple.conf / keyboard: Deutsche Mac-Tastaturbelegung + Fn-Tasten
- blacklist-nvidia.conf: Optionaler Nvidia/nouveau-Blacklist
- temp-watch.sh: CPU-Temperaturüberwachung mit Desktop-Notification
Infrastruktur-Abhängigkeiten:
- Dotfiles: git.motocamp.de/rene/dotfiles.git (via GNU Stow)
- DiskStation 10.47.11.10 (SMTP, IMAP, Synology Drive)
- WireGuard-VPN 10.13.13.x ins Heimnetz 10.47.11.0/24
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 15:27:48 +01:00
|
|
|
|
2026-03-07 21:37:00 +01:00
|
|
|
# ── Ubuntu ISO herunterladen ─────────────────────────────────────────────
|
Initial commit: Linux-Setup für MacBook Pro 13" und 16"
Vollautomatisches Post-Install-Setup für Ubuntu 24.04 auf MacBook Pro
Late 2013 (13") und Mid 2014 (16" mit Nvidia Optimus). Enthält:
- setup.sh: Komplettes Post-Install-Skript (Pakete, Xubuntu, Brave,
PrusaSlicer, oh-my-zsh, Claude Code, Dotfiles via Forgejo/Stow,
mbpfan, thermald, TLP, WireGuard, Lokalisierung DE)
- build-iso.sh: Ubuntu Autoinstall ISO für Ventoy erstellen
- user-data/meta-data: cloud-init Autoinstall-Konfiguration
- mbpfan-13.conf / mbpfan-16.conf: Modellspezifische Lüftersteuerung
- hid_apple.conf / keyboard: Deutsche Mac-Tastaturbelegung + Fn-Tasten
- blacklist-nvidia.conf: Optionaler Nvidia/nouveau-Blacklist
- temp-watch.sh: CPU-Temperaturüberwachung mit Desktop-Notification
Infrastruktur-Abhängigkeiten:
- Dotfiles: git.motocamp.de/rene/dotfiles.git (via GNU Stow)
- DiskStation 10.47.11.10 (SMTP, IMAP, Synology Drive)
- WireGuard-VPN 10.13.13.x ins Heimnetz 10.47.11.0/24
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 15:27:48 +01:00
|
|
|
if [[ ! -f "$UBUNTU_ISO" ]]; then
|
|
|
|
|
echo -e "\n=== Ubuntu 24.04 ISO herunterladen ==="
|
2026-03-07 21:37:00 +01:00
|
|
|
curl -L --progress-bar -o "$UBUNTU_ISO" "$UBUNTU_ISO_URL"
|
Initial commit: Linux-Setup für MacBook Pro 13" und 16"
Vollautomatisches Post-Install-Setup für Ubuntu 24.04 auf MacBook Pro
Late 2013 (13") und Mid 2014 (16" mit Nvidia Optimus). Enthält:
- setup.sh: Komplettes Post-Install-Skript (Pakete, Xubuntu, Brave,
PrusaSlicer, oh-my-zsh, Claude Code, Dotfiles via Forgejo/Stow,
mbpfan, thermald, TLP, WireGuard, Lokalisierung DE)
- build-iso.sh: Ubuntu Autoinstall ISO für Ventoy erstellen
- user-data/meta-data: cloud-init Autoinstall-Konfiguration
- mbpfan-13.conf / mbpfan-16.conf: Modellspezifische Lüftersteuerung
- hid_apple.conf / keyboard: Deutsche Mac-Tastaturbelegung + Fn-Tasten
- blacklist-nvidia.conf: Optionaler Nvidia/nouveau-Blacklist
- temp-watch.sh: CPU-Temperaturüberwachung mit Desktop-Notification
Infrastruktur-Abhängigkeiten:
- Dotfiles: git.motocamp.de/rene/dotfiles.git (via GNU Stow)
- DiskStation 10.47.11.10 (SMTP, IMAP, Synology Drive)
- WireGuard-VPN 10.13.13.x ins Heimnetz 10.47.11.0/24
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 15:27:48 +01:00
|
|
|
ok "ISO heruntergeladen"
|
|
|
|
|
else
|
|
|
|
|
ok "ISO bereits vorhanden: $UBUNTU_ISO"
|
|
|
|
|
fi
|
|
|
|
|
|
2026-03-07 21:37:00 +01:00
|
|
|
# Prüfen ob es eine echte ISO ist
|
|
|
|
|
if ! file "$UBUNTU_ISO" | grep -q "ISO 9660"; then
|
|
|
|
|
rm -f "$UBUNTU_ISO"
|
|
|
|
|
err "Download fehlgeschlagen (keine gültige ISO). Bitte erneut starten."
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
# ── Autoinstall-Dateien vorbereiten ──────────────────────────────────────
|
|
|
|
|
echo -e "\n=== Autoinstall-Dateien vorbereiten ==="
|
|
|
|
|
TMPDIR=$(mktemp -d)
|
|
|
|
|
mkdir -p "$TMPDIR/autoinstall"
|
|
|
|
|
cp "$SCRIPT_DIR/user-data" "$TMPDIR/autoinstall/"
|
|
|
|
|
cp "$SCRIPT_DIR/meta-data" "$TMPDIR/autoinstall/"
|
|
|
|
|
ok "user-data und meta-data bereit"
|
|
|
|
|
|
|
|
|
|
# ── GRUB-Eintrag vorbereiten ────────────────────────────────────────────
|
|
|
|
|
echo -e "\n=== GRUB-Eintrag vorbereiten ==="
|
|
|
|
|
|
|
|
|
|
# Originale grub.cfg extrahieren
|
|
|
|
|
xorriso -osirrox on -indev "$UBUNTU_ISO" \
|
|
|
|
|
-extract /boot/grub/grub.cfg "$TMPDIR/grub.cfg" 2>/dev/null
|
|
|
|
|
chmod u+w "$TMPDIR/grub.cfg"
|
|
|
|
|
|
|
|
|
|
# Autoinstall-Eintrag voranstellen
|
|
|
|
|
TMPGRUB=$(mktemp)
|
|
|
|
|
cat > "$TMPGRUB" <<'GRUBEOF'
|
Initial commit: Linux-Setup für MacBook Pro 13" und 16"
Vollautomatisches Post-Install-Setup für Ubuntu 24.04 auf MacBook Pro
Late 2013 (13") und Mid 2014 (16" mit Nvidia Optimus). Enthält:
- setup.sh: Komplettes Post-Install-Skript (Pakete, Xubuntu, Brave,
PrusaSlicer, oh-my-zsh, Claude Code, Dotfiles via Forgejo/Stow,
mbpfan, thermald, TLP, WireGuard, Lokalisierung DE)
- build-iso.sh: Ubuntu Autoinstall ISO für Ventoy erstellen
- user-data/meta-data: cloud-init Autoinstall-Konfiguration
- mbpfan-13.conf / mbpfan-16.conf: Modellspezifische Lüftersteuerung
- hid_apple.conf / keyboard: Deutsche Mac-Tastaturbelegung + Fn-Tasten
- blacklist-nvidia.conf: Optionaler Nvidia/nouveau-Blacklist
- temp-watch.sh: CPU-Temperaturüberwachung mit Desktop-Notification
Infrastruktur-Abhängigkeiten:
- Dotfiles: git.motocamp.de/rene/dotfiles.git (via GNU Stow)
- DiskStation 10.47.11.10 (SMTP, IMAP, Synology Drive)
- WireGuard-VPN 10.13.13.x ins Heimnetz 10.47.11.0/24
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 15:27:48 +01:00
|
|
|
set default=0
|
|
|
|
|
set timeout=10
|
|
|
|
|
|
|
|
|
|
menuentry "Ubuntu MacBook AutoInstall" {
|
|
|
|
|
set gfxpayload=keep
|
|
|
|
|
linux /casper/vmlinuz quiet autoinstall ds=nocloud\;s=/cdrom/autoinstall/ ---
|
|
|
|
|
initrd /casper/initrd
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-07 21:37:00 +01:00
|
|
|
GRUBEOF
|
|
|
|
|
cat "$TMPGRUB" "$TMPDIR/grub.cfg" > "$TMPDIR/grub-new.cfg"
|
|
|
|
|
rm "$TMPGRUB"
|
Initial commit: Linux-Setup für MacBook Pro 13" und 16"
Vollautomatisches Post-Install-Setup für Ubuntu 24.04 auf MacBook Pro
Late 2013 (13") und Mid 2014 (16" mit Nvidia Optimus). Enthält:
- setup.sh: Komplettes Post-Install-Skript (Pakete, Xubuntu, Brave,
PrusaSlicer, oh-my-zsh, Claude Code, Dotfiles via Forgejo/Stow,
mbpfan, thermald, TLP, WireGuard, Lokalisierung DE)
- build-iso.sh: Ubuntu Autoinstall ISO für Ventoy erstellen
- user-data/meta-data: cloud-init Autoinstall-Konfiguration
- mbpfan-13.conf / mbpfan-16.conf: Modellspezifische Lüftersteuerung
- hid_apple.conf / keyboard: Deutsche Mac-Tastaturbelegung + Fn-Tasten
- blacklist-nvidia.conf: Optionaler Nvidia/nouveau-Blacklist
- temp-watch.sh: CPU-Temperaturüberwachung mit Desktop-Notification
Infrastruktur-Abhängigkeiten:
- Dotfiles: git.motocamp.de/rene/dotfiles.git (via GNU Stow)
- DiskStation 10.47.11.10 (SMTP, IMAP, Synology Drive)
- WireGuard-VPN 10.13.13.x ins Heimnetz 10.47.11.0/24
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 15:27:48 +01:00
|
|
|
ok "GRUB konfiguriert (autoinstall als Standard)"
|
|
|
|
|
|
2026-03-07 21:37:00 +01:00
|
|
|
# ── ISO modifizieren (Boot-Records bleiben erhalten) ─────────────────────
|
Initial commit: Linux-Setup für MacBook Pro 13" und 16"
Vollautomatisches Post-Install-Setup für Ubuntu 24.04 auf MacBook Pro
Late 2013 (13") und Mid 2014 (16" mit Nvidia Optimus). Enthält:
- setup.sh: Komplettes Post-Install-Skript (Pakete, Xubuntu, Brave,
PrusaSlicer, oh-my-zsh, Claude Code, Dotfiles via Forgejo/Stow,
mbpfan, thermald, TLP, WireGuard, Lokalisierung DE)
- build-iso.sh: Ubuntu Autoinstall ISO für Ventoy erstellen
- user-data/meta-data: cloud-init Autoinstall-Konfiguration
- mbpfan-13.conf / mbpfan-16.conf: Modellspezifische Lüftersteuerung
- hid_apple.conf / keyboard: Deutsche Mac-Tastaturbelegung + Fn-Tasten
- blacklist-nvidia.conf: Optionaler Nvidia/nouveau-Blacklist
- temp-watch.sh: CPU-Temperaturüberwachung mit Desktop-Notification
Infrastruktur-Abhängigkeiten:
- Dotfiles: git.motocamp.de/rene/dotfiles.git (via GNU Stow)
- DiskStation 10.47.11.10 (SMTP, IMAP, Synology Drive)
- WireGuard-VPN 10.13.13.x ins Heimnetz 10.47.11.0/24
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 15:27:48 +01:00
|
|
|
echo -e "\n=== ISO bauen ==="
|
2026-03-07 21:37:00 +01:00
|
|
|
cp "$UBUNTU_ISO" "$OUTPUT_ISO"
|
|
|
|
|
|
|
|
|
|
xorriso -indev "$OUTPUT_ISO" \
|
|
|
|
|
-outdev "$OUTPUT_ISO" \
|
|
|
|
|
-map "$TMPDIR/autoinstall" /autoinstall \
|
|
|
|
|
-map "$TMPDIR/grub-new.cfg" /boot/grub/grub.cfg \
|
|
|
|
|
-boot_image any replay \
|
|
|
|
|
-commit
|
|
|
|
|
|
|
|
|
|
rm -rf "$TMPDIR"
|
Initial commit: Linux-Setup für MacBook Pro 13" und 16"
Vollautomatisches Post-Install-Setup für Ubuntu 24.04 auf MacBook Pro
Late 2013 (13") und Mid 2014 (16" mit Nvidia Optimus). Enthält:
- setup.sh: Komplettes Post-Install-Skript (Pakete, Xubuntu, Brave,
PrusaSlicer, oh-my-zsh, Claude Code, Dotfiles via Forgejo/Stow,
mbpfan, thermald, TLP, WireGuard, Lokalisierung DE)
- build-iso.sh: Ubuntu Autoinstall ISO für Ventoy erstellen
- user-data/meta-data: cloud-init Autoinstall-Konfiguration
- mbpfan-13.conf / mbpfan-16.conf: Modellspezifische Lüftersteuerung
- hid_apple.conf / keyboard: Deutsche Mac-Tastaturbelegung + Fn-Tasten
- blacklist-nvidia.conf: Optionaler Nvidia/nouveau-Blacklist
- temp-watch.sh: CPU-Temperaturüberwachung mit Desktop-Notification
Infrastruktur-Abhängigkeiten:
- Dotfiles: git.motocamp.de/rene/dotfiles.git (via GNU Stow)
- DiskStation 10.47.11.10 (SMTP, IMAP, Synology Drive)
- WireGuard-VPN 10.13.13.x ins Heimnetz 10.47.11.0/24
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 15:27:48 +01:00
|
|
|
|
|
|
|
|
ok "ISO erstellt: $OUTPUT_ISO"
|
|
|
|
|
echo ""
|
|
|
|
|
echo "Größe: $(du -sh "$OUTPUT_ISO" | cut -f1)"
|
|
|
|
|
echo ""
|
|
|
|
|
warn "Nächster Schritt: ISO auf Ventoy-Stick kopieren"
|
2026-03-07 21:37:00 +01:00
|
|
|
if [[ "$OS" == "Darwin" ]]; then
|
|
|
|
|
echo " cp $OUTPUT_ISO /Volumes/Ventoy/"
|
|
|
|
|
else
|
|
|
|
|
echo " cp $OUTPUT_ISO /media/\$USER/Ventoy/"
|
|
|
|
|
fi
|