Issue with chroot

Bruce Dubbs bruce.dubbs at
Wed Jun 30 18:16:50 PDT 2010

Saxon Landers wrote:
> hi, i have just finished chapter 5 of the LFS6.6 book, and have 
> completed ch 6 to 6.3. I am up to chrooting into the environment.
> here's where the problem arises. the chroot command passes (is that the 
> right word?) the /tools/bin/env command with argument -i, however when i 
> run the full chroot out of the book, it says that /tools/bin/env does 
> not exist. I had a look in the filesystem, and indeed, it does not. Is 
> there something i have done wrong, how can i fix it, and, will i have to 
> start from scratch (fingers crossed i dont)

env is installed when you build coreutils.  Also make sure you followed 
chapter 4.2 correctly.

> oh, and thankyou to all the people who helped with the glibc instalation 
> issue. compiling and installing in $LFS/sources fixed it. maybe the book 
> should specify that?

It does in the -dev version of the book.

  -- Bruce

More information about the lfs-support mailing list