ArchLinux ARM

Failure

Date: July 13th 2025

I did pacman -Syu on a fresh arch install, after redoing the partition scheme following a failed prior pacman -Syu. This resulted in a boot loop. So I decided to give up on Archlinux ARM.

Chipset: Raspberry Pi 3 Model B bcm2837rifbg

source: https://archlinuxarm.org/platforms/armv8/broadcom/raspberry-pi-3

Using fdisk create this partition scheme:

Device     Boot   Start      End  Sectors  Size Id Type
/dev/sda1          2048  2099199  2097152    1G  c W95 FAT32 (LBA)
/dev/sda2       2099200 62333951 60234752 28.7G 83 Linux

About the partition sheme

Setting 1G for boot deviates from the one the 200M set in original guide. I set it to 1G because 200M was too small, the first pacman -Syu failed citing insufficient space in boot partition.

Format partitions:

mkfs.vfat /dev/sda1
mkfs.ext4 /dev/sda2

Mount the partitions:

mkdir boot root
mount /dev/sda1 boot
mount /dev/sda2 root

Download and extract the root filesystem:

Warning

Go for the 64bit (ArchLinuxARM-rpi-aarch64) and remember to unpack with bsdtar as root, not with sudo.

# wget http://os.archlinuxarm.org/os/ArchLinuxARM-rpi-armv7-latest.tar.gz
wget http://os.archlinuxarm.org/os/ArchLinuxARM-rpi-aarch64-latest.tar.gz
sudo su
bsdtar -xpf ArchLinuxARM-rpi-armv7-latest.tar.gz -C root
sync

Move boot files to the first partition:

mv root/boot/* boot

Unmount the two partitions:

umount boot root

Insert the SD card into the Raspberry Pi, connect ethernet, and apply 5V power.

Use the serial console or SSH to the IP address given to the board by your router.

Defaut username and password

user name: alarm
password : alarm

username : root
passowrd : root

Initialize the pacman keyring and populate the Arch Linux ARM package signing keys:

pacman-key --init
pacman-key --populate archlinuxarm

Comments