mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 05:27:39 +00:00
821f799640
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2992 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
20 lines
821 B
XML
20 lines
821 B
XML
<sect1 id="ch06-revisedchroot">
|
|
<title>Revised chroot command</title>
|
|
<?dbhtml filename="revisedchroot.html" dir="chapter06"?>
|
|
|
|
<para>From now on when you exit the chroot environment and wish to re-enter
|
|
it, you should run the following modified chroot command:</para>
|
|
|
|
<screen><userinput>chroot $LFS /usr/bin/env -i \
|
|
HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
|
|
PATH=/bin:/usr/bin:/sbin:/usr/sbin \
|
|
/bin/bash --login</userinput></screen>
|
|
|
|
<para>The reason being there is no longer any need to use programs from the
|
|
<filename class="directory">/tools</filename> directory. However, we don't
|
|
want to remove the <filename class="directory">/tools</filename> directory
|
|
just yet. There is still some use for it towards the end of the book.</para>
|
|
|
|
</sect1>
|
|
|