1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
6 <sect1 id="ch-system-chroot">
7 <title>Entering the Chroot Environment</title>
8 <?dbhtml filename="chroot.html"?>
10 <para>Enter the chroot environment:</para>
12 <screen><userinput>chroot "$LFS" /tools/bin/env -i \
13 HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \
14 PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \
15 /tools/bin/bash --login +h</userinput></screen>