bash: chroot: command not found ??

Erik Postma epostma at nl.tue.win
Mon Nov 10 07:49:59 PST 2003


On Mon, 10 Nov 2003 23:23:26 +0800, tseteen <txz83_02 at yahoo.com.cn> wrote:
> [root at localhost lfs]# chroot $LFS /static/bin/env -i \
> > HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
> > PATH=/bin:/usr/bin:/sbin:/usr/sbin:/static/bin \
> > /static/bin/bash --login
> bash: chroot: command not found
> 
> ------------
> I use redhat9,&lfs-4.0-rc1,
> but it prints:'bash: chroot: command not found' ,what's that mean?
> how to do with it?
> 

Quite possibly you just don't have chroot in your path. My (older) redhat
box has it at /usr/sbin.

-- 
Erik Postma (Email: reverse the order of nl, tue and win.)



More information about the lfs-support mailing list