Gday everyone,

 

This may not be a LFS issue but I will ask here first since it happened with 
the LFS build.

 

I am at the stage where I am chroot'ing into the temporary LFS environment but 
I am having problems.  If I run the command:

 

chroot "$LFS" /tools/bin/env -i \
    HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \
    PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \
    /tools/bin/bash --login +h

 

I get the following error; 

 

chroot: cannot run command `/tools/bin/env': No such file or directory


This is very unusual since the env binary does exist at that location.  To try 
and debug this I try running:

 

chroot "$LFS" /tools/bin/bash

 

This runs but something strange happens...  I have been chroot'ed into a 
directory that doesn't contain anything, no files, no directories, no nothing.  
All I can do is run the commands built-in to the bash shell.  Now this may be a 
problem with the chroot provided by my host system so I tried:

 

/tools/bin/chroot / /tools/bin/bash

 

This works perfectly fine.

 

I am at a loss to figure out what has gone wrong does anyone else have a clue?

 

Thanks

Russ

_________________________________________________________________
POP access for Hotmail is here! Click here to find out more
http://windowslive.ninemsn.com.au/article.aspx?id=802246
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to