Skip to content

Repository files navigation

Arch Tool

Single‑script Arch Linux installer + repair toolkit for the Arch ISO environment.

Usage

Boot into the Arch Linux ISO and run these steps:

# 1. Ensure clock is accurate
timedatectl set-ntp true

# 2. Connect to WiFi (if needed)
iwctl                              # interactive mode
# Inside iwctl:
#   device list
#   station wlan0 connect "SSID"
#   exit

# 3. Initialize pacman keyring (usually pre-done, but safe to run)
pacman-key --init
pacman-key --populate archlinux

# 4. (Optional) Rank mirrors for faster downloads
reflector --latest 10 --sort rate --save /etc/pacman.d/mirrorlist

# 5. Run the script
curl -sL https://raw.githubusercontent.com/nightdevil00/testing/refs/heads/main/arch_tool.sh | bash

Or download and run locally:

# Steps 1-4 from above, then:
curl -LO https://raw.githubusercontent.com/nightdevil00/testing/refs/heads/main/arch_tool.sh
chmod +x arch_tool.sh
./arch_tool.sh

Modes

# Mode Description
1 DualBoot Install Arch in free space alongside an existing OS. Detects Windows EFI and adds a chainload entry. Ensure Non Allocated (free space) on disk exists before running script
2 Full Wipe Erases the entire disk, creates a fresh GPT layout, and installs Arch with Btrfs + optional LUKS.
3 Repair Mounts an existing Btrfs/LUKS install, re‑installs the kernel and Limine bootloader, and regenerates initramfs.
4 Fix Omarchy Keyring Installs the cached omarchy-keyring package with relaxed signature checks so the Omarchy installer can run.

Features

  • Btrfs with @, @home, @snapshots, @log subvolumes
  • Optional LUKS2 encryption on root
  • Limine bootloader (UEFI)
  • Windows dual‑boot detection and chainload entry
  • ZRAM with zstd compression
  • Network setup via iwd / systemd-networkd / systemd-resolved
  • Plymouth splash (if encryption is disabled)

Requirements

  • UEFI system
  • Booted from the official Arch Linux ISO
  • Internet connection

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages