2004-05-03 11:59:46 +01:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
]>
|
|
|
|
<sect1 id="ch-system-chroot">
|
|
|
|
<title>Entering the chroot environment</title>
|
|
|
|
<?dbhtml filename="chroot.html"?>
|
|
|
|
|
2004-12-21 19:38:32 +00:00
|
|
|
<para>Enter the chroot environment:</para>
|
2004-05-03 11:59:46 +01:00
|
|
|
|
|
|
|
<screen><userinput>chroot "$LFS" /tools/bin/env -i \
|
|
|
|
HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \
|
|
|
|
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \
|
|
|
|
/tools/bin/bash --login +h</userinput></screen>
|
|
|
|
|
|
|
|
</sect1>
|