- Install qemu-user-static (
yay -S qemu-user-static).- This might need you to install
pcre-staticand update PGP keys (follow the tips in the comments here).
- This might need you to install
- If not already present, install
systemd-binfmt, the revamped version ofbinfmt-supporttools- Your system has to support transparent Qemu user emulation, but fortunately, that is mostly enabled once the steps here have been followed.
- Check the status of the
systemd-binfmtunit (systemctl status systemd-binfmt) and (re)start if needed (sudo systemctl restart systemd-binfmt)- This unit has ARM support by default, but check the current documentation to make install it if needed
- Mount the root partition of the ARM system into a folder (for e.g.,
sudo mount /dev/sdb2 arm_mountpoint) - Copy the QEMU ARM static binary (
/usr/bin/qemu-arm-staticon my distro) to the mounted root directory'susr/bin