Ignore:
Timestamp:
Jun 3, 2009, 12:23:23 AM (15 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
093b0e8
Parents:
984ac82
Message:

Text updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/bootable/ppc/yaboot.xml

    r984ac82 r968933d  
    2929  in preparation for this step. The procedure involves writing the bootloader
    3030  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>
     31  it.  This is all handled by <command>ybin</command>, the yaboot installer.</para>
    3232
    3333  <para os="d">Ybin writes an optional 'OS selector' menu into Open Firmware,
    34   then writes yaboot and yaboot.conf to the bootstrap partition, blesses this,
    35   and updates the boot device recorded in nvram. When booted, the OF provides
    36   the initial menu to choose between linux, boot from CD, and e.g. OSX
    37   (depending on what was in yaboot.conf). If you boot to 'linux', yaboot is
    38   executed and lets you select which kernel to use.</para>
     34  then writes yaboot and <filename>yaboot.conf</filename> to the bootstrap
     35  partition, blesses this, and updates the boot device recorded in nvram. When
     36  booted, the OF provides the initial menu to choose between linux, boot from
     37  CD, and e.g. OSX (depending on what was in <filename>yaboot.conf</filename>).
     38  If you boot to 'linux', yaboot is executed and lets you select which kernel
     39  to use.</para>
    3940
    4041  <para os="e">Images (kernels) are specified, together with any necessary path,
    41   in yaboot.conf - the details are incorporated into the bootloader, but no attempt
    42   is made to access or validate the paths until they are selected.  There are many
    43   possible options that can be specified in yaboot.conf, see the man page for the
    44   details.  Most people will be able to specify device=hd: (for a single hard disk),
    45   but if you have multiple disks, or if you wish to be pedantic, you can specify the
     42  in <filename>yaboot.conf</filename> - the details are incorporated into the
     43  bootloader, but no attempt is made to access or validate the paths until
     44  they are selected. There are many possible options that can be specified in
     45  <filename>yaboot.conf</filename>, see the man page for the details. Most
     46  people will be able to specify device=hd: (for a single hard disk), but if
     47  you have multiple disks, or if you wish to be pedantic, you can specify the
    4648  full OF path to the device, obtained by running <command>ofpath /dev/hdX</command>
    4749  .</para>
    4850
    4951  <para os="h">Using the above information, determine the appropriate designators
    50   for the bootstrap partition and the root partition.  For the following example,
     52  for the bootstrap partition and the root partition. For the following example,
    5153  it is assumed that the bootstrap partition is <filename class="partition">hda2
    52   </filename> and the root partition is <filename class="partition">hda7</filename>
    53   We will also assume that you wish to be able to boot an OSX installation on
    54   <filename class="partition">hda4</filename>.  Change these items as necessary
     54  </filename> and the root partition is <filename class="partition">hda7</filename>.
     55  We will also assume that you wish to be able to boot an OSX installation on
     56  <filename class="partition">hda4</filename>. Change these items as necessary
    5557  for your machine.</para>
    5658
    5759  <para os="i">If your machine has a SATA disk, specify the partitions using
    5860  <filename class="devicefile">/dev/sda7</filename> and so forth in the usual
    59   way.  At least some of the distros specify a full OF path to the 'device' and
     61  way. At least some of the distros specify a full OF path to the 'device' and
    6062  to the image(s), such as
    6163  <parameter>device=/ht@0,f2000000/pci@3/k2-sata-root@c/k2-sata@0/disk@0:</parameter>
Note: See TracChangeset for help on using the changeset viewer.