Have you had a look at the second solution in your link? It seems to me to be the most likely: make sure that all of the dependencies of /bin/bash are mounted in the chroot: sudo mount -o bind /usr debian/usr, sudo mount -o bind /lib debian/lib and sudo m
qemu仿真二进制文出现 chroot: failed to run command XXX 或Err or while loading XXX : No such file or directory错误。 出现此 错误 的问题主要在于对 chroot 这个命令的理解不到位。 仿真的命令是:sudo chroot XX目录 相对于XX目录的qemu文件 相对于XX目录的被仿真的可执... 准备利用qemu模拟运行一个ELF文件。
Make sure you point it to where bash (or other shell's) executable is in chroot directory. If you have /mnt/somedir/usr/bin/bash then execute chroot /mnt/somedir /usr/bin/bash. Apart from the above, you also need to add libc directory dependencies, as