Chroot onto ARM based image
It is possible.
You need to install qemu-user-static
on your x86/x86_64 computer:
sudo apt-get install qemu-user-static
Let's assume that your rootfs is mounted to /mnt
.
Then try:
sudo cp /usr/bin/qemu-arm-static /mnt/usr/bin/
sudo cp /etc/resolv.conf /mnt/etc/resolv.conf
cd /mnt
sudo mount --bind /dev dev/
sudo mount --bind /sys sys/
sudo mount --bind /proc proc/
sudo mount --bind /dev/pts dev/pts
sed -i 's/^/#/g' /mnt/raspbian/etc/ld.so.preload
sudo chroot .
sed -i 's/^#//g' /mnt/raspbian/etc/ld.so.preload