Skip to content

A minimal installer of Arch Linux for ARMv7 Raspberry Pi (RPi4, 400), and other supported ARM models.

License

Notifications You must be signed in to change notification settings

notkaramel/ArchLinux-on-ARM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ArchLinux installer for Raspberry Pi

MIT License

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:

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 and root as the password.
root
Password: # root
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

About

A minimal installer of Arch Linux for ARMv7 Raspberry Pi (RPi4, 400), and other supported ARM models.

Topics

Resources

License

Stars

Watchers

Forks

Languages