| 12345678910111213141516171819202122232425 | <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-enterit, you need to run the following modified chroot command. The one at thebeginning of this chapter might not work anymore (if your host distributionwas based on glibc-2.2.x or older, the programs in <filenameclass="directory">/static/bin</filename>, such as <filename>bash</filename>,will not work anymore). The following chroot command will work regardlessof your host distribution's Glibc version.</para><para>Additionally, now that all software has been installed there is noneed to use anything from the <filenameclass="directory">/static</filename> directory anymore.</para><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><para><screen><userinput>set +h</userinput></screen></para></sect1>
 |