Skip to content

77 [sw][linux][chroot][arm] chroot into arm target rootfs on x86_64 host os

sudo apt install qemu-user-static
# plugin U disk
sudo cp $(which qemu-user-static) /media/rf/rootfs/usr/bin
sudo chroot /media/rf/rootfs qemu-arm-static /bin/bash

# should enter target rootfs
qemu-arm-static /bin/ls
qemu-arm-static /bin/vi