revisedchroot.xml 860 B

1234567891011121314151617181920
  1. <sect1 id="ch06-revisedchroot">
  2. <title>Revised chroot command</title>
  3. <?dbhtml filename="revisedchroot.html" dir="chapter06"?>
  4. <para>From now on when you exit the chroot environment and wish to re-enter
  5. it, you should run the following modified chroot command.</para>
  6. <para>Additionally, now that all software has been installed there is no
  7. need to use anything from the <filename
  8. class="directory">/tools</filename> directory anymore, so it may be deleted.
  9. However, since the Tcl, Expect, and DejaGnu packages only exist here, you
  10. may want to reinstall them after removing that directory.</para>
  11. <para><screen><userinput>chroot $LFS /usr/bin/env -i \
  12. &nbsp;&nbsp;&nbsp;&nbsp;HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
  13. &nbsp;&nbsp;&nbsp;&nbsp;PATH=/bin:/usr/bin:/sbin:/usr/sbin \
  14. &nbsp;&nbsp;&nbsp;&nbsp;/bin/bash --login</userinput></screen></para>
  15. </sect1>