segfault after compiling glibc-2.3.1 (last step of chapter 6)

Bruce Dubbs bdubbs at
Mon Jan 6 17:43:00 PST 2003

Tushar Teredesai wrote:

> Once you are at the end of Ch 6, your system is built. You don't need 
> to use the static directory. Just use the Ch 6 stuff.
>    chroot $LFS /bin/env -i \
>        HOME=/root TERM=$TERM PS1='\u:\w\$ '  \
>        PATH=/bin:/usr/bin:/sbin:/usr/sbin \
>        /bin/bash --login
> (IMO) This should be mentioned in the book. Forwarding to lfs-dev.

Wouldn't it just be easier to modify /root/.bash_profile?  Then it would be:

chroot $LFS /bin/env - /bin/bash --login

  -- Bruce

Unsubscribe: send email to listar at
and put 'unsubscribe lfs-dev' in the subject header of the message

More information about the lfs-dev mailing list