Howto install archlinux arm
download image
download raspbian lite image:
wget https://downloads.raspberrypi.org/raspios_lite_armhf/images/raspios_lite_armhf-2021-11-08/2021-10-30-raspios-bullseye-armhf-lite.zip
download archlinuxarm image:
wget http://os.archlinuxarm.org/os/ArchLinuxARM-rpi-aarch64-latest.tar.gz
umcompress rasbian lite image:
unzip 2021-10-30-raspios-bullseye-armhf-lite.zip
rename rasbian lite image:
mv 2021-10-30-raspios-bullseye-armhf-lite.img $(date +%F)-archlinuxarm.img
install multipath-tools:
pacman -S multipath-tools
mount the image with kpart:
kpart -va $(date +%F)-archlinuxarm.img
mount partitions:
mkdir /mnt/archarm mount /dev/mapper/loop0p2 /mnt/archarm mount /dev/mapper/loop0p1 /mnt/archarm/boot