An automated Arch Linux installer with a dialog-based "GUI", optional LUKS encryption, desktop environments, swap choices, bootloader selection (systemd-boot or GRUB), and even a little Snake game to play while your system installs.
โก Built for the official Arch Linux ISO.
๐ฎ Safe: if Snake fails, the install continues.
๐ ๏ธ Resilient: retries downloads, refreshes mirrors if needed, supports a Best-Effort mode to keep going on non-critical errors.
- Interactive TUI with dialog
- Disk setup: EFI + swap (partition/file) + root
- Filesystem choices:
ext4,btrfs(with basic subvolumes), orxfs - Encryption: optional LUKS for root partition
- Swap options: none / swap partition / swapfile
- Bootloaders: choose between systemd-boot and GRUB
- Profiles:
server(minimal, no GUI)xfce(lightweight desktop)kde(Plasma desktop)gnome(GNOME desktop)
- User setup: hostname, timezone, root password, non-root user
- Error handling:
- Critical steps (partitioning, base install) โ stop on error
- Non-critical steps (Snake, extra packages, services) โ skip if they fail
- Snake game runs in a
tmuxpane while Arch is installing ๐
Run directly from the Arch ISO:
bash <(curl -fsSL https://raw.githubusercontent.com/InterJava-Studio/autounentended-arch/main/setup.sh)Or clone manually:
git clone https://github.com/InterJava-Studio/autounentended-arch/.git
cd <your-repo>
chmod +x arch-gui-installer.sh
./arch-gui-installer.sh- UEFI system (script assumes UEFI boot)
- Internet connection (for pacstrap + package downloads)
- Run as root (
sudo -ior root shell on the Arch ISO) - Official Arch Linux ISO environment
The script installs needed tools (dialog, tmux, python, parted) if missing.
-
Filesystem: choose what to format root with (
ext4,btrfs, orxfs) -
Encryption: optional LUKS (root password reused as passphrase by default)
-
Swap:
- None
- Partition (dedicated swap partition)
- File (on ext4/xfs; btrfs swapfile is skipped for safety)
-
Bootloader:
systemd-boot: simple & clean (UEFI only)GRUB: widely supported, better for dual-boot setups
-
Profiles: install just base system or add a desktop
-
Best-Effort Mode:
- OFF โ stop on any error (safer)
- ON โ skip non-critical errors and continue
During installation, the script launches tmux with two panes:
- Left: live install log (
tail -f) - Right: Python-based Snake game
Detach with Ctrl+b then d. Reattach later with:
tmux attach -t archinst- This script will erase the target disk you select.
- While it has some safety checks and retries, no installer is 100% error-proof.
- Always back up your data before installing.
- Use at your own risk.
MIT License โ do whatever you want, but no warranty is provided.