Can't find /tools/bin/bash for initial chroot, and /tools/bin/bash is bad too.

Gerard Beekmans gerard at
Sun Feb 20 10:49:08 PST 2005

On February 20, 2005 11:17 am, Steven Pasternak wrote:
> Thanks! That fixed my problem with bash perfectly :-). I still, though,
> can't get chroot to see /tools/bin/bash, yet it is still there if I use
> /mnt/lfs or just / as root (thanks to symlinks).

What is /tools/bin/bash linked to? Run "ldd /mnt/lfs/tools/bin/bash" and make 
sure it is not linked to libraries in /lib. It should try to find the 
libraries in /tools/lib.

If not, then when you chroot, /lib/ for example doesn't exist and 
bash won't run.

Gerard Beekmans

/* If Linux doesn't have the solution, you have the wrong problem */

More information about the lfs-support mailing list