Index: BOOK/boot/ppc/yaboot-build.xml
===================================================================
--- BOOK/boot/ppc/yaboot-build.xml	(revision 2a85a998e38168486285a66c39440a1b6b939863)
+++ BOOK/boot/ppc/yaboot-build.xml	(revision bc5db553420f2af83729a058b3e8625a36f920ff)
@@ -39,4 +39,10 @@
     xpointer="xpointer(//*[@os='d'])"/>
 
+    <para os="p1">The following patch allows <command>ofpath</command> to use
+    <literal>PATH_PREFIX</literal> like the other
+    <filename class="directory">ybin</filename> scripts:</para>
+
+<screen os="p2"><userinput>patch -Np1 -i ../&yaboot-ofpath_path-patch;</userinput></screen>
+
     <para>The Makefile is already set to do kernel-style cross-compiling,
     but it will try to use <command>strip</command> to strip the second-stage
Index: BOOK/boot/ppc/yaboot.xml
===================================================================
--- BOOK/boot/ppc/yaboot.xml	(revision 2a85a998e38168486285a66c39440a1b6b939863)
+++ BOOK/boot/ppc/yaboot.xml	(revision bc5db553420f2af83729a058b3e8625a36f920ff)
@@ -70,5 +70,11 @@
     xpointer="xpointer(//*[@os='r'])"/>
 
-<screen os="j" role="nodump"><userinput>ybin -v -C /tools/etc/yaboot.conf</userinput></screen>
+<screen os="j" role="nodump"><userinput>PATH_PREFIX=/tools ybin -v -C /tools/etc/yaboot.conf</userinput></screen>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../bootable/ppc/yaboot.xml"
+    xpointer="xpointer(//*[@os='t'])"/>
+
+<screen os="u" role="nodump"><userinput>PATH_PREFIX=/tools mkofboot</userinput></screen>
 
   </sect2>
Index: BOOK/boot/ppc64-chapter.xml
===================================================================
--- BOOK/boot/ppc64-chapter.xml	(revision 2a85a998e38168486285a66c39440a1b6b939863)
+++ BOOK/boot/ppc64-chapter.xml	(revision bc5db553420f2af83729a058b3e8625a36f920ff)
@@ -23,4 +23,8 @@
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/pwdgroup.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc64/kernel.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc64/hfsutils.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc64/mktemp.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc64/powerpc-utils.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc64/yaboot-build.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/settingenviron.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/fstab.xml"/>
@@ -29,5 +33,5 @@
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/devices.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/changingowner.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc/yaboot.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc64/yaboot.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/whatnext.xml"/>
 
Index: BOOK/boot/ppc64/hfsutils.xml
===================================================================
--- BOOK/boot/ppc64/hfsutils.xml	(revision bc5db553420f2af83729a058b3e8625a36f920ff)
+++ BOOK/boot/ppc64/hfsutils.xml	(revision bc5db553420f2af83729a058b3e8625a36f920ff)
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch-boot-hfsutils" role="wrap">
+  <?dbhtml filename="hfsutils.html"?>
+
+  <title>Hfsutils-&hfsutils-version;</title>
+
+  <indexterm zone="ch-boot-hfsutils">
+    <primary sortas="a-Hfsutils">Hfsutils</primary>
+    <secondary>boot</secondary>
+  </indexterm>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../../final-system/ppc/hfsutils.xml"
+  xpointer="xpointer(//*[@role='package'])"/>
+
+  <sect2 role="installation">
+    <title>Installation of Hfsutils</title>
+
+    <para>If you have created, or will create, the ext2 filesystem on your
+    Mac using ext2fsx you can jump ahead to
+    <xref linkend="ch-boot-yaboot-build" role="."/>. The next three packages
+    are for people who cannot do that.</para>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/ppc/hfsutils.xml"
+    xpointer="xpointer(//*[@os='a'])"/>
+
+<screen><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools</userinput></screen>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/ppc/hfsutils.xml"
+    xpointer="xpointer(//*[@os='c'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/ppc/hfsutils.xml"
+    xpointer="xpointer(//*[@os='d'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/ppc/hfsutils.xml"
+    xpointer="xpointer(//*[@os='e'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/ppc/hfsutils.xml"
+    xpointer="xpointer(//*[@os='f'])"/>
+
+  </sect2>
+
+  <sect2 role="content">
+    <title/>
+
+    <para>Details on this package are located in <xref linkend="contents-hfsutils" role="."/></para>
+
+  </sect2>
+
+</sect1>
Index: BOOK/boot/ppc64/mktemp.xml
===================================================================
--- BOOK/boot/ppc64/mktemp.xml	(revision bc5db553420f2af83729a058b3e8625a36f920ff)
+++ BOOK/boot/ppc64/mktemp.xml	(revision bc5db553420f2af83729a058b3e8625a36f920ff)
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch-boot-mktemp" role="wrap">
+  <?dbhtml filename="mktemp.html"?>
+
+  <title>Mktemp-&mktemp-version;</title>
+
+  <indexterm zone="ch-boot-mktemp">
+    <primary sortas="a-Mktemp">Mktemp</primary>
+    <secondary>boot</secondary>
+  </indexterm>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../../final-system/common/mktemp.xml"
+  xpointer="xpointer(//*[@role='package'])"/>
+
+  <sect2 role="installation">
+    <title>Installation of Mktemp</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/mips/mktemp.xml"
+    xpointer="xpointer(//*[@os='p1'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/mips/mktemp.xml"
+    xpointer="xpointer(//*[@os='p2'])"/>
+
+    <para os="a">Mktemp will try to pass the <literal>-s</literal> switch to
+    <command>install</command> to strip the binaries. This will not work when
+    cross compiling, so run the following commands to remove this:</para>
+
+<screen os="b"><userinput>cp -v Makefile.in{,.orig}
+sed  's/\(0555 \)-s /\1/' Makefile.in.orig >Makefile.in</userinput></screen>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/common/mktemp.xml"
+    xpointer="xpointer(//*[@os='c'])"/>
+
+<screen os="e"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools --with-libc\
+    --build=${LFS_HOST} --host=${LFS_TARGET}</userinput></screen>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/common/mktemp.xml"
+    xpointer="xpointer(//*[@os='f'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/common/mktemp.xml"
+    xpointer="xpointer(//*[@os='g'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/common/mktemp.xml"
+    xpointer="xpointer(//*[@os='i'])"/>
+
+<screen><userinput>make install</userinput></screen>
+
+  </sect2>
+
+  <sect2 role="content">
+    <title/>
+
+    <para>Details on this package are located in <xref linkend="contents-mktemp" role="."/></para>
+
+  </sect2>
+
+</sect1>
Index: BOOK/boot/ppc64/powerpc-utils.xml
===================================================================
--- BOOK/boot/ppc64/powerpc-utils.xml	(revision bc5db553420f2af83729a058b3e8625a36f920ff)
+++ BOOK/boot/ppc64/powerpc-utils.xml	(revision bc5db553420f2af83729a058b3e8625a36f920ff)
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch-boot-powerpc-utils" role="wrap">
+  <?dbhtml filename="powerpc-utils.html"?>
+
+  <title>Powerpc-Utils_&powerpcutils-version;</title>
+
+  <indexterm zone="ch-boot-powerpc-utils">
+    <primary sortas="a-Powerpc-Utils">Powerpc-Utils</primary>
+    <secondary>boot</secondary>
+  </indexterm>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../../final-system/ppc/powerpc-utils.xml"
+  xpointer="xpointer(//*[@role='package'])"/>
+
+  <sect2 role="installation">
+    <title>Installation of Powerpc-Utils</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/ppc/powerpc-utils.xml"
+    xpointer="xpointer(//*[@os='a'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/ppc/powerpc-utils.xml"
+    xpointer="xpointer(//*[@os='b'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../ppc/powerpc-utils.xml"
+    xpointer="xpointer(//*[@os='a'])"/>
+
+<screen><userinput>CC="${CC} ${BUILD32}" -o nvsetenv nvsetenv.c nwnvsetenv.c</userinput></screen>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../ppc/powerpc-utils.xml"
+    xpointer="xpointer(//*[@os='c'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../ppc/powerpc-utils.xml"
+    xpointer="xpointer(//*[@os='d'])"/>
+
+  </sect2>
+
+  <sect2 role="content">
+    <title/>
+
+    <para>Details on this package are located in <xref linkend="contents-powerpc-utils" role="."/></para>
+
+  </sect2>
+
+</sect1>
Index: BOOK/boot/ppc64/yaboot-build.xml
===================================================================
--- BOOK/boot/ppc64/yaboot-build.xml	(revision bc5db553420f2af83729a058b3e8625a36f920ff)
+++ BOOK/boot/ppc64/yaboot-build.xml	(revision bc5db553420f2af83729a058b3e8625a36f920ff)
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch-boot-yaboot-build" role="wrap">
+  <?dbhtml filename="yaboot-build.html"?>
+
+  <title>Yaboot-&yaboot-version;</title>
+
+  <indexterm zone="ch-boot-yaboot-build">
+    <primary sortas="a-Yaboot">Yaboot</primary>
+    <secondary>boot</secondary>
+  </indexterm>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../../final-system/ppc/yaboot.xml"
+  xpointer="xpointer(//*[@role='package'])"/>
+
+  <sect2 role="installation">
+    <title>Installation of Yaboot</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/ppc/yaboot.xml"
+    xpointer="xpointer(//*[@os='a'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/ppc/yaboot.xml"
+    xpointer="xpointer(//*[@os='b'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/ppc/yaboot.xml"
+    xpointer="xpointer(//*[@os='c'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/ppc/yaboot.xml"
+    xpointer="xpointer(//*[@os='d'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../ppc/yaboot-build.xml"
+    xpointer="xpointer(//*[@os='p1'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../ppc/yaboot-build.xml"
+    xpointer="xpointer(//*[@os='p2'])"/>
+
+    <para>The Makefile is already set to do kernel-style cross-compiling,
+    but it will try to use <command>strip</command> to strip the second-stage
+    loader.  It also expects to be running as root for the install, and to
+    install for the root user, which user LFS cannot do.  We also need to use
+    the 32-bit compiler, and to force <command>ld</command> to use a 32-bit
+    emulation. The following commands will fix and achieve this:</para>
+
+<screen><userinput>cp Makefile,{.orig}
+sed -e "s/\(-print-libgcc-file-name\)/${BUILD32} \1/" \
+            -e "s/\(-Bstatic\)/-melf32ppclinux \1/" \
+            -e "s/\(strip \)/${LFS_TARGET}-\1/" \
+            -e 's/-o root -g root//' \
+    Makefile.orig > Makefile</userinput></screen>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/ppc/yaboot.xml"
+    xpointer="xpointer(//*[@os='g'])"/>
+
+<screen><userinput>CFLAGS=${BUILD32} make CROSS=${LFS_TARGET}-</userinput></screen>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/ppc/yaboot.xml"
+    xpointer="xpointer(//*[@os='i'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/ppc64/yaboot.xml"
+    xpointer="xpointer(//*[@os='j0'])"/>
+
+<screen><userinput>make CROSS=${LFS_TARGET}- ROOT=/tools PREFIX= install 2&gt;&amp;1 | tee instlog</userinput></screen>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/ppc64/yaboot.xml"
+    xpointer="xpointer(//*[@os='k'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/ppc64/yaboot.xml"
+    xpointer="xpointer(//*[@os='l'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/ppc64/yaboot.xml"
+    xpointer="xpointer(//*[@os='m'])"/>
+
+  </sect2>
+
+  <sect2 role="content">
+    <title/>
+
+    <para>Details on this package are located in <xref linkend="contents-yaboot" role="."/></para>
+
+  </sect2>
+
+</sect1>
Index: BOOK/boot/ppc64/yaboot.xml
===================================================================
--- BOOK/boot/ppc64/yaboot.xml	(revision bc5db553420f2af83729a058b3e8625a36f920ff)
+++ BOOK/boot/ppc64/yaboot.xml	(revision bc5db553420f2af83729a058b3e8625a36f920ff)
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch-boot-yaboot">
+  <?dbhtml filename="yaboot.html"?>
+
+  <title>Making the Temporary System Bootable</title>
+
+  <indexterm zone="ch-boot-yaboot">
+    <primary sortas="a-Yaboot">Yaboot</primary>
+    <secondary>boot, configuring</secondary>
+  </indexterm>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../ppc/yaboot.xml"
+    xpointer="xpointer(//*[@os='a'])"/>
+
+  <sect2 role=".">
+    <title>Copying the bootloader to OSX and booting from OF.</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../ppc/yaboot.xml"
+    xpointer="xpointer(//*[@os='b'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../ppc/yaboot.xml"
+    xpointer="xpointer(//*[@os='c'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../ppc/yaboot.xml"
+    xpointer="xpointer(//*[@os='d'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../ppc/yaboot.xml"
+    xpointer="xpointer(//*[@os='e'])"/>
+
+  </sect2>
+
+  <sect2 role=".">
+    <title>Using a CD to set up the bootstrap partition.</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../ppc/yaboot.xml"
+    xpointer="xpointer(//*[@os='f'])"/>
+
+    <para os="f2">It is also apprpriate if you are running an old 32-bit Linux
+    kernel on a 64-bit machine, or if the kernel personality has been forced to
+    32-bit.</para>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../ppc/yaboot.xml"
+    xpointer="xpointer(//*[@os='g'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../ppc/yaboot.xml"
+    xpointer="xpointer(//*[@os='h'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../bootable/ppc/yaboot.xml"
+    xpointer="xpointer(//*[@os='r'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../ppc/yaboot.xml"
+    xpointer="xpointer(//*[@os='j'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../bootable/ppc/yaboot.xml"
+    xpointer="xpointer(//*[@os='t'])"/>
+
+<screen os="u" role="nodump"><userinput>PATH_PREFIX=/tools mkofboot</userinput></screen>
+
+  </sect2>
+
+</sect1>
Index: BOOK/bootable/ppc64-chapter.xml
===================================================================
--- BOOK/bootable/ppc64-chapter.xml	(revision 2a85a998e38168486285a66c39440a1b6b939863)
+++ BOOK/bootable/ppc64-chapter.xml	(revision bc5db553420f2af83729a058b3e8625a36f920ff)
@@ -14,5 +14,5 @@
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/fstab.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc/kernel.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc64/kernel.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc/yaboot.xml"/>
 
Index: BOOK/bootable/ppc64/kernel.xml
===================================================================
--- BOOK/bootable/ppc64/kernel.xml	(revision bc5db553420f2af83729a058b3e8625a36f920ff)
+++ BOOK/bootable/ppc64/kernel.xml	(revision bc5db553420f2af83729a058b3e8625a36f920ff)
@@ -0,0 +1,144 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch-bootable-kernel" role="wrap">
+  <?dbhtml filename="kernel.html"?>
+
+  <title>Linux-&linux-version;</title>
+
+  <indexterm zone="ch-bootable-kernel">
+    <primary sortas="a-Linux">Linux</primary>
+  </indexterm>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../x86/kernel.xml"
+  xpointer="xpointer(//*[@role='package'])"/>
+
+  <sect2 role="installation">
+    <title>Installation of the kernel</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../x86/kernel.xml"
+    xpointer="xpointer(//*[@os='a'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../x86/kernel.xml"
+    xpointer="xpointer(//*[@os='b'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../x86/kernel.xml"
+    xpointer="xpointer(//*[@os='c'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../x86/kernel.xml"
+    xpointer="xpointer(//*[@os='d'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../x86/kernel.xml"
+    xpointer="xpointer(//*[@os='e'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../x86/kernel.xml"
+    xpointer="xpointer(//*[@os='f'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../x86/kernel.xml"
+    xpointer="xpointer(//*[@os='g'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../x86/kernel.xml"
+    xpointer="xpointer(//*[@os='h'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../x86/kernel.xml"
+    xpointer="xpointer(//*[@os='i'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../x86/kernel.xml"
+    xpointer="xpointer(//*[@os='j'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../x86/kernel.xml"
+    xpointer="xpointer(//*[@os='k'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../x86/kernel.xml"
+    xpointer="xpointer(//*[@os='m'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../x86/kernel.xml"
+    xpointer="xpointer(//*[@os='n'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../x86/kernel.xml"
+    xpointer="xpointer(//*[@os='o'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../x86/kernel.xml"
+    xpointer="xpointer(//*[@os='p'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../x86/kernel.xml"
+    xpointer="xpointer(//*[@os='q'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../x86/kernel.xml"
+    xpointer="xpointer(//*[@os='r'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../x86/kernel.xml"
+    xpointer="xpointer(//*[@os='s'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../x86/kernel.xml"
+    xpointer="xpointer(//*[@os='t'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../x86/kernel.xml"
+    xpointer="xpointer(//*[@os='u'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../x86/kernel.xml"
+    xpointer="xpointer(//*[@os='v'])"/>
+
+<screen><userinput>cp vmlinux /boot/lfskernel-&linux-version;</userinput></screen>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../x86/kernel.xml"
+    xpointer="xpointer(//*[@os='w'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../x86/kernel.xml"
+    xpointer="xpointer(//*[@os='w1'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../x86/kernel.xml"
+    xpointer="xpointer(//*[@os='x'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../x86/kernel.xml"
+    xpointer="xpointer(//*[@os='x1'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../x86/kernel.xml"
+    xpointer="xpointer(//*[@os='y'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../x86/kernel.xml"
+    xpointer="xpointer(//*[@os='y1'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../x86/kernel.xml"
+    xpointer="xpointer(//*[@os='z'])"/>
+
+  </sect2>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../x86/kernel.xml"
+  xpointer="xpointer(id('contents-kernel'))"/>
+
+</sect1>
Index: BOOK/final-system/ppc64/yaboot.xml
===================================================================
--- BOOK/final-system/ppc64/yaboot.xml	(revision 2a85a998e38168486285a66c39440a1b6b939863)
+++ BOOK/final-system/ppc64/yaboot.xml	(revision bc5db553420f2af83729a058b3e8625a36f920ff)
@@ -71,11 +71,4 @@
     </variablelist>
 
-    <important>
-      <para>The above patches and seds are critical in ensuring a
-      successful build. In particular, the package will appear to install
-      correctly without the second sed, but will fail to load linux,
-      requiring you to use OF or a rescue disk to boot.</para>
-    </important>
-
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../ppc/yaboot.xml"
@@ -92,14 +85,17 @@
 <screen os="h"><userinput>CFLAGS="${BUILD32}" make PREFIX=/usr</userinput></screen>
 
-    <important>
-      <para>The CFLAGS on the above command are equally critical
-      for a successful install.</para>
-    </important>
-
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../ppc/yaboot.xml"
     xpointer="xpointer(//*[@os='i'])"/>
 
-<screen><userinput>make PREFIX=/usr install 2&gt;&amp;1 &gt;instlog</userinput></screen>
+    <important os="j0">
+      <para>The multilib install of yaboot can fail if you miss any of the
+      patches or seds, or omit the CFLAGS variable. <command>ld</command> will
+      issue warnings, but the install will appear to complete successfully.
+      That would result in an unbootable system, so you need to log the output
+      to check it.</para>
+    </important>
+
+<screen><userinput>make PREFIX=/usr install 2&gt;&amp;1 | tee instlog</userinput></screen>
 
     <para os='k'>To ensure that the install was successful, run the following
@@ -109,7 +105,6 @@
 
     <para os='m'>If the command gave you <emphasis>any</emphasis> output
-    (... is incompatible with powerpc:common output) the build is broken and
-    you will have to repeat it with <emphasis>all</emphasis> of the items
-    marked as important.</para>
+    (... is incompatible with powerpc:common output) the build of yaboot is
+    broken and you will have to correct your error(s) and repeat it.</para>
 
   </sect2>
Index: BOOK/introduction/ppc/changelog.xml
===================================================================
--- BOOK/introduction/ppc/changelog.xml	(revision 2a85a998e38168486285a66c39440a1b6b939863)
+++ BOOK/introduction/ppc/changelog.xml	(revision bc5db553420f2af83729a058b3e8625a36f920ff)
@@ -33,4 +33,15 @@
 
 -->
+
+    <listitem>
+      <para>June 18, 2006</para>
+      <itemizedlist>
+        <listitem>
+          <para>[ken] - Added patch to let ofpath use PATH_PREFIX and add missing
+	  PATH_PREFIX to the ybin command for the 'from CD' variant in Making the
+	  Temporary System Bootable.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
 
     <listitem>
Index: BOOK/introduction/ppc64/changelog.xml
===================================================================
--- BOOK/introduction/ppc64/changelog.xml	(revision 2a85a998e38168486285a66c39440a1b6b939863)
+++ BOOK/introduction/ppc64/changelog.xml	(revision bc5db553420f2af83729a058b3e8625a36f920ff)
@@ -41,4 +41,8 @@
 	  instead of updating config.{guess,sub} from installed versions.</para>
         </listitem>
+        <listitem>
+          <para>[ken] - Fix up the bootable chapter for hfsutils, mktemp,
+	  powerpc-utils, and yaboot. This should now work.</para>
+        </listitem>
       </itemizedlist>
     </listitem>
Index: BOOK/materials/ppc/patches.xml
===================================================================
--- BOOK/materials/ppc/patches.xml	(revision 2a85a998e38168486285a66c39440a1b6b939863)
+++ BOOK/materials/ppc/patches.xml	(revision bc5db553420f2af83729a058b3e8625a36f920ff)
@@ -35,4 +35,13 @@
     </varlistentry>
 
+    <varlistentry os="yaboot-ofpath_path-patch">
+      <term>Yaboot (&yaboot-version;) Ofpath_Path_Prefix Patch - <token>&yaboot-ofpath_path-patch-size;</token>:</term>
+      <listitem>
+        <para>Download: <ulink
+        url="&patches-root;yaboot/&yaboot-ofpath_path-patch;"/></para>
+        <para>MD5 sum: <literal>&yaboot-ofpath_path-patch-md5;</literal></para>
+      </listitem>
+    </varlistentry>
+
     <varlistentry os="yaboot-sata-patch">
       <term>Yaboot (&yaboot-version;) SATA Patch - <token>&yaboot-sata-patch-size;</token>:</term>
Index: BOOK/materials/ppc64/patches.xml
===================================================================
--- BOOK/materials/ppc64/patches.xml	(revision 2a85a998e38168486285a66c39440a1b6b939863)
+++ BOOK/materials/ppc64/patches.xml	(revision bc5db553420f2af83729a058b3e8625a36f920ff)
@@ -54,4 +54,8 @@
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../ppc/patches.xml"
+    xpointer="xpointer(//*[@os='yaboot-ofpath_path-patch'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../ppc/patches.xml"
     xpointer="xpointer(//*[@os='yaboot-sata-patch'])"/>
 
Index: BOOK/patches.ent
===================================================================
--- BOOK/patches.ent	(revision 2a85a998e38168486285a66c39440a1b6b939863)
+++ BOOK/patches.ent	(revision bc5db553420f2af83729a058b3e8625a36f920ff)
@@ -224,4 +224,8 @@
 <!ENTITY yaboot-sata-patch-size "1 KB">
 
+<!ENTITY yaboot-ofpath_path-patch "yaboot-&yaboot-version;-ofpath_path_prefix-1.patch">
+<!ENTITY yaboot-ofpath_path-patch-md5 "3faf70e0cb4e4f62a1e8815c3452ab38">
+<!ENTITY yaboot-ofpath_path-patch-size "1 KB">
+
 <!-- Start of sparc/sparc64 patches -->
 
