/[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.7 Revision 1.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/1.0 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc64-bootloader.xml,v 1.7 2004/11/20 22:23:30 neysx Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc64-bootloader.xml,v 1.8 2004/12/22 20:47:29 swift Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>1.4</version> 11<version>1.5</version>
12<date>2004-10-23</date> 12<date>2004-12-22</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>
139## For a dual-boot menu, add one or more of: 139## For a dual-boot menu, add one or more of:
140## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ 140## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ
141 141
142## our bootstrap partition:</comment> 142## our bootstrap partition:</comment>
143 143
144boot=/dev/sda2 144boot=/dev/hda2
145 145
146<comment>## ofboot is the openfirmware way to specify the bootstrap partition. 146<comment>## ofboot is the openfirmware way to specify the bootstrap partition.
147## If this isn't defined, yaboot fails on the G5 (unless you pass the necessary 147## If this isn't defined, yaboot fails on the G5 and some G4s (unless
148## arguments to the mkofboot/ybin program). 148## you pass the necessary arguments to the mkofboot/ybin program).
149## hd:X means /dev/sdaX (or /dev/hdaX). 149## hd:X means /dev/sdaX (or /dev/hdaX).</comment>
150##
151## G5 users should uncomment this line!!</comment>
152 150
153ofboot=hd:2 151ofboot=hd:2
154 152
155<comment>##hd: is open firmware speak for sda</comment> 153<comment>## hd: is open firmware speak for hda</comment>
156device=hd: 154device=hd:
157partition=4
158 155
159delay=5 156delay=5
160defaultos=macosx 157defaultos=macosx
161timeout=30 158timeout=30
162install=/usr/lib/yaboot/yaboot 159install=/usr/lib/yaboot/yaboot
163magicboot=/usr/lib/yaboot/ofboot 160magicboot=/usr/lib/yaboot/ofboot
164 161
165<comment>################# 162<comment>#################
166## This section can be duplicated if you have more than one kernel or set of 163## This section can be duplicated if you have more than one kernel or set of
167## boot options 164## boot options - replace 2.6.9 with your kernel-version
168#################</comment> 165#################</comment>
169image=/boot/kernel-2.6.7-gentoo-r8 166image=/boot/kernel-2.6.9
170 label=Linux 167 label=Linux
171 root=/dev/sda4 168 root=/dev/hda3
169 partition=3
172 sysmap=/boot/System.map-2.6.7 170 sysmap=/boot/System.map-2.6.9
173 read-only 171 read-only
174<comment>##################</comment>
175 172
176macos=hd:5 173macos=hd:13
177macosx=hd:6 174macosx=hd:12
178enablecdboot 175enablecdboot
179enableofboot 176enableofboot
180</pre> 177</pre>
181 178
182<p> 179<p>
183Once <path>yaboot.conf</path> is set up the way you want it, you run 180Once <path>yaboot.conf</path> is set up the way you want it, you run
184<c>mkofboot -v</c> to install the settings in the bootstrap partition. 181<c>mkofboot -v</c> to install the settings in the bootstrap partition.
182<e>Don't forget this!</e> Confirm when <c>mkofboot</c> asks you to create a new
183filesystem.
184</p>
185
186<p>
185<e>Don't forget this!</e> If all goes well, and you have the same 187If all goes well, and you have the same
186options as the sample above, your next reboot will give you a simple, 188options as the sample above, your next reboot will give you a simple,
187five-entry boot menu. If you update your yaboot config later on, you'll 189five-entry boot menu. If you update your yaboot config later on, you'll
188just need to run <c>ybin -v</c> to update the bootstrap partition - 190just need to run <c>ybin -v</c> to update the bootstrap partition -
189<c>mkofboot</c> is for initial setup only. 191<c>mkofboot</c> is for initial setup only.
190</p> 192</p>

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.20