ArchLinux installer for Raspberry Pi
Version: 1.1.1 | Last updated: 2023-Feb-02
Description
A minimal CLI script to install ArchLinuxARM to an ARM device. Currently compatible and tested successfully on Raspberry Pi 3B+ and 400 (meaning it should supports ARMv7 compatible Raspberry Pi devices).
Available options
- ARMv6 on RPi (Zero, Zero W) (Cortex A7)
- ARMv7 on RPi (3, 3B+, 4, 400) (Cortex A53, A72)
- ARMv8 on RPi (4, 400) (Cortex A72)
- See more: Compability
Requirements
- An SD Card
- 300 MiB will be used for the
boot
partition
- The rest will be used for the
root
partition
- Packages use (need implementation to enforce dependencies)
- On system:
python3
, bash
, bsdtar
, wget
- Python packages:
os
, subprocess
, time
, sys
- Host PC’s operating system must be Linux (e.g., Arch Linux, Ubuntu, etc.)
Usage
git clone https://github.com/notkaramel/ArchLinux-ARM-Installer.git
cd ArchLinux-ARM-Installer
You may run the installer directly, or chmod +x
the script and run it.
chmod +x installer.py
./installer.py
Alternatively, the more intuitive way is to run the script with python3:
NOTE: Please read through the scripts before running them.
- After the program finishes, make sure that there is no errors in the terminal.
- Plug in the SD Card into your Raspberry Pi of choice. If everything works, you should see a welcome message. (Congrats!!)
- Login as the root user by typing directly into the empty terminal
root
user and root
as the password.
- Please follow ArchLinuxARM RPi4 Installation Guide to finish the installation on your Raspberry Pi. Basically it’s just:
pacman-key --init
pacman-key --populate archlinuxarm
Personal notes
- I made this to significantly reduce the time it takes to install ArchLinux on my Raspberry Pi 400.
- I designed this script based on the ArchLinux ARM RPi4 Installation Guide. Credit goes to the authors!
- Feel free to contribute to the project!
Compatibility and Testing
- Raspberry Pi 400
- Works well with option for ARMv7 on RPi
- Having issue -22 with option for ARMv8 on RPi
- Raspberry Pi 3B+ or BrickPi3
- Works well with option for ARMv7 on RPi
- Raspberry Pi Zero W (first gen)
- Works well with option for ARMv6 on RPi