/[gentoo]/xml/htdocs/doc/en/handbook/hb-install-ppc64-bootloader.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-install-ppc64-bootloader.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.13 Revision 1.14
2<!DOCTYPE sections SYSTEM "/dtd/book.dtd"> 2<!DOCTYPE sections SYSTEM "/dtd/book.dtd">
3 3
4<!-- The content of this document is licensed under the CC-BY-SA license --> 4<!-- The content of this document is licensed under the CC-BY-SA license -->
5<!-- See http://creativecommons.org/licenses/by-sa/1.0 --> 5<!-- See http://creativecommons.org/licenses/by-sa/1.0 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc64-bootloader.xml,v 1.13 2005/03/29 21:04:39 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc64-bootloader.xml,v 1.14 2005/04/21 13:27:19 swift Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>2.1</version> 11<version>2.2</version>
12<date>2005-03-29</date> 12<date>2005-04-20</date>
13 13
14<section> 14<section>
15<title>Making your Choice</title> 15<title>Making your Choice</title>
16<subsection> 16<subsection>
17<title>Introduction</title> 17<title>Introduction</title>
53the sample file already installed on your system. 53the sample file already installed on your system.
54</p> 54</p>
55 55
56<impo> 56<impo>
57yabootconfig/ybin won't work on IBM. You have to install yaboot another way: 57yabootconfig/ybin won't work on IBM. You have to install yaboot another way:
58<uri link="#yaboot-ibm">Using yaboot on IBM</uri> 58<uri link="#yaboot-ibm">Using yaboot on IBM hardware</uri>
59</impo> 59</impo>
60 60
61<note> 61<note>
62If your root filesystem uses the JFS filesystem, be sure to add <c>ro</c> as a 62If your root filesystem uses the JFS filesystem, be sure to add <c>ro</c> as a
63kernel parameter. JFS must be able to replay its log in read-only mode before it 63kernel parameter. JFS must be able to replay its log in read-only mode before it
206 206
207</body> 207</body>
208</subsection> 208</subsection>
209</section> 209</section>
210<section id="yaboot-ibm"> 210<section id="yaboot-ibm">
211<title>Using yaboot on IBM</title> 211<title>Using yaboot on IBM hardware</title>
212<body> 212<body>
213 213
214<p> 214<p>
215On IBM hardware you cannot run yabootconfig or ybin. You have to proceed 215On IBM hardware you cannot run yabootconfig or ybin. You must proceed with the
216the folowing steps: 216folowing steps:
217</p> 217</p>
218 218
219<ul> 219<ul>
220 <li>Install yaboot-static</li> 220 <li>Install yaboot-static</li>
221 <li>Run 'dd if=/usr/lib/yaboot/yaboot.chrp of=/dev/sdXX' (fill in XX 221 <li>Run 'dd if=/usr/lib/yaboot/yaboot.chrp of=/dev/sdXX' (fill in XX
222 with your disk and partition for the RPeP partition; this was in our 222 with your disk and partition for the PReP partition; this was in our
223 example /dev/sda1)</li> 223 example /dev/sda1)</li>
224 <li>Next construct your own yaboot.conf file and place into /etc. 224 <li>Next construct your own yaboot.conf file and place into /etc.
225 (Take a look at the config above, look into the man page of 225 (Take a look at the config above, look into the man page of
226 yaboot.conf or look at the below yaboot.conf example)</li> 226 yaboot.conf or look at the below yaboot.conf example)</li>
227 <li>Assuming your boot device in OF is pointing to the harddrive you 227 <li>Assuming your boot device in OF is pointing to the harddrive you
229 go into the multiboot menu and set the boot device to the one with 229 go into the multiboot menu and set the boot device to the one with
230 your prep boot partition.</li> 230 your prep boot partition.</li>
231 <li>That's it!</li> 231 <li>That's it!</li>
232</ul> 232</ul>
233 233
234<pre caption = "yaboot.conf for IBM"> 234<pre caption = "yaboot.conf for IBM hardware">
235device=disk: 235device=disk:
236partition=2 236partition=2
237root=/dev/sda2 237root=/dev/sda2
238default=2.6.8-gentoo-r3 238default=2.6.8-gentoo-r3
239timeout=50 239timeout=50
242 label=2.6.8-gentoo-r3 242 label=2.6.8-gentoo-r3
243 append="console=ttyS0,9600" 243 append="console=ttyS0,9600"
244 read-only 244 read-only
245</pre> 245</pre>
246 246
247<p>
248For POWER4, POWER5, and blade-based hardware where the PReP disk partition
249and the disk partition that contains your kernel are on the same physical disk,
250you can use a simplified yaboot.conf. The following should be sufficient:
251</p>
252
253<pre caption="yaboot.conf for PReP hardware">
254default = linux
255timeout = 100
256image=/boot/vmlinux
257 label=linux
258 read-only
259 root = /dev/sda2
260 append="root=/dev/sda2"
261</pre>
262
263<p>
264To verify that yaboot has been copied to the PReP partition:
265</p>
266
267<pre caption="Verifying the yaboot install on PReP">
268# <i>dd if=/dev/sda1 count=10 | grep ELF</i>
269Binary file (standard input) matches
27010+0 records in
27110+0 records out
272</pre>
273
274<p>
275A match signifies that yaboot was installed correctly.
276</p>
277
247</body> 278</body>
248</section> 279</section>
249<section id="reboot"> 280<section id="reboot">
250<title>Rebooting the System</title> 281<title>Rebooting the System</title>
251<subsection> 282<subsection>

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.20