/[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.14 Revision 1.22
1<?xml version='1.0' encoding='UTF-8'?> 1<?xml version='1.0' encoding='UTF-8'?>
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/2.5 -->
6 6
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 $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc64-bootloader.xml,v 1.22 2006/01/20 10:52:15 neysx Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>2.2</version> 11<version>2.7</version>
12<date>2005-04-20</date> 12<date>2006-01-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>
23program that will fire up your kernel when you start the system. Such a 23program that will fire up your kernel when you start the system. Such a
24program is called a <e>bootloader</e>. 24program is called a <e>bootloader</e>.
25</p> 25</p>
26 26
27<p> 27<p>
28On Linux/PPC64 we have only yaBoot as a bootloader untill grub2 is 28On Linux/PPC64 we have only yaBoot as a bootloader until grub2 is
29finished. 29finished.
30</p> 30</p>
31 31
32</body> 32</body>
33</subsection> 33</subsection>
165install=/usr/lib/yaboot/yaboot 165install=/usr/lib/yaboot/yaboot
166magicboot=/usr/lib/yaboot/ofboot 166magicboot=/usr/lib/yaboot/ofboot
167 167
168<comment>################# 168<comment>#################
169## This section can be duplicated if you have more than one kernel or set of 169## This section can be duplicated if you have more than one kernel or set of
170## boot options - replace 2.6.9 with your kernel-version 170## boot options - replace 2.6.12 with your kernel-version
171#################</comment> 171#################</comment>
172image=/boot/kernel-2.6.9 172image=/boot/kernel-2.6.12-gentoo-r10
173 label=Linux 173 label=Linux
174 root=/dev/hda3 174 root=/dev/hda3
175 partition=3 175 partition=3
176 sysmap=/boot/System.map-2.6.9
177 read-only 176 read-only
178 177
179macos=hd:13 178macos=hd:13
180macosx=hd:12 179macosx=hd:12
181enablecdboot 180enablecdboot
211<title>Using yaboot on IBM hardware</title> 210<title>Using yaboot on IBM hardware</title>
212<body> 211<body>
213 212
214<p> 213<p>
215On IBM hardware you cannot run yabootconfig or ybin. You must proceed with the 214On IBM hardware you cannot run yabootconfig or ybin. You must proceed with the
216folowing steps: 215following steps:
217</p> 216</p>
218 217
219<ul> 218<ul>
220 <li>Install yaboot-static</li> 219 <li>Install yaboot-static</li>
221 <li>Run 'dd if=/usr/lib/yaboot/yaboot.chrp of=/dev/sdXX' (fill in XX 220 <li>Run 'dd if=/usr/lib/yaboot/yaboot.chrp of=/dev/sdXX' (fill in XX
229 go into the multiboot menu and set the boot device to the one with 228 go into the multiboot menu and set the boot device to the one with
230 your prep boot partition.</li> 229 your prep boot partition.</li>
231 <li>That's it!</li> 230 <li>That's it!</li>
232</ul> 231</ul>
233 232
234<pre caption = "yaboot.conf for IBM hardware"> 233<pre caption="yaboot.conf for IBM hardware">
235device=disk: 234device=disk:
236partition=2 235partition=2
237root=/dev/sda2 236root=/dev/sda2
238default=2.6.8-gentoo-r3 237default=2.6.12-gentoo-r10
239timeout=50 238timeout=50
240 239
241image=/boot/vmlinux-2.6.8-gentoo-r3 240image=/boot/kernel-2.6.12-gentoo-r10
242 label=2.6.8-gentoo-r3 241 label=Linux
243 append="console=ttyS0,9600" 242 append="console=ttyS0,9600"
244 read-only 243 read-only
245</pre> 244</pre>
246 245
247<p> 246<p>
248For POWER4, POWER5, and blade-based hardware where the PReP disk partition 247For 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, 248and the disk partition that contains your kernel are on the same physical disk,
251</p> 250</p>
252 251
253<pre caption="yaboot.conf for PReP hardware"> 252<pre caption="yaboot.conf for PReP hardware">
254default = linux 253default = linux
255timeout = 100 254timeout = 100
256image=/boot/vmlinux 255image=/boot/kernel-2.6.12-gentoo-r10
257 label=linux 256 label=linux
258 read-only 257 read-only
259 root = /dev/sda2 258 root = /dev/sda2
260 append="root=/dev/sda2" 259 append="root=/dev/sda2"
261</pre> 260</pre>
288</p> 287</p>
289 288
290<pre caption="Exiting the chroot, unmounting all partitions and rebooting"> 289<pre caption="Exiting the chroot, unmounting all partitions and rebooting">
291# <i>exit</i> 290# <i>exit</i>
292~# <i>cd</i> 291~# <i>cd</i>
293~# <i>umount /mnt/gentoo/boot /mnt/gentoo/proc /mnt/gentoo/dev /mnt/gentoo</i> 292~# <i>umount /mnt/gentoo/boot /mnt/gentoo/dev /mnt/gentoo/proc /mnt/gentoo</i>
294~# <i>reboot</i> 293~# <i>reboot</i>
295</pre> 294</pre>
296 295
297<p> 296<p>
298Of course, don't forget to remove the bootable CD, otherwise the CD will be 297Of course, don't forget to remove the bootable CD, otherwise the CD will be

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

  ViewVC Help
Powered by ViewVC 1.1.20