Changeset 3d23af3


Ignore:
Timestamp:
May 10, 2006, 4:36:40 PM (15 years ago)
Author:
Jim Gifford <clfs@…>
Children:
7860781
Parents:
4b41f4c
Message:

r3373@server (orig r1556): ken | 2006-05-10 15:15:06 -0700
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.

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • appendices/acronymlist.xml

    r4b41f4c r3d23af3  
    388388
    389389    <varlistentry>
     390      <term><emphasis role="bold">OF</emphasis></term>
     391      <listitem>
     392        <para>Open Firmware</para>
     393      </listitem>
     394    </varlistentry>
     395
     396    <varlistentry>
    390397      <term><emphasis role="bold">OSS</emphasis></term>
    391398      <listitem>
  • bootable/ppc/yaboot.xml

    r4b41f4c r3d23af3  
    1717  <para os="a">Your shiny new LFS system is almost complete. One of the last
    1818  things to do is to ensure that the system can be properly booted. The
    19   instructions below apply only to NewWorld Macintoshes and (probably)
    20   PegasosPPC.</para>
     19  instructions below apply only to NewWorld Macintoshes.</para>
    2120
    2221  <para os="b">Boot loading can be a complex area, so a few cautionary words
     
    2423  operating systems present on the hard drive(s) that need to be bootable.
    2524  Make sure that an emergency CD is ready to <quote>rescue</quote> the
    26   computer if it becomes un-bootable.</para>
     25  computer if it becomes un-bootable.  It is also a good idea to enable booting
     26  from Open Firmware in case things go really wrong.</para>
    2727
    2828  <para os="c">Earlier, we compiled and installed the yaboot boot loader software
    2929  in preparation for this step. The procedure involves writing the bootloader
    30   to a bootstrap partition and blessing it so that OpenFirmware will boot from
    31   it.  This is all handled by <command>ybin</command> the yaboot installer.</para> 
     30  to a bootstrap partition and blessing it so that Open Firmware will boot from
     31  it.  This is all handled by <command>ybin</command> the yaboot installer.</para>
    3232
    3333  <para os="d">Ybin assembles all the information it needs by reading yaboot.conf,
     
    4242  details.  Most people will be able to specify device=hd: (for a single hard disk),
    4343  but if you have multiple disks, or if you wish to be pedantic, you can specify the
    44   full OF path to the device, obtained by running <command>ofpath</command>.</para>
     44  full OF path to the device, obtained by running <command>ofpath /dev/hdX</command>
     45  .</para>
    4546
    4647  <para os="f">Note that the man page mentions which filesystems yaboot can
     
    5758  <filename class="partition">hda4</filename>.  Change these items as necessary
    5859  for your machine.</para>
     60
     61  <para os="i">If your machine has a SATA disk, specify the partitions using
     62  <filename class="devicefile">/dev/sda7</filename> and so forth in the usual
     63  way.  At least some of the distros specify a full OF path to the 'device' and
     64  to the image(s), such as
     65  <filename class="devicefile">device=/ht@0,f2000000/pci@3/k2-sata-root@c/k2-sata@0/disk@0:
     66  </filename> for the disk, and
     67  <filename class="partition">image=/ht@0,f2000000/pci@3/k2-sata-root@c/k2-sata@0/disk@0:9,/boot/lfskernel-&linux-version;
     68  </filename> which definitely works.</para>
    5969
    6070  <para os="k">Create a <quote>yaboot.conf</quote> file defining yaboot's boot
     
    90100enablecdboot
    91101
     102# allow the initial menu to offer booting from Open Firmware
     103enableofboot
     104
    92105# allow the initial menu to boot from mac osx
    93106macosx=/dev/hda4
    94107
     108# white on black is boring!
     109# note  the spellings : 'fgcolor' but 'light'
     110# in this context, light means 'without high intensity'
     111fgcolor=light-green
     112
    95113# The first entry is for LFS.
    96114# For all images, the pathname is relative to the filesystem
    97 # on which they are mounted.
     115# on which they are situated and can include at most one
     116# directory
    98117image=/boot/lfskernel-&linux-version;
    99118    label=&version;
  • final-system/ppc/yaboot.xml

    r4b41f4c r3d23af3  
    1919
    2020    <para>The Yaboot package contains a PowerPC Boot Loader for machines using
    21     OpenFirmware such as NewWorld Macintoshes.</para>
     21    Open Firmware such as NewWorld Macintoshes.</para>
    2222
    2323  </sect2>
     
    9797        <listitem>
    9898          <para>Script to format the boot menu using yaboot.conf and
    99     write the resulting OpenFirmware code to the bootstrap.</para>
     99    write the resulting Open Firmware code to the bootstrap.</para>
    100100          <indexterm zone="ch-system-yaboot ofboot">
    101101            <primary sortas="b-ofboot">ofboot</primary>
     
    107107        <term><command>ofpath</command></term>
    108108        <listitem>
    109           <para>Determine OpenFirmware path corresponding to a device
     109          <para>Determine Open Firmware path corresponding to a device
    110110    node.</para>
    111111          <indexterm zone="ch-system-yaboot ofpath">
     
    118118        <term><command>yaboot</command></term>
    119119        <listitem>
    120           <para>OpenFirmware boot loader.</para>
     120          <para>Open Firmware boot loader.</para>
    121121          <indexterm zone="ch-system-yaboot yaboot">
    122122            <primary sortas="b-yaboot">yaboot</primary>
  • introduction/ppc/changelog.xml

    r4b41f4c r3d23af3  
    3939        <listitem>
    4040          <para>[ken] - Include the SATA patch for yaboot.</para>
     41        </listitem>
     42        <listitem>
     43          <para>[ken] - Tidy up yaboot.conf, and drop references to pegasos ppc
     44          - it seems to need other patch(es) for yaboot, and perhaps different
     45          parameters in yaboot.conf.  Also spell Open Firmware as two words.</para>
    4146        </listitem>
    4247      </itemizedlist>
Note: See TracChangeset for help on using the changeset viewer.