You did not read carefully the link I gave you. Once chrooted, the command is / bin / sh but in the new environment. It is therefore necessary that you are in your directory, a directory "bin" containing the executable bash.
So I suggest you try the following system:
Code:
mkdir system/bin system/lib system/etc cp /bin/bash /bin/ls system/bin cp /lib/libacl.so.* /lib/libattr.so.* /lib/libc.so.* /lib/libdl.so.* /lib/libncurses.so.* system/lib cp /lib/libpthread.so.* /lib/librt.so.* /lib/libselinux.so.* /lib/libsepol.so.* system/lib cp /lib/ld* system/lib cp /etc/passwd /etc/group system/etc chroot system /bin/bash
Bookmarks