cvs: Chapter 6:Revised chroot command

Gerard Beekmans gerard at linuxfromscratch.org
Tue Jan 14 13:06:23 PST 2003


On January 12, 2003 05:19 am, Menno Tammens wrote:
> The new chroot command after installing glibc is:
>
> chroot $LFS /bin/env -i \
>      HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
>      PATH=/bin:/usr/bin:/sbin:/usr/sbin \
>      /bin/bash --login
>
> but env is in /usr/bin, because sh-ulits is installed with --prefix=/usr
> and env is not moved to /bin

Thanks I'll get that fixed.

-- 
Gerard Beekmans
www.linuxfromscratch.org

-*- If Linux doesn't have the solution, you have the wrong problem -*-
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message



More information about the lfs-dev mailing list