source: BOOK/final-system/ppc/yaboot.xml@ c165f0a

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since c165f0a was 396b325, checked in by William Harrington <kb0iic@…>, 11 years ago

Add yaboot parted patch description and commands to boot yaboot-build and final-system yaboot installation commands.

  • Property mode set to 100644
File size: 5.3 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-yaboot" role="wrap">
9 <?dbhtml filename="yaboot.html"?>
10
11 <title>Yaboot-&yaboot-version;</title>
12
13 <indexterm zone="ch-system-yaboot">
14 <primary sortas="a-Yaboot">Yaboot</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The Yaboot package contains a PowerPC Boot Loader for machines using
21 Open Firmware such as NewWorld Macintoshes.</para>
22
23 </sect2>
24
25 <sect2 role="installation">
26 <title>Installation of Yaboot</title>
27
28 <para os="p3">The following patch adds stub functions for newer e2fsprogs releases:</para>
29
30<screen os="p4"><userinput>patch -Np1 -i ../&yaboot-stubfuncs-patch;</userinput></screen>
31
32 <para os="p5">The following patch adds Parted support to yabootconfig:</para>
33
34<screen os="p6"><userinput>patch -Np1 -i ../&yaboot-parted-patch;</userinput></screen>
35
36 <para os="a">The supplied man pages have <filename
37 class="directory">/usr/local</filename> in the text. This sed will correct
38 that:</para>
39
40<screen os="b"><userinput>sed -i 's%/usr/local%/usr%' man/*</userinput></screen>
41
42 <para os="aa"> Prevent the build from failing due to warnings with
43 the following sed:</para>
44
45<screen os="ba"><userinput>sed -i 's%-Werror%%' Makefile</userinput></screen>
46
47 <para os="c">Compile the package:</para>
48
49<screen os="d"><userinput>make PREFIX=/usr</userinput></screen>
50
51 <para os="e">Install the package:</para>
52
53<screen os="f"><userinput>make PREFIX=/usr install</userinput></screen>
54
55 </sect2>
56
57 <sect2 id="contents-yaboot" role="content">
58 <title>Contents of Yaboot</title>
59
60 <segmentedlist>
61 <segtitle>Installed programs</segtitle>
62 <segtitle>Installed files</segtitle>
63
64 <seglistitem>
65 <seg>addnote, mkofboot (link to ybin), ofboot, ofpath, yaboot,
66 yabootconfig, ybin</seg>
67 <seg>yaboot.conf</seg>
68 </seglistitem>
69 </segmentedlist>
70
71 <variablelist>
72 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
73 <?dbfo list-presentation="list"?>
74 <?dbhtml list-presentation="table"?>
75
76 <varlistentry id="addnote">
77 <term><command>addnote</command></term>
78 <listitem>
79 <para>For IBM CHRP machines, add a PT_NOTE program header
80 entry to an elf file so that it can be booted.</para>
81 <indexterm zone="ch-system-yaboot addnote">
82 <primary sortas="b-addnote">addnote</primary>
83 </indexterm>
84 </listitem>
85 </varlistentry>
86
87 <varlistentry id="mkofboot">
88 <term><command>mkofboot</command></term>
89 <listitem>
90 <para>Format the bootstrap partition and install the yaboot
91 boot loader.</para>
92 <indexterm zone="ch-system-yaboot mkofboot">
93 <primary sortas="b-mkofboot">mkofboot</primary>
94 </indexterm>
95 </listitem>
96 </varlistentry>
97
98 <varlistentry id="ofboot">
99 <term><command>ofboot</command></term>
100 <listitem>
101 <para>Script to format the boot menu using yaboot.conf and
102 write the resulting Open Firmware code to the bootstrap.</para>
103 <indexterm zone="ch-system-yaboot ofboot">
104 <primary sortas="b-ofboot">ofboot</primary>
105 </indexterm>
106 </listitem>
107 </varlistentry>
108
109 <varlistentry id="ofpath">
110 <term><command>ofpath</command></term>
111 <listitem>
112 <para>Determine Open Firmware path corresponding to a device
113 node.</para>
114 <indexterm zone="ch-system-yaboot ofpath">
115 <primary sortas="b-ofpath">ofpath</primary>
116 </indexterm>
117 </listitem>
118 </varlistentry>
119
120 <varlistentry id="yaboot">
121 <term><command>yaboot</command></term>
122 <listitem>
123 <para>Open Firmware boot loader.</para>
124 <indexterm zone="ch-system-yaboot yaboot">
125 <primary sortas="b-yaboot">yaboot</primary>
126 </indexterm>
127 </listitem>
128 </varlistentry>
129
130 <varlistentry id="yabootconfig">
131 <term><command>yabootconfig</command></term>
132 <listitem>
133 <para>Generate and install a simple yaboot.conf.</para>
134 <indexterm zone="ch-system-yaboot yabootconfig">
135 <primary sortas="b-yabootconfig">yabootconfig</primary>
136 </indexterm>
137 </listitem>
138 </varlistentry>
139
140 <varlistentry id="ybin">
141 <term><command>ybin</command></term>
142 <listitem>
143 <para>Shell script to update or install the boot loader
144 on a bootstrap partition.</para>
145 <indexterm zone="ch-system-yaboot ybin">
146 <primary sortas="b-ybin">ybin</primary>
147 </indexterm>
148 </listitem>
149 </varlistentry>
150
151 <varlistentry id="yaboot.conf">
152 <term><filename>yaboot.conf</filename></term>
153 <listitem>
154 <para>Configuration file used by <command>ybin</command> to determine
155 how to install <command>yaboot</command> on the bootstrap partition.</para>
156 <indexterm zone="ch-system-yaboot yaboot.conf">
157 <primary sortas="e-yaboot.conf">yaboot.conf</primary>
158 </indexterm>
159 </listitem>
160 </varlistentry>
161
162 </variablelist>
163
164 </sect2>
165
166</sect1>
Note: See TracBrowser for help on using the repository browser.