/[gentoo]/xml/htdocs/doc/en/handbook/hb-install-ppc-medium.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-install-ppc-medium.xml

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

Revision 1.30 Revision 1.48
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-ppc-medium.xml,v 1.30 2004/11/02 11:44:39 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-medium.xml,v 1.48 2005/10/09 16:33:54 swift Exp $ -->
8 8
9<sections> 9<sections>
10
11<version>2.6</version>
12<date>2005-10-09</date>
13
10<section> 14<section>
11<title>Hardware Requirements</title> 15<title>Hardware Requirements</title>
12<subsection> 16<subsection>
13<title>Introduction</title> 17<title>Introduction</title>
14<body> 18<body>
15 19
16<p> 20<p>
17Before we start, we first list what hardware requirements you need to 21Before we start, we first list what hardware requirements you need to
18successfully install Gentoo on your box. This of course depends on your 22successfully install Gentoo on your box.
19architecture.
20</p> 23</p>
21 24
22</body> 25</body>
23</subsection>
24<subsection> 26</subsection>
25<title>The PPC Architecture</title> 27<subsection>
28<title>Hardware Requirements</title>
29<body>
30
31<table>
32<tr>
33 <th>Apple NewWorld Machines</th>
34 <ti>
35 Power/PowerPC microprocessors (G3, G4, G5) such as iMac, eMac, iBook
36 PowerBook, Xserver, PowerMac
37 </ti>
38</tr>
39<tr>
40 <th>Apple OldWorld machines</th>
41 <ti>
42 Apple Machines with an OpenFirmware revision less than 3, such as the Beige
43 G3s, PCI PowerMacs and PCI PowerBooks. PCI based Apple Clones should also
44 be supported.
45 </ti>
46</tr>
47<tr>
48 <th>Genesi's Pegasos</th>
49 <ti>
50 Pegasos I/II, Open Desktop Workstation
51 </ti>
52</tr>
53<tr>
54 <th>IBM</th>
55 <ti>
56 RS/6000, iSeries, pSeries
57 </ti>
58</tr>
59<tr>
60 <th>Memory</th>
61 <ti>At least 64 MB</ti>
62</tr>
63<tr>
64 <th>Diskspace</th>
65 <ti>1.5 GB (excluding swap space)</ti>
66</tr>
67<tr>
68 <th>Swap space</th>
69 <ti>At least 256 MB</ti>
70</tr>
71</table>
72
73<p>
74Be sure to read up on the <uri link="/doc/en/gentoo-ppc-faq.xml">Gentoo
75PPC FAQ</uri> before you begin.
76</p>
77
26<body> 78</body>
79</subsection>
80</section>
81<!-- Copy/paste from hb-install-x86-medium.xml (with s/x86/ppc/) -->
82<!-- START -->
83<section>
84<title>The Gentoo Installation Approaches</title>
85<subsection>
86<title>Introduction</title>
87<body>
27 88
28<p> 89<p>
29Check the following requirements before you 90Gentoo Linux can be installed using one of three <e>stage</e> tarball files.
30continue with the Gentoo installation: 91A stage file is a tarball (compressed archive) that contains a minimal
92environment.
31</p> 93</p>
32 94
33<ul> 95<ul>
34<li> 96 <li>
35 You need at least 2 GB of free disk space 97 A stage1 file contains nothing more than a compiler, Portage (Gentoo's
98 software management system) and a couple of packages on which the compiler
99 or Portage depends.
36</li> 100 </li>
37<li> 101 <li>
38 If you do not use prebuilt packages, you need at least 300 MB of memory (RAM + 102 A stage2 file contains a so-called bootstrapped system, a minimal
39 swap), if you do use prebuilt packages you need at least 64 MB of memory to boot the system. 103 environment from which one can start building all other necessary
104 applications that make a Gentoo environment complete.
40</li> 105 </li>
41<li> 106 <li>
42 For the <e>PowerPC architecture</e>, you can install Gentoo/PPC on NewWorld machines 107 A stage3 file contains a prebuilt minimal system which is almost fully
43 having a Power or PowerPC microprocessor, including but not limited to G3, G4 108 deployable. It only lacks a few applications where you, the Gentoo user,
44 or G5 powered Apple computers such as the iMac, the eMac, the iBook, the PowerBook, 109 needs to choose which one you want to install.
45 Xserve, PowerMac, and bPlan's Pegasos II. We also provide limited
46 support for OldWorld systems, IBM (RS/6000, iSeries, pSeries, ...) and Amiga
47 systems. Be sure to read up on the <uri link="/doc/en/gentoo-ppc-faq.xml">Gentoo
48 PPC FAQ</uri> before you begin.
49</li> 110 </li>
50</ul> 111</ul>
51 112
113<p>
114To help you decide what stage file you want to use, we have written down the
115major advantages and disadvantages of each stage file.
116</p>
117
52</body> 118</body>
53</subsection>
54</section>
55<section>
56<title>Make your Choice</title>
57<subsection> 119</subsection>
58<title>Introduction</title>
59<body>
60
61<p>
62Still interested in trying out Gentoo? Well, then it is now time to
63choose the installation medium you want to use. Yes, you have the
64choice, no, they are not all equal, and yes, the result is always the same: a
65Gentoo base system.
66</p>
67
68<p>
69The installation media we will describe are:
70</p>
71
72<ul>
73<li>Gentoo's Minimal LiveCD</li>
74<li>Gentoo's Universal LiveCD</li>
75</ul>
76
77<p>
78Every single media has its advantages and disadvantages. We will list
79the pros and cons of every medium so you have all the information to
80make a justified decision. But before we continue, let's explain our
81three-stage installation.
82</p>
83
84</body>
85</subsection> 120<subsection>
86<subsection> 121<title>A Stage1 Approach</title>
87<title>The Three Stages</title>
88<body> 122<body>
89 123
90<p>
91Gentoo Linux can be installed using one of three <e>stage</e> tarball files.
92The one you choose depends on how much of the system you want to compile
93yourself. The <e>stage1</e> tarball is used when you want to bootstrap and
94build the entire system from scratch. The <e>stage2</e> tarball is used for
95building the entire system from a bootstrapped &quot;semi-compiled&quot; state.
96The <e>stage3</e> tarball already contains a basic Gentoo Linux system that has
97been built for you. As we will explain later, you can also install
98Gentoo without compiling anything (except your kernel and some optional
99packages). If you want this, you have to use a <e>stage3</e> tarball.
100</p> 124<p>
101 125A <e>stage1</e> is used when you want to bootstrap and build the entire system
126from scratch.
102<p> 127</p>
103Now what stage do you have to choose? 128
104</p> 129<p>
105 130This approach builds core system packages that are vital to your system and is
106<p> 131used by Gentoo developers to prepare the Gentoo release media. It is a great
107Starting from a <e>stage1</e> allows you to have total control over the
108optimization settings and optional build-time functionality that is
109initially enabled on your system. This makes <e>stage1</e> installs good for
110power users who know what they are doing. It is also a great
111installation method for those who would like to know more about the 132installation method for those who would like to learn more about the inner
112inner workings of Gentoo Linux. 133workings of bootstrapping, toolchains and the like.
113</p>
114
115<p> 134</p>
116A <e>stage1</e> installation can only be performed when you have a working 135
117Internet connection. 136<p>
137However, if you do not plan to tweak the bootstrapping instructions in the
138<path>bootstrap.sh</path> script written by the Gentoo developers, then a
139stage1 approach has no benefits for you.
118</p> 140</p>
119 141
120<table> 142<table>
121<tr> 143<tr>
122 <th>Stage1</th> 144 <th>Stage1</th>
123 <th>Pros and Cons</th> 145 <th>Pros and Cons</th>
124</tr> 146</tr>
125<tr> 147<tr>
126 <th>+</th> 148 <th>+</th>
127 <ti> 149 <ti>
128 Allows you to have total control over the optimization settings and optional 150 Allows you to have total control over the installation routine, bootstrap
129 build-time functionality that is initially enabled on your system 151 sequence, etc.
130 </ti> 152 </ti>
131</tr>
132<tr> 153</tr>
133 <th>+</th>
134 <ti>Suitable for powerusers that know what they are doing</ti>
135</tr> 154<tr>
136<tr>
137 <th>+</th> 155 <th>+</th>
138 <ti>Allows you to learn more about the inner workings of Gentoo</ti> 156 <ti>Suitable for powerusers and developers who know what they are doing</ti>
139</tr> 157</tr>
140<tr> 158<tr>
141 <th>-</th> 159 <th>-</th>
142 <ti>Takes a long time to finish the installation</ti> 160 <ti>
161 Takes a long time to finish the installation (it is the lengthiest approach)
162 </ti>
143</tr> 163</tr>
144<tr> 164<tr>
145 <th>-</th> 165 <th>-</th>
146 <ti> 166 <ti>
147 If you don't intend to tweak the settings, it is probably a waste of time 167 If you don't intend to tweak the settings, it is a waste of time
148 </ti> 168 </ti>
149</tr> 169</tr>
150<tr> 170<tr>
151 <th>-</th> 171 <th>-</th>
152 <ti> 172 <ti>
153 Not suitable for networkless installations 173 Requires a working Internet connection during the installation
154 </ti> 174 </ti>
155</tr> 175</tr>
156</table> 176</table>
157 177
158<p> 178</body>
159<e>Stage2</e> installs allow you to skip the bootstrap process and doing this 179</subsection>
160is fine if you are happy with the optimization settings that we chose 180<subsection>
161for your particular <e>stage2</e> tarball. 181<title>A Stage2 Approach</title>
182<body>
183
162</p> 184<p>
163 185A <e>stage2</e> is used for building the entire system from a bootstrapped
186"semi-compiled" state.
164<p> 187</p>
165A <e>stage2</e> installation can only be performed when you have a working 188
166Internet connection. 189<p>
190When you perform a stage2 installation approach, you will build all system
191packages (core packages, including toolchain) using your specific <c>USE</c>,
192<c>CFLAGS</c> and <c>CXXFLAGS</c> settings. Any package build will therefore be
193optimized to your preference.
194</p>
195
196<p>
197However, this installation takes some time and if you do not intend to change
198the <c>CFLAGS</c> and <c>CXXFLAGS</c> settings that we have defined as a "good
199default", using this approach only makes sense if your <c>USE</c> variable is
200sufficiently different from the default <c>USE</c> we provide.
167</p> 201</p>
168 202
169<table> 203<table>
170<tr> 204<tr>
171 <th>Stage2</th> 205 <th>Stage2</th>
183 <th>+</th> 217 <th>+</th>
184 <ti>You can still tweak your settings</ti> 218 <ti>You can still tweak your settings</ti>
185</tr> 219</tr>
186<tr> 220<tr>
187 <th>-</th> 221 <th>-</th>
188 <ti>You cannot tweak as much as with a stage1</ti> 222 <ti>It's still not the fastest way to install Gentoo</ti>
189</tr> 223</tr>
190<tr> 224<tr>
191 <th>-</th> 225 <th>-</th>
192 <ti>It's not the fastest way to install Gentoo</ti>
193</tr>
194<tr>
195 <th>-</th>
196 <ti>You have to accept the optimizations we chose for the bootstrap</ti>
197</tr>
198<tr>
199 <th>-</th>
200 <ti> 226 <ti>
201 Not suitable for networkless installations 227 Requires a working Internet connection during the installation
202 </ti> 228 </ti>
203</tr> 229</tr>
204</table> 230</table>
205 231
232</body>
233</subsection>
234<subsection>
235<title>A Stage3 Approach</title>
236<body>
237
238<p>
239A <e>stage3</e> installation contains a basic Gentoo Linux system that has been
240built for you. You will only need to build a few packages (such as system
241logger, networking tools, ...) before you can boot into a base Gentoo
242installation.
206<p> 243</p>
244
245<p>
207Choosing to go with a <e>stage3</e> allows for the fastest install of Gentoo 246Choosing to go with a stage3 allows for the fastest install of Gentoo
208Linux, but also means that your base system will have the optimization 247Linux, but also means that your base system will have the optimization
209settings that we chose for you (which to be honest, are good settings 248settings that we chose for you (which to be honest, are good settings
210and were carefully chosen to enhance performance while maintaining 249and were carefully chosen to enhance performance while maintaining
211stability). <e>stage3</e> is also required if you want to install Gentoo using 250stability). Stage3 is also required if you want to install Gentoo using
212prebuilt packages or without a network connection. 251prebuilt packages or without a network connection.
213</p> 252</p>
214 253
215<table> 254<table>
216<tr> 255<tr>
221 <th>+</th> 260 <th>+</th>
222 <ti>Fastest way to get a Gentoo base system</ti> 261 <ti>Fastest way to get a Gentoo base system</ti>
223</tr> 262</tr>
224<tr> 263<tr>
225 <th>+</th> 264 <th>+</th>
226 <ti>Suitable for networkless installations</ti> 265 <ti>
227</tr> 266 You can still tweak your system
228<tr> 267 </ti>
229 <th>-</th>
230 <ti>You cannot tweak the base system - it's built already</ti>
231</tr>
232<tr>
233 <th>-</th>
234 <ti>You cannot brag about having used stage1 or stage2</ti>
235</tr> 268</tr>
236</table> 269</table>
237 270
238<p> 271<p>
239Write down (or remember) what stage you want to use. You need this later when
240you decide what LiveCD (or other installation medium) you want to use. You might
241be interested to know that, if you decide to use different optimization settings 272You might be interested to know that, if you decide to use different
242after having installed Gentoo, you will be able to recompile your entire system 273optimization settings after having installed Gentoo, you will be able to
243with the new optimization settings. 274recompile your entire system with the new optimization settings. The same goes
244</p> 275for any <c>USE</c> flag changes: Portage is intelligent enough to know what
245 276packages need to be rebuild.
246<p> 277</p>
247Now take a look at the available installation media.
248</p>
249 278
250</body> 279</body>
251</subsection>
252<subsection> 280</subsection>
253<title>Gentoo LiveCDs</title> 281</section>
254<body>
255 282
256<note> 283<section>
257The Gentoo/PPC 2004.2 release is not official, so you will not find them on the 284<title>The Gentoo Installation CDs</title>
258mirrors. All of our self-organised mirrors are currently down. The only chance 285<subsection>
259you can get the LiveCDs is via <uri 286<title>Introduction</title>
260link="http://torrents.gentoo.org/torrents/">BitTorrent</uri>. 287<body>
261</note>
262 288
263<note>
264It is known that the Pegasos II will not boot the 2004.2 LiveCD. Please use the
2652004.1 LiveCD.
266</note>
267
268<p> 289<p>
269The <e>Gentoo LiveCDs</e> are bootable CDs which contain a 290The <e>Gentoo Installation CDs</e> are bootable CDs which contain a
270self-sustained Gentoo environment. They allow you to boot Linux from the CD. 291self-sustained Gentoo environment. They allow you to boot Linux from the CD.
271During the boot process your hardware is detected and the appropriate drivers 292During the boot process your hardware is detected and the appropriate drivers
272are loaded. They are maintained by Gentoo developers. 293are loaded. They are maintained by Gentoo developers.
273</p> 294</p>
274 295
275<p> 296<p>
276All LiveCDs allow you to boot, set up networking, initialize your 297All Installation CDs allow you to boot, set up networking, initialize your
277partitions and start installing Gentoo from the Internet. However, some 298partitions and start installing Gentoo from the Internet. We currently provide
278LiveCDs also contain all necessary source code so you are able to install 299two Installation CDs which are equaly suitable to install Gentoo from, as long
279Gentoo without a working network configuration. 300as you're planning on performing an Internet-based installation using the
280</p> 301latest version of the available packages.
281
282<p> 302</p>
283Now what do these LiveCDs contain? 303
284</p> 304<p>
305If you wish to install Gentoo without a working Internet connection, please use
306the installation instructions described in the <uri
307link="2005.1/index.xml">Gentoo 2005.1 Handbooks</uri>.
308</p>
285 309
310<p>
311The two Installation CDs that we currently provide are:
312</p>
313
314<ul>
315 <li>
316 The Gentoo <e>Minimal</e> Installation CD, a small, no-nonsense, bootable
317 CD which sole purpose is to boot the system, prepare the networking and
318 continue with the Gentoo installation.
319 </li>
320 <li>
321 The Gentoo <e>Universal</e> Installation CD, a bootable CD with the same
322 abilities as the Minimal Installation CD. Additionally, it contains a
323 stage1 and several stage3 tarballs (optimized for the individual
324 subarchitectures).
325 </li>
326</ul>
327
328<p>
329To help you decide which Installation CD you need, we have written down the
330major advantages and disadvantages of each Installation CD.
331</p>
332
286</body> 333</body>
287</subsection>
288<subsection> 334</subsection>
335<subsection>
289<title>Gentoo's Minimal LiveCD</title> 336<title>Gentoo's Minimal Installation CD</title>
290<body> 337<body>
291 338
292<p> 339<p>
293This is a small, no-nonsense, bootable CD which sole purpose is to boot the 340The Minimal Installation CD is called <c>install-ppc-minimal-2005.1.iso</c> and
294system, prepare the networking and continue with the Gentoo installation. It 341takes up only 52 MB of diskspace. You can use this Installation CD to install
295does not contain any stages (or, in some cases, a single stage1 file), 342Gentoo, but always with a working Internet connection only.
296source code or precompiled packages. For example the ppc variant of this
297LiveCD can be found in the <path>livecd</path> subdirectory and is called
298<c>install-ppc-minimal-2004.2.iso</c>.
299</p> 343</p>
300 344
301<table> 345<table>
302<tr> 346<tr>
303 <th>Minimal LiveCD</th> 347 <th>Minimal Installation CD</th>
304 <th>Pros and Cons</th> 348 <th>Pros and Cons</th>
305</tr> 349</tr>
306<tr> 350<tr>
307 <th>+</th> 351 <th>+</th>
308 <ti>Smallest download</ti> 352 <ti>Smallest download</ti>
309</tr>
310<tr>
311 <th>+</th>
312 <ti>Suitable for a complete architecture</ti>
313</tr> 353</tr>
314<tr> 354<tr>
315 <th>+</th> 355 <th>+</th>
316 <ti> 356 <ti>
317 You can do a stage1, stage2 or stage3 by getting the stage tarball off the 357 You can do a stage1, stage2 or stage3 by getting the stage tarball off the
319 </ti> 359 </ti>
320</tr> 360</tr>
321<tr> 361<tr>
322 <th>-</th> 362 <th>-</th>
323 <ti> 363 <ti>
324 Contains no stages, no Portage snapshot, no GRP packages and therefore not 364 Contains no stages, no Portage snapshot, no prebuilt packages and is
325 suitable for networkless installation 365 therefore not suitable for networkless installation
326 </ti> 366 </ti>
327</tr> 367</tr>
328</table> 368</table>
329 369
330</body> 370</body>
331</subsection> 371</subsection>
332<subsection> 372<subsection>
333<title>Gentoo's Universal LiveCD</title> 373<title>Gentoo's Universal Installation CD</title>
334<body> 374<body>
335 375
336<p>
337Gentoo's Universal LiveCD is a bootable CD suitable to install Gentoo without
338networking. It contains a stage1 and several stage3 tarballs (optimized for the
339individual subarchitectures). For example the ppc variant of this CD is called
340<c>install-ppc-universal-2004.2.iso</c> and can be found in the
341<path>livecd</path> subdirectory.
342</p> 376<p>
343 377The Universal Installation CD is called <c>install-ppc-universal-2005.1.iso</c>
344<p> 378and consumes the entire surface of a 650 MB CD. You can use this Installation
345If you take a closer look on our mirrors, you will see 379CD to install Gentoo, and you can even use it to install Gentoo without a
346that we provide <e>Gentoo Package CDs</e>. This CD (which isn't 380working internet connection, just in case you want to bring Gentoo to another
347bootable) only contains precompiled packages and can be used to install software 381PC than the one you are currently installing Gentoo on :)
348after a succesfull Gentoo Installation. To install Gentoo, you only
349need the Universal LiveCD, but if you want OpenOffice.org, Mozilla, KDE, GNOME
350etc. without having to compile every single one of them, you need the Packages
351CD too. For example the G4 (a subarchitecture of ppc) Packages CD is
352called <c>packages-g4-2004.2.iso</c> and can be found in the appropriate
353subdirectory (<path>g4/</path>).
354</p>
355
356<p>
357You only need the Packages CD if you want to perform a stage3 with GRP
358installation.
359</p> 382</p>
360 383
361<table> 384<table>
362<tr> 385<tr>
363 <th>Universal LiveCD with Packages CD</th> 386 <th>Universal Installation CD</th>
364 <th>Pros and Cons</th> 387 <th>Pros and Cons</th>
365</tr>
366<tr>
367 <th>+</th>
368 <ti>Packages CD is optimized to your architecture and subarchitecture</ti>
369</tr>
370<tr>
371 <th>+</th>
372 <ti>
373 Packages CD provides precompiled packages for fast Gentoo installations
374 </ti>
375</tr> 388</tr>
376<tr> 389<tr>
377 <th>+</th> 390 <th>+</th>
378 <ti> 391 <ti>
379 Contains everything you need. You can even install without a network 392 Contains everything you need. You can even install without a network
386</tr> 399</tr>
387</table> 400</table>
388 401
389</body> 402</body>
390</subsection> 403</subsection>
404<subsection>
405<title>Other CDs</title>
406<body>
407
408<p>
409You might find a so-called <e>Package CD</e> on one of our mirrors. This CD is
410no Installation CD but an additional resource that can be exploited during a
411networkless installation. It contains prebuilt packages (the so-called GRP
412set) that allows you to easily and quickly install additional applications
413(such as OpenOffice.org, KDE, GNOME, ...) immediately after the networkless
414Gentoo installation.
415</p>
416
417<p>
418If you intend to use the Packages CD to quickly install additional software,
419make sure that you use the same subarchitecture as the stage-3 tarball you use.
420</p>
421
422</body>
423</subsection>
391</section> 424</section>
425<!-- STOP -->
392<section> 426<section>
393<title>Download, Burn and Boot a Gentoo LiveCD</title> 427<title>Download, Burn and Boot a Gentoo Installation CD</title>
394<subsection> 428<subsection>
395<title>Downloading and Burning the LiveCDs</title> 429<title>Downloading and Burning the Installation CDs</title>
396<body> 430<body>
397 431
398<p>
399You have chosen to use a Gentoo LiveCD (if not, then you are reading the
400wrong section). We'll first start by downloading and burning the chosen
401LiveCD. We previously discussed the several available LiveCDs, but where can you
402find them?
403</p> 432<p>
404 433You have chosen to use a Gentoo Installation CD. We'll first start by
434downloading and burning the chosen Installation CD. We previously discussed
435the several available Installation CDs, but where can you find them?
405<p> 436</p>
406Visit one of our <uri 437
407link="/main/en/mirrors.xml">mirrors</uri> and go to 438<p>
408<path>releases/ppc/2004.2/livecd</path>, which is 439You can download any of the Installation CDs (and, if you want to, a Packages
409the path where the LiveCD(s) of your choice are located. Inside that 440CD as well) from one of our <uri link="/main/en/mirrors.xml">mirrors</uri>. The
441Installation CDs are located in the <path>releases/ppc/2005.1/installcd</path>
442directory.
443</p>
444
445<p>
410directory you'll find so-called ISO-files. Those are full CD images 446Inside that directory you'll find so-called ISO-files. Those are full CD images
411which you can write on a CD-R. 447which you can write on a CD-R.
412</p> 448</p>
413 449
414<p> 450<p>
415In case you wonder if your downloaded file is corrupted or not, you can 451In case you wonder if your downloaded file is corrupted or not, you can
416check its MD5 checksum and compare it with the MD5 checksum we provide (such as 452check its MD5 checksum and compare it with the MD5 checksum we provide (such as
417<path>install-ppc-minimal-2004.2.iso.md5</path>). You can check the MD5 checksum 453<path>install-ppc-minimal-2005.1.iso.md5</path>). You can check the MD5 checksum
418with the <c>md5sum</c> tool under Linux/Unix or <uri 454with the <c>md5sum</c> tool under Linux/Unix or
419link="http://www.etree.org/md5com.html">md5sum</uri> for Windows. 455<uri link="http://www.etree.org/md5com.html">md5sum</uri> for Windows. If
420</p> 456<c>md5sum</c> is not available on Mac OS X, see the
421 457<uri link="/doc/en/gentoo-ppc-faq.xml#doc_chap1">Gentoo PPC FAQ</uri> for help.
422<p> 458</p>
423As long as Mac OS X does not support <c>md5sum</c> you have to use the md5 459
424capability of <c>openssl</c>. Therefore type in Terminal.app:
425</p> 460<p>
426 461Another way to check the validity of the downloaded file is to use GnuPG to
427<pre caption="md5sum with the help of openssl"> 462verify the cryptographic signature that we provide (the file ending with
428$ <i>openssl md5 /path/to/iso</i> 463<path>.asc</path>). Download the signature file and obtain the public key:
429<comment>This could take some time depending of the size of the ISO and your CPU</comment>
430</pre>
431
432<p> 464</p>
433Now compare this output with the appropriate file found on the server where you 465
434downloaded the ISO (the file will end with .md5). If it is the same, the ISO 466<pre caption="Obtaining the public key">
435image downloaded correctly. Be sure you have not mounted it (e.g. with Disk 467$ <i>gpg --keyserver pgp.mit.edu --recv-keys 17072058</i>
436Copy) yet! 468</pre>
469
437</p> 470<p>
438 471Now verify the signature:
439<p> 472</p>
440More information are available in our <uri 473
441link="/doc/en/gentoo-ppc-faq.xml">PPC FAQ.</uri> 474<pre caption="Verify the cryptographic signature">
475$ <i>gpg --verify &lt;signature file&gt; &lt;downloaded iso&gt;</i>
442</p> 476</pre>
443 477
444<p> 478<p>
445To burn the downloaded ISO(s), you have to select raw-burning. How you 479To burn the downloaded ISO(s), you have to select raw-burning. How you
446do this is highly program-dependent. We will discuss <c>cdrecord</c>, 480do this is highly program-dependent. We will discuss <c>cdrecord</c> and
447<c>k3b</c> and the MacOS burning possibilities here; more information can 481<c>K3B</c> here; more information can be found in our <uri
448be found in our <uri link="/doc/en/faq.xml#isoburning">Gentoo FAQ</uri> and 482link="/doc/en/faq.xml#isoburning">Gentoo FAQ</uri>.
449the <uri link="/doc/en/gentoo-ppc-faq.xml">PPC FAQ</uri>.
450</p> 483</p>
451 484
452<ul> 485<ul>
453 <li> 486 <li>
454 With cdrecord, you simply type <c>cdrecord dev=/dev/hdc</c> (replace 487 With cdrecord, you simply type <c>cdrecord dev=/dev/hdc &lt;downloaded iso
455 <path>/dev/hdc</path> with your CD-RW drive's device path) followed 488 file&gt;</c> (replace <path>/dev/hdc</path> with your CD-RW drive's
456 by the path to the ISO file :) 489 device path).
457 </li> 490 </li>
458 <li> 491 <li>
459 With k3b, select <c>Tools</c> &gt; <c>CD</c> &gt; <c>Burn Image</c>. Then 492 With K3B, select <c>Tools</c> &gt; <c>CD</c> &gt; <c>Burn Image</c>. Then
460 you can locate your ISO file within the 'Image to Burn' area. Finally click 493 you can locate your ISO file within the 'Image to Burn' area. Finally click
461 <c>Start</c>. 494 <c>Start</c>.
462 </li> 495 </li>
463 <li>
464 With Mac OS X Panther, launch <c>Disk Utility</c> from
465 <path>Applications/Utilities</path>, select <c>Open</c> from the
466 <c>Images</c> menu, select the mounted disk image in the main window and
467 select <c>Burn</c> in the <c>Images</c> menu.
468 </li>
469 <li>
470 With Mac OS X Jaguar, launch <c>Disk Copy</c> from
471 <path>Applications/Utilities</path>, select <c>Burn Image</c> from the
472 <c>File</c> menu, select the ISO and click the <c>Burn</c> button.
473 </li>
474</ul> 496</ul>
475 497
476</body> 498</body>
477</subsection> 499</subsection>
478</section>
479<section> 500<subsection>
480<title>Booting the PPC LiveCD(s)</title> 501<title>Default: Booting the Installation CD with Yaboot</title>
481<subsection>
482<title>Default: Apple/IBM</title>
483<body> 502<body>
484 503
485<p>
486On NewWorld machines place the LiveCD in the CD-ROM and reboot the system. When
487the system-start-bell sounds, simply hold down the 'C' until the CD loads.
488</p> 504<p>
489 505On NewWorld machines place the Installation CD in the CD-ROM and reboot the
506system. When the system-start-bell sounds, simply hold down the 'C' until the
507CD loads.
490<p> 508</p>
491If you have an OldWorld Mac the bootable portion of the livecd can't be used. 509
492Instead you need to download <uri
493link="http://penguinppc.org/projects/bootx/">BootX</uri> and have a working
494MacOS installed on your system. You need to copy the <c>BootX Extension</c> from
495the unpacked archive-file into the <c>Extensions Folder</c> and make a new
496directory called <c>Linux Kernels</c> in the System Folder. In the next step you
497need to copy the <c>G3</c> kernel and the <c>initrd.img.gz</c> from the LiveCD
498into the <c>Linux Kernels</c> directory. Then reboot the system and wait for
499BootX to load. After BootX loaded you still have to set up a few items. In the
500options dialog you need to check <c>Use Specified RAM Disk</c> and select the
501<c>initrd.img.gz</c> which you put in the <c>Linux Kernels</c> directory. The
502ramdisk size should be set to at least <c>32000</c>. Furthermore the kernel
503argument needs to be set to <c>rw init=/linuxrc cdroot</c>. Eventually you are
504able to boot the LiveCD when you select Linux on Startup.
505</p> 510<p>
506
507<p>
508After the LiveCD loaded, you will be greeted by a friendly welcome message and a 511After the Installation CD loaded, you will be greeted by a friendly welcome
509<e>boot:</e> prompt at the bottom of the screen. 512message and a <e>boot:</e> prompt at the bottom of the screen.
510</p> 513</p>
511 514
512<p> 515<p>
513At this prompt you are able to select a kernel for the subarchitecture you use. 516At this prompt you are able to select a kernel for the subarchitecture you use.
514We provide <c>G3</c>, <c>G4</c> and <c>G5</c>. All kernels are built with 517We provide <c>G3</c>, <c>G4</c> and <c>G5</c>. All kernels are built with
516well. 519well.
517</p> 520</p>
518 521
519<p> 522<p>
520You are also able to tweak some kernel options at this prompt. The following 523You are also able to tweak some kernel options at this prompt. The following
521table lists the available boot options you can add: 524table lists some of the available boot options you can add:
522</p> 525</p>
523 526
524<table> 527<table>
525<tr> 528<tr>
526 <th>Boot Option</th> 529 <th>Boot Option</th>
541 <ti> 544 <ti>
542 Disables level 3 cache on some PowerBooks (needed for at least the 17&quot;) 545 Disables level 3 cache on some PowerBooks (needed for at least the 17&quot;)
543 </ti> 546 </ti>
544</tr> 547</tr>
545<tr> 548<tr>
546 <ti><c>debug</c></ti> 549 <ti><c>dofirewire</c></ti>
547 <ti>
548 Enables verbose booting, spawns an initrd shell that can be used to debug
549 the LiveCD
550 </ti> 550 <ti>
551</tr> 551 Enables support for IEEE1394 (FireWire) devices, like external harddisks.
552<tr>
553 <ti><c>sleep=X</c></ti>
554 <ti> 552 </ti>
555 Wait X seconds before continuing; this can be needed by some very old SCSI 553</tr>
556 CD-ROMs which don't speed up the CD quick enough 554<tr>
555 <ti><c>dopcmcia</c></ti>
557 </ti> 556 <ti>
558</tr> 557 If you want to use PCMCIA devices during your installation (like PCMCIA
559<tr> 558 network cards) you have to enable this option.
560 <ti><c>bootfrom=X</c></ti>
561 <ti>
562 Boot from a different device
563 </ti> 559 </ti>
564</tr> 560</tr>
565</table> 561</table>
566 562
567<p> 563<p>
571</p> 567</p>
572 568
573</body> 569</body>
574</subsection> 570</subsection>
575<subsection> 571<subsection>
576<title>Alternative: Pegasos</title> 572<title>Alternative: Booting the Installation CD on a Pegasos</title>
577<body> 573<body>
578 574
579<p> 575<p>
580On the Pegasos simply insert the CD and at the SmartFirmware boot-prompt type 576On the Pegasos simply insert the CD and at the SmartFirmware boot-prompt type
581<c>boot cd /boot/pegasos root=/dev/ram0 init=/linuxrc looptype=gcloop 577<c>boot cd /boot/menu</c>. This will open a small bootmenu where you can choose
582cdroot</c>. If you need any special boot options you can append them to the 578between several preconfigured video configs. If you need any special boot
583command-line. For instance <c>boot cd /boot/pegasos root=/dev/ram0 579options you can append them to the command-line. For instance <c>boot cd
584init=/linuxrc looptype=gcloop cdroot video=radeonfb:1280x1024@75 mem=256M</c>. 580/boot/pegasos video=radeonfb:1280x1024@75 mem=256M</c>. The complete list of
581kernel appends (in case something goes wrong and you need it) is preconfigured
582in the kernel with <c>console=ttyS0,115200 console=tty0 init=/linuxrc
583looptype=squashfs loop=/livecd.squashfs udev nodevfs cdroot root=/dev/ram0</c>.
585</p> 584</p>
586 585
587</body> 586</body>
587</subsection>
588
588</subsection> 589<subsection>
590<title>Alternative: Booting the Installation CD with BootX</title>
591<body>
592
593<p>
594If you have an OldWorld Mac the bootable portion of the livecd can't be used.
595The most simple solution is to use MacOS to bootstrap into a Linux environment
596with a tool called BootX. Boot floppies are being prepared for Macs without
597MacOS, but they are not available at this time.
598</p>
599
600<p>
601First, download <uri link="http://penguinppc.org/projects/bootx/">BootX</uri>
602and unpack the archive. Copy the the <c>BootX Extension</c> from the unpacked
603archive into <c>Extensions Folder</c> and the BootX App Control Panel into
604<c>Control Panels</c>, both of which are located in your MacOS System Folder.
605Next, create a folder called "Linux Kernels" in your System folder and copy the
606<c>G3G4</c> kernel from the CD to this folder. Finally, copy <c>G3G4.igz</c>
607from the Installation CD <path>boot</path> folder into the MacOS
608<c>System Folder</c>.
609</p>
610
611<p>
612To prepare BootX, start the BootX App Control Panel. First select the Options
613dialog and check <c>Use Specified RAM Disk</c> and select <c>G3G4.igz</c> from
614your System Folder. Continue back to the initial screen and ensure that the
615ramdisk size is at least <c>32000</c>. Finally, set the kernel arguments as
616shown below:
617</p>
618
619<pre caption="BootX kernel arguments">
620cdroot root=/dev/ram0 init=linuxrc loop=livecd.squashfs looptype=squashfs console=tty0 nodevfs udev
621</pre>
622
623<note>
624The kernel parameters in the yaboot section above are also applicable here.
625</note>
626
627<p>
628Check once more to make sure the settings are correct and then save the
629configuration. This saves typing just in case it doesn't boot or something is
630missing. Press the Linux button at the top of the window to boot into the
631Installation CD and continue with <uri link="#booted">And When
632You're Booted...</uri>
633</p>
634
635</body>
636</subsection>
637
589<subsection id="booted"> 638<subsection id="booted">
590<title>And When You're Booted...</title> 639<title>And When You're Booted...</title>
591<body> 640<body>
592 641
593<p> 642<p>
594You will be greeted by a root ("#") prompt on the current console. You can also 643You will be greeted by a root ("#") prompt on the current console. You can also
595switch to other consoles by pressing Alt-fn-F2, Alt-fn-F3 and Alt-fn-F4. Get 644switch to other consoles by pressing Alt-F2, Alt-F3 and Alt-F4. Get
596back to the one you started on by pressing Alt-fn-F1. 645back to the one you started on by pressing Alt-F1. Probably you have to hit
646Alt-fn-Fx on Apple machines.
597</p> 647</p>
598 648
599<p> 649<p>
600If you are installing Gentoo on a system with a non-US keyboard, use 650If you are installing Gentoo on a system with a non-US keyboard, use
601<c>loadkeys</c> to load the keymap for your keyboard. To list the available 651<c>loadkeys</c> to load the keymap for your keyboard. To list the available
602keymaps, execute <c>ls /usr/share/keymaps/i386</c>. Do not use the keymaps in 652keymaps, execute <c>ls /usr/share/keymaps/i386</c>. On NewWorld machines or the
603<path>ppc</path> or <path>mac</path> as they are for ADB-based OldWorld 653Pegasos do not use the keymaps in <path>ppc</path> or <path>mac</path> as they
604machines. 654are for ADB-based OldWorld machines.
605</p> 655</p>
606 656
607<pre caption="Listing available keymaps"> 657<pre caption="Listing available keymaps">
608<comment>(PPC uses x86 keymaps on most systems. The mac/ppc keymaps provided 658<comment>(PPC uses x86 keymaps on most systems. The mac/ppc keymaps provided
609 on the LiveCD are ADB keymaps and unusable with the LiveCD kernel)</comment> 659 on the Installation CD are ADB keymaps and unusable with the Installation CD
660 kernel)</comment>
610# <i>ls /usr/share/keymaps/i386</i> 661# <i>ls /usr/share/keymaps/i386</i>
611</pre> 662</pre>
612 663
613<p> 664<p>
614Now load the keymap of your choice: 665Now load the keymap of your choice:
627<subsection id="hardware"> 678<subsection id="hardware">
628<title>Extra Hardware Configuration</title> 679<title>Extra Hardware Configuration</title>
629<body> 680<body>
630 681
631<p> 682<p>
632When the LiveCD boots, it tries to detect all your hardware devices and 683When the Installation CD boots, it tries to detect all your hardware devices and
633loads the appropriate kernel modules to support your hardware. In the 684loads the appropriate kernel modules to support your hardware. In the
634vast majority of cases, it does a very good job. However, in some cases, it may 685vast majority of cases, it does a very good job. However, in some cases, it may
635not auto-load the kernel modules you need. If the PCI auto-detection missed some 686not auto-load the kernel modules you need. If the PCI auto-detection missed some
636of your system's hardware, you will have to load the appropriate kernel modules 687of your system's hardware, you will have to load the appropriate kernel modules
637manually. 688manually.
638</p> 689</p>
639 690
640<p> 691<p>
641In the next example we try to load the <c>8139too</c> module (support for 692In the next example we try to load the <c>airport</c> module. This module
642certain kinds of network interfaces): 693supports only the old Airport cards (b-net). AirportExtreme is currently not
694supported under Linux:
643</p> 695</p>
644 696
645<pre caption="Loading kernel modules"> 697<pre caption="Loading kernel modules">
646# <i>modprobe 8139too</i> 698# <i>modprobe airport</i>
647</pre> 699</pre>
648 700
649</body> 701</body>
650</subsection> 702</subsection>
651<subsection> 703<subsection>
726<body> 778<body>
727 779
728<p> 780<p>
729If you want to view the Gentoo Handbook (either from-CD or online) during the 781If you want to view the Gentoo Handbook (either from-CD or online) during the
730installation, make sure you have created a user account (see <uri 782installation, make sure you have created a user account (see <uri
731link="#useraccouts">Optional: User Accounts</uri>). Then press <c>Alt-F2</c> to 783link="#useraccounts">Optional: User Accounts</uri>). Then press <c>Alt-F2</c> to
732go to a new terminal and log in. 784go to a new terminal and log in.
733</p> 785</p>
734 786
735<p> 787<p>
736If you want to view the documentation on the CD you can immediately run 788If you want to view the documentation on the CD you can immediately run
737<c>links2</c> to read it: 789<c>links2</c> to read it:
738</p> 790</p>
739 791
740<pre caption="Viewing the on-CD documentation"> 792<pre caption="Viewing the on-CD documentation">
741# <i>links2 /mnt/cdrom/docs/html/index.html</i> 793# <i>links2 /mnt/cdrom/docs/handbook/html/index.html</i>
742</pre> 794</pre>
743 795
744<p> 796<p>
745However, it is preferred that you use the online Gentoo Handbook as it will be 797However, it is preferred that you use the online Gentoo Handbook as it will be
746more recent than the one provided on the CD. You can view it using <c>links2</c> 798more recent than the one provided on the CD. You can view it using <c>links2</c>

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.48

  ViewVC Help
Powered by ViewVC 1.1.20