Skip to content
🐧 Build ArchLinuxARM Image for RaspberryPi
Branch: master
Clone or download
Pull request Compare This branch is 1 commit ahead, 1 commit behind EasyPi:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
.travis.yml
LICENSE
README.md
build.sh
flash.sh

README.md

AlarmPi-Image

Build ArchLinuxARM Image for RaspberryPi

Image Info
ArchLinuxARM-rpi-latest.img.gz raspberry-pi
ArchLinuxARM-rpi-2-latest.img.gz raspberry-pi-2
ArchLinuxARM-rpi-3-latest.img.gz raspberry-pi-3

How It Works

Flash Image

  • Download image file
  • Inject SD-card to PC
  • Unmount filesystem
  • Run gunzip|dd command
  • Eject SD-card from PC
# For Pi0 and Pi1
gunzip -c ArchLinuxARM-rpi-latest.img.gz | dd of=/dev/mmcblk0 bs=4M

# For Pi2 and Pi3
gunzip -c ArchLinuxARM-rpi-2-latest.img.gz | dd of=/dev/mmcblk0 bs=4M

Expand Filesystem

  • Login via ssh (alarm:alarm)
  • Swith to root (root:root)
  • Recreate patition #2
  • Reboot system
  • Resize file system (/dev/mmcblk0p2)
fdisk /dev/mmcblk0
reboot
resize2fs /dev/mmcblk0p2

Additional Configurations

  • ssh
  • wifi
  • hostname
  • locale
  • timezone
You can’t perform that action at this time.