How can I chroot into a filesystem with a different architechture?
62
votes
9
answers
101501
views
I'm trying to
chroot
into a Arch Linux ARM
filesystem from x86_64
.
I've seen that it's possible to do using static qemu
by copying the binary into the chroot system:
$ cp /usr/bin/qemu-arm archarm-chroot/usr/bin
But despite this I always get the following error:
chroot: failed to run command ‘/bin/bash’: Exec format error
I know this means that the architectures differ. Am I doing something wrong?
Asked by Jivings
(995 rep)
Jun 28, 2012, 10:33 PM
Last activity: Nov 18, 2024, 12:51 PM
Last activity: Nov 18, 2024, 12:51 PM