Executing a command of a chroot outside of the chroot

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



I have a chroot environment on /data/workbench/mnt and I want to execute a
binary which is inside the chroot environment (for example
/data/workbench/mnt/bin/bash). I added the chroot library path to
$LD_LIBRARY_PATH and I just did /data/workbench/mnt/bin/bash. I get a very
strange error: No such file or directory. I am ABSOLUTELY sure that the
file exists. When I chroot /data/workbench/mnt /bin/bash everything runs
smoothly without errors. What's going on?

BTW: I'm on armv7l

-- 
(\_ /) copy the bunny to your profile
(0.o ) to help him achieve world domination.
(> <) come join the dark side.
/_|_\ (we have cookies.)


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux