-
Notifications
You must be signed in to change notification settings - Fork 0
Installation Guide
Complete step-by-step installation instructions for all supported desktop environments.
Prerequisites: Boot from Arch Linux ISO and connect to internet first!
curl -fsSL https://re-arch.xyz/install | bashThat's it! Choose your desktop environment and let it install. The automated installer handles all the steps below automatically.
For advanced users or if the automated installer fails:
Hardware (MINIMUM):
- π§ CPU: x86_64 processor (Intel/AMD 64-bit)
- π§ RAM: 4GB minimum, 8GB recommended
- πΎ Storage: 20GB minimum free space, 50GB recommended
- π Boot: UEFI firmware preferred, Legacy BIOS supported
- β FULLY SUPPORTED: Fresh installation on dedicated machines or VMs
β οΈ ADVANCED USERS ONLY: Dual-boot systems (requires manual partition configuration)- β NOT SUPPORTED: Systems with existing data you want to preserve
- β WILL NOT WORK: Without internet connection during installation
- π Stable internet required: Downloads 1-2GB of packages
- π Wired connection recommended: More reliable than WiFi during installation
- πΆ WiFi setup: Connect to network BEFORE running installation commands
Recommended VM Settings:
- RAM: 8GB minimum, 16GB recommended
- Storage: 50GB minimum, 100GB recommended
- Network: NAT or Bridged (internet access required)
- Graphics: Enable 3D acceleration if available
- Download Arch Linux ISO: https://archlinux.org/download/
-
Create bootable media: Use Rufus, Etcher, or
ddcommand - Boot from USB/DVD: Enter BIOS/UEFI and select boot device
-
Wait for login prompt: Should see
root@archiso ~ #
For Ethernet (automatic):
# Test connection
if ping -c 3 google.com &> /dev/null; then
echo "β
Internet connection confirmed"
else
echo "β No internet connection. Please check your network."
exit 1
fiFor WiFi:
# Start iwctl
iwctl
# List devices
device list
# Connect to network (replace "YourNetwork" with your network name)
station wlan0 connect "YourNetwork"
# Exit iwctl
exit
# Test connection
ping -c 3 google.com# Validate archinstall is available
if ! command -v archinstall &> /dev/null; then
echo "β archinstall not found. Please boot from official Arch Linux ISO."
exit 1
fi
# Validate internet connectivity
if ! ping -c 1 google.com &> /dev/null; then
echo "β No internet connection. Please connect before proceeding."
exit 1
fi
echo "β
Pre-installation validation complete"-
Default configs target
/dev/sda(first SATA drive) -
If your disk is different (e.g.,
/dev/nvme0n1,/dev/vda,/dev/sdb):- Download the config file first:
curl -O https://re-arch.xyz/config-kde.json - Edit the
"device"field in the disk_config section to match your actual disk - Use
--config config-kde.jsoninstead of--config-urlin the command
- Download the config file first:
-
Check your disk name:
lsblkorfdisk -l
| Desktop Environment | Command |
|---|---|
| KDE Plasma (Recommended) | archinstall --config-url https://re-arch.xyz/config-kde.json --creds-url https://re-arch.xyz/creds.json |
| GNOME | archinstall --config-url https://re-arch.xyz/config-gnome.json --creds-url https://re-arch.xyz/creds.json |
| XFCE | archinstall --config-url https://re-arch.xyz/config-xfce.json --creds-url https://re-arch.xyz/creds.json |
| Hyprland | archinstall --config-url https://re-arch.xyz/config-hyprland.json --creds-url https://re-arch.xyz/creds.json |
Fallback URLs (if re-arch.xyz is blocked):
# Replace config-kde.json with your chosen DE
archinstall --config-url https://raw.githubusercontent.com/buggerman/re-arch/main/config-kde.json --creds-url https://raw.githubusercontent.com/buggerman/re-arch/main/creds.jsonExpected Timeline:
- β±οΈ Total time: 25-35 minutes
- π¦ Package downloads: 10-15 minutes
- πΎ Installation: 5-10 minutes
- βοΈ Configuration: 2-5 minutes
What to Watch For:
- Package download progress
- No error messages in red
- Successful completion message
- Prompt to reboot or continue
After archinstall completes successfully:
-
Enter chroot environment:
- When archinstall completes, it will ask "Would you like to chroot into the newly created installation?"
- Select "Yes" to enter chroot automatically
- Alternatively, if needed:
arch-chroot /mnt
-
Run optimization script:
curl -fsSL https://re-arch.xyz/re-arch-lite.sh | bash -
Alternative URL if GitHub is blocked:
curl -fsSL https://re-arch.xyz/re-arch-lite.sh | bash
What the optimization script does:
- π§ Configures snapshot system and permissions
- π§ Sets up GRUB Btrfs integration
- π§ Enables appropriate system services
- π§ Configures Flatpak and package repositories
- π§ Optimizes system settings
-
Exit chroot:
exit -
Reboot system:
reboot
-
Remove installation media when prompted
-
First boot should take 2-3 minutes to complete initial setup
π§ Core System: Linux Zen kernel, GRUB with Btrfs snapshot support, snapper automation, optimized Btrfs subvolume layout with zstd compression
π₯οΈ Desktop Environment: Your chosen DE with appropriate display manager, Wayland support, essential applications, and Bluetooth
β‘ Performance & Security: ananicy-cpp process optimization, zram memory compression, PipeWire audio, firewalld security, Mesa graphics
π¦ Package Management:
- pacman (system core)
- Flatpak (GUI apps)
- AUR repository enabled (helper must be installed separately)
- Homebrew (development tools)
- multilib (32-bit compatibility)
π Utilities: Manual pages, nano editor, file system support, quality fonts, mirror optimization
Username: user
Password: rearch
Installation successful if:
- System boots to login screen
- Can log in with default credentials
- Desktop environment loads properly
- Network connectivity works
- Package managers are functional
See the Troubleshooting page for comprehensive solutions to common issues.
For advanced users, see experimental methods in the main README. These are not recommended for most users.
For detailed troubleshooting, see the Troubleshooting page.