Author: ken
Date: 2006-05-10 16:15:06 -0600 (Wed, 10 May 2006)
New Revision: 1556
Modified:
trunk/BOOK/appendices/acronymlist.xml
trunk/BOOK/bootable/ppc/yaboot.xml
trunk/BOOK/final-system/ppc/yaboot.xml
trunk/BOOK/introduction/ppc/changelog.xml
Log:
Improve yaboot.conf and add examples of sata paths, drop reference to pegasos
ppc for lack of information, and correct my attempts to spell Open Firmware as
one word.
Modified: trunk/BOOK/appendices/acronymlist.xml
===================================================================
--- trunk/BOOK/appendices/acronymlist.xml 2006-05-10 21:13:29 UTC (rev
1555)
+++ trunk/BOOK/appendices/acronymlist.xml 2006-05-10 22:15:06 UTC (rev
1556)
@@ -387,6 +387,13 @@
</varlistentry>
<varlistentry>
+ <term><emphasis role="bold">OF</emphasis></term>
+ <listitem>
+ <para>Open Firmware</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><emphasis role="bold">OSS</emphasis></term>
<listitem>
<para>Open Sound System</para>
Modified: trunk/BOOK/bootable/ppc/yaboot.xml
===================================================================
--- trunk/BOOK/bootable/ppc/yaboot.xml 2006-05-10 21:13:29 UTC (rev 1555)
+++ trunk/BOOK/bootable/ppc/yaboot.xml 2006-05-10 22:15:06 UTC (rev 1556)
@@ -16,19 +16,19 @@
<para os="a">Your shiny new LFS system is almost complete. One of the last
things to do is to ensure that the system can be properly booted. The
- instructions below apply only to NewWorld Macintoshes and (probably)
- PegasosPPC.</para>
+ instructions below apply only to NewWorld Macintoshes.</para>
<para os="b">Boot loading can be a complex area, so a few cautionary words
are in order. Be familiar with the current boot loader and any other
operating systems present on the hard drive(s) that need to be bootable.
Make sure that an emergency CD is ready to <quote>rescue</quote> the
- computer if it becomes un-bootable.</para>
+ computer if it becomes un-bootable. It is also a good idea to enable booting
+ from Open Firmware in case things go really wrong.</para>
<para os="c">Earlier, we compiled and installed the yaboot boot loader
software
in preparation for this step. The procedure involves writing the bootloader
- to a bootstrap partition and blessing it so that OpenFirmware will boot from
- it. This is all handled by <command>ybin</command> the yaboot
installer.</para>
+ to a bootstrap partition and blessing it so that Open Firmware will boot from
+ it. This is all handled by <command>ybin</command> the yaboot
installer.</para>
<para os="d">Ybin assembles all the information it needs by reading
yaboot.conf,
then writes the bootstrap. When booted, the bootstrap provides an initial
menu to
@@ -41,7 +41,8 @@
possible options that can be specified in yaboot.conf, see the man page for
the
details. Most people will be able to specify device=hd: (for a single hard
disk),
but if you have multiple disks, or if you wish to be pedantic, you can
specify the
- full OF path to the device, obtained by running
<command>ofpath</command>.</para>
+ full OF path to the device, obtained by running <command>ofpath
/dev/hdX</command>
+ .</para>
<para os="f">Note that the man page mentions which filesystems yaboot can
navigate to find the images - the only linux filesystem type mentioned is
ext2.
@@ -57,6 +58,15 @@
<filename class="partition">hda4</filename>. Change these items as necessary
for your machine.</para>
+ <para os="i">If your machine has a SATA disk, specify the partitions using
+ <filename class="devicefile">/dev/sda7</filename> and so forth in the usual
+ way. At least some of the distros specify a full OF path to the 'device' and
+ to the image(s), such as
+ <filename class="devicefile">device=/[EMAIL PROTECTED],f2000000/[EMAIL
PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]:
+ </filename> for the disk, and
+ <filename class="partition">image=/[EMAIL PROTECTED],f2000000/[EMAIL
PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL
PROTECTED]:9,/boot/lfskernel-&linux-version;
+ </filename> which definitely works.</para>
+
<para os="k">Create a <quote>yaboot.conf</quote> file defining yaboot's boot
menu:</para>
@@ -89,12 +99,21 @@
# allow the initial menu to offer CD as an option
enablecdboot
+# allow the initial menu to offer booting from Open Firmware
+enableofboot
+
# allow the initial menu to boot from mac osx
macosx=/dev/hda4
+# white on black is boring!
+# note the spellings : 'fgcolor' but 'light'
+# in this context, light means 'without high intensity'
+fgcolor=light-green
+
# The first entry is for LFS.
# For all images, the pathname is relative to the filesystem
-# on which they are mounted.
+# on which they are situated and can include at most one
+# directory
image=/boot/lfskernel-&linux-version;
label=&version;
read-only</literal>
Modified: trunk/BOOK/final-system/ppc/yaboot.xml
===================================================================
--- trunk/BOOK/final-system/ppc/yaboot.xml 2006-05-10 21:13:29 UTC (rev
1555)
+++ trunk/BOOK/final-system/ppc/yaboot.xml 2006-05-10 22:15:06 UTC (rev
1556)
@@ -18,7 +18,7 @@
<title/>
<para>The Yaboot package contains a PowerPC Boot Loader for machines using
- OpenFirmware such as NewWorld Macintoshes.</para>
+ Open Firmware such as NewWorld Macintoshes.</para>
</sect2>
@@ -96,7 +96,7 @@
<term><command>ofboot</command></term>
<listitem>
<para>Script to format the boot menu using yaboot.conf and
- write the resulting OpenFirmware code to the bootstrap.</para>
+ write the resulting Open Firmware code to the bootstrap.</para>
<indexterm zone="ch-system-yaboot ofboot">
<primary sortas="b-ofboot">ofboot</primary>
</indexterm>
@@ -106,7 +106,7 @@
<varlistentry id="ofpath">
<term><command>ofpath</command></term>
<listitem>
- <para>Determine OpenFirmware path corresponding to a device
+ <para>Determine Open Firmware path corresponding to a device
node.</para>
<indexterm zone="ch-system-yaboot ofpath">
<primary sortas="b-ofpath">ofpath</primary>
@@ -117,7 +117,7 @@
<varlistentry id="yaboot">
<term><command>yaboot</command></term>
<listitem>
- <para>OpenFirmware boot loader.</para>
+ <para>Open Firmware boot loader.</para>
<indexterm zone="ch-system-yaboot yaboot">
<primary sortas="b-yaboot">yaboot</primary>
</indexterm>
Modified: trunk/BOOK/introduction/ppc/changelog.xml
===================================================================
--- trunk/BOOK/introduction/ppc/changelog.xml 2006-05-10 21:13:29 UTC (rev
1555)
+++ trunk/BOOK/introduction/ppc/changelog.xml 2006-05-10 22:15:06 UTC (rev
1556)
@@ -39,6 +39,11 @@
<listitem>
<para>[ken] - Include the SATA patch for yaboot.</para>
</listitem>
+ <listitem>
+ <para>[ken] - Tidy up yaboot.conf, and drop references to pegasos ppc
+ - it seems to need other patch(es) for yaboot, and perhaps different
+ parameters in yaboot.conf. Also spell Open Firmware as two
words.</para>
+ </listitem>
</itemizedlist>
</listitem>
--
http://linuxfromscratch.org/mailman/listinfo/cross-lfs
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page