chroot problem

Matthias Benkmann matthias at winterdrache.de
Fri Oct 26 15:09:55 PDT 2001


On 27 Oct 2001, at 18:40, luca de filippis wrote:

> hi, problem just started with chap6. 
> sorry, i know i'm really a newbie.
> this is the output of the command chroot.
> /lfs/proc is mounted and $LFS=/lfs.
> 
> [root at localhost chapter6]# chroot /lfs /usr/bin/env
> chroot: cannot execute /usr/bin/env: No such file or directory

Well, do you actually _have_ the file /lfs/usr/bin/env ?
 
> but:
> 
> [root at localhost chapter6]# /usr/bin/env
> PWD=/lfs/lfs-commands-3.0/chapter6
> LTDL_LIBRARY_PATH=/usr/lib
> HOSTNAME=localhost.localdomain
> ..
> snip
> ..
> OSTYPE=linux-gnu
> HISTSIZE=1000
> HOME=/root
> TERM=xterm
> PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin
> _=/usr/bin/env
> 
> what is wrong?

This env would be the env from your host distro. You have to check if you 
have $LFS/usr/bin/env.
 
MSB

----
I used to have an open mind but my brains kept falling out.

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message



More information about the lfs-support mailing list