[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

chroot to crush does not work



I've got tar file with crush rootfs.
I extract it and try to chroot.

In manual:
SHELL variables
Note that the Debian chroot program from coreutils expects you to want
the same shell outside the chroot as you want to use inside the chroot.
The typical Debian default shell in /etc/passwd is bash which is not
present in the Emdebian rootfs so chroot needs the /bin/sh option.

# chroot flash/ /bin/sh
chroot: cannot run command `/bin/sh': Exec format error

host arch: i386
emdebian rootfs: arm

is it possible?



Reply to: