Linux From Scratch: Version 5.0-pre3
Prev | Chapter 6. Installing basic system software | Next

# Revised chroot command

From now on when you exit the chroot environment and wish to re-enter it, you should run the following modified chroot command:

    chroot $LFS /usr/bin/env -i \
        HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
        PATH=/bin:/usr/bin:/sbin:/usr/sbin \
        /bin/bash --login

The reason being there is no longer any need to use programs from the `/tools` directory. However, we don't want to remove the `/tools` directory just yet. There is still some use for it towards the end of the book.

Prev | Home | Next
Installing GCC-2.95.3 | Up | Installing LFS-Bootscripts-1.12