LFS5.0,chpt6,coreutils: moving mv from /usr/bin to /bin

Méher Khiari meher.khiari at netwaybsb.com
Wed Feb 4 09:09:03 PST 2004


> Have I missed anything else?
> ----------------------------------------------------------
> su - root
> mount $LFS
> 
> 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
> 
> mount proc /proc -t proc
> 
> mount devpts /dev/pts -t devpts
> 
> exec /tools/bin/bash --login +h

you can :
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

or chroot normally and  :
$ set +h



More information about the lfs-support mailing list