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).
- 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
- An SD Card
- 300 MiB will be used for the
boot
partition - The rest will be used for the
root
partition
- 300 MiB will be used for the
- Packages use (need implementation to enforce dependencies)
- On system:
python3
,bash
,bsdtar
,wget
- Python packages:
os
,subprocess
,time
,sys
- On system:
- Host PC's operating system must be Linux (e.g., Arch Linux, Ubuntu, etc.)
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:
python3 installer.py
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 androot
as the password.
root
Password: # root
- 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
- 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!
- 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