On Sat, Oct 16, 2010 at 09:43:25PM -0400, Mike Hollis wrote:
> On Sat, Oct 16, 2010 at 07:35:55PM +0530, sreejan kumar wrote:
> > Hello
> > I have been facing some problem in running this command
> > could you specify how should i proceed??
> > 
> > 
> > r...@trinity-desktop:/# 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
> > 
> > /tools/bin/env: /tools/bin/bash: No such file or directory
> > 
> > r...@trinity-desktop:/#
> 
> Ensure that the symlink made in Chapter 4.2 exists in your root 
> directory and that bash exists in tools bin. I sometimes forget
> to do a make install.
> 
> Mike H.
> -- 
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page

I just  noticed that you omitted the backslashes in the command.
It wouldn't work correctly typed or pasted as you show above.The
correct usage from the book:

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

Mike H.
-- 
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