new chroot cmd after glibc-pass2

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2298 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Gerard Beekmans 2003-01-10 15:18:54 +00:00
parent 10d18a0f10
commit 72b34dd8f8
5 changed files with 30 additions and 2 deletions

View File

@ -56,6 +56,9 @@
</itemizedlist> </itemizedlist>
</para></listitem> </para></listitem>
<listitem><para>January 10th, 2003 [gerard]: Added new chroot commands that
are to be used from that point onwards.</para></listitem>
<listitem><para>January 9th, 2003 [timothy]: Appendix A - Gzip: <listitem><para>January 9th, 2003 [timothy]: Appendix A - Gzip:
Added patch URL.</para></listitem> Added patch URL.</para></listitem>

View File

@ -64,6 +64,7 @@
&c6-utillinux; &c6-utillinux;
&c6-kernel-manpages; &c6-kernel-manpages;
&c6-glibc-pass2; &c6-glibc-pass2;
&c6-revisedchroot;
&c6-bootscripts; &c6-bootscripts;
&c6-configure; &c6-configure;

View File

@ -0,0 +1,23 @@
<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 need to run the following modified chroot command. The one at the
beginning of this chapter might not work anymore (if your host distribution
was based on glibc-2.2.x or older, the programs in <filename
class="directory">/static/bin</filename>, such as <filename>bash</filename>,
will not work anymore). The following chroot command will work irregardless
of your host distribution's Glibc version.</para>
<para>Additionally, now that all software has been installed there is no
need to use anything from the <filename
class="directory">/static</filename> directory anymore.</para>
<para><screen><userinput>chroot $LFS /bin/env -i \
&nbsp;&nbsp;&nbsp;&nbsp;HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
&nbsp;&nbsp;&nbsp;&nbsp;PATH=/bin:/usr/bin:/sbin:/usr/sbin \
&nbsp;&nbsp;&nbsp;&nbsp;/bin/bash --login</userinput></screen></para>
</sect1>

View File

@ -9,6 +9,7 @@
<!ENTITY c6-mtablink SYSTEM "../chapter06/mtablink.xml"> <!ENTITY c6-mtablink SYSTEM "../chapter06/mtablink.xml">
<!ENTITY c6-mountproc SYSTEM "../chapter06/mountproc.xml"> <!ENTITY c6-mountproc SYSTEM "../chapter06/mountproc.xml">
<!ENTITY c6-createfiles SYSTEM "../chapter06/createfiles.xml"> <!ENTITY c6-createfiles SYSTEM "../chapter06/createfiles.xml">
<!ENTITY c6-revisedchroot SYSTEM "../chapter06/revisedchroot.xml">
<!ENTITY c6-configure SYSTEM "../chapter06/configure.xml"> <!ENTITY c6-configure SYSTEM "../chapter06/configure.xml">
<!ENTITY c6-cf-ldso SYSTEM "../chapter06/config-ldso.xml"> <!ENTITY c6-cf-ldso SYSTEM "../chapter06/config-ldso.xml">
<!ENTITY c6-cf-keyboard SYSTEM "../chapter06/config-keyboard.xml"> <!ENTITY c6-cf-keyboard SYSTEM "../chapter06/config-keyboard.xml">

View File

@ -4,8 +4,8 @@
<!ENTITY book SYSTEM "book/book.xml"> <!ENTITY book SYSTEM "book/book.xml">
<!ENTITY version "20030109"> <!ENTITY version "20030110">
<!ENTITY releasedate "January 9th, 2003"> <!ENTITY releasedate "January 10th, 2003">
<!ENTITY ftp-root "ftp://ftp.linuxfromscratch.org"> <!ENTITY ftp-root "ftp://ftp.linuxfromscratch.org">
<!ENTITY http-root "http://ftp.linuxfromscratch.org"> <!ENTITY http-root "http://ftp.linuxfromscratch.org">