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

Contents of /xml/htdocs/doc/en/handbook/hb-install-ppc64-medium.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.28 - (show annotations) (download) (as text)
Tue Nov 29 14:48:47 2005 UTC (9 years ago) by jkt
Branch: MAIN
Changes since 1.27: +5 -5 lines
File MIME type: application/xml
#113849, subkeys.pgp.net instead of pgp.mit.edu

1 <?xml version='1.0' encoding='UTF-8'?>
2 <!DOCTYPE sections SYSTEM "/dtd/book.dtd">
3
4 <!-- The content of this document is licensed under the CC-BY-SA license -->
5 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
6
7 <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc64-medium.xml,v 1.27 2005/11/24 17:26:10 neysx Exp $ -->
8
9 <sections>
10
11 <version>2.10</version>
12 <date>2005-11-29</date>
13
14 <section>
15 <title>Hardware Requirements</title>
16 <subsection>
17 <title>Introduction</title>
18 <body>
19
20 <p>
21 Before we start, we first list what hardware requirements you need to
22 successfully install Gentoo on your box.
23 </p>
24
25 </body>
26 </subsection>
27 <subsection>
28 <title>Hardware Requirements</title>
29 <body>
30
31 <table>
32 <tr>
33 <th>CPU</th>
34 <ti>Any PowerPC64 CPU</ti>
35 </tr>
36 <tr>
37 <th>Systems</th>
38 <ti>
39 IBM RS/6000s, Power Macintosh G5, IBM pSeries and IBM iSeries
40 </ti>
41 </tr>
42 <tr>
43 <th>Memory</th>
44 <ti>64 MB</ti>
45 </tr>
46 <tr>
47 <th>Diskspace</th>
48 <ti>1.5 GB (excluding swap space)</ti>
49 </tr>
50 <tr>
51 <th>Swap space</th>
52 <ti>At least 256 MB</ti>
53 </tr>
54 </table>
55
56 <p>
57 For a full list of supported systems, please go to
58 <uri>http://www.linuxppc64.org/hardware.shtml</uri>.
59 </p>
60
61 </body>
62 </subsection>
63 </section>
64 <!-- Copy/paste from hb-install-x86-medium.xml, with s/x86/ppc64/ -->
65 <!-- START -->
66 <section>
67 <title>The Gentoo Installation CDs</title>
68 <subsection>
69 <title>Introduction</title>
70 <body>
71
72 <p>
73 The <e>Gentoo Installation CDs</e> are bootable CDs which contain a
74 self-sustained Gentoo environment. They allow you to boot Linux from the CD.
75 During the boot process your hardware is detected and the appropriate drivers
76 are loaded. They are maintained by Gentoo developers.
77 </p>
78
79 <p>
80 All Installation CDs allow you to boot, set up networking, initialize your
81 partitions and start installing Gentoo from the Internet. We currently provide
82 two Installation CDs which are equaly suitable to install Gentoo from, as long
83 as you're planning on performing an Internet-based installation using the
84 latest version of the available packages.
85 </p>
86
87 <p>
88 If you wish to install Gentoo without a working Internet connection, please use
89 the installation instructions described in the <uri
90 link="2005.1/index.xml">Gentoo 2005.1 Handbooks</uri>. This is currently not
91 supported for the PPC64 architecture though.
92 </p>
93
94 <p>
95 The two Installation CDs that we currently provide are:
96 </p>
97
98 <ul>
99 <li>
100 The Gentoo <e>Minimal</e> Installation CD, a small, no-nonsense, bootable
101 CD which sole purpose is to boot the system, prepare the networking and
102 continue with the Gentoo installation.
103 </li>
104 <li>
105 The Gentoo <e>Universal</e> Installation CD, a bootable CD with the same
106 abilities as the Minimal Installation CD. Additionally, it contains
107 several stage3 tarballs (optimized for the individual subarchitectures).
108 </li>
109 </ul>
110
111 <p>
112 To help you decide which Installation CD you need, we have written down the
113 major advantages and disadvantages of each Installation CD.
114 </p>
115
116 </body>
117 </subsection>
118 <subsection>
119 <title>Gentoo's Minimal Installation CD</title>
120 <body>
121
122 <p>
123 The Minimal Installation CD is called
124 <c>install-ppc64-minimal-2005.1-r1.iso</c> and takes up only 143 MB of
125 diskspace. You can use this Installation CD to install Gentoo, but always with a
126 working Internet connection only.
127 </p>
128
129 <table>
130 <tr>
131 <th>Minimal Installation CD</th>
132 <th>Pros and Cons</th>
133 </tr>
134 <tr>
135 <th>+</th>
136 <ti>Smallest download</ti>
137 </tr>
138 <tr>
139 <th>-</th>
140 <ti>
141 Contains no stage3 tarball, no Portage snapshot, no prebuilt packages and is
142 therefore not suitable for networkless installation
143 </ti>
144 </tr>
145 </table>
146
147 </body>
148 </subsection>
149 <subsection>
150 <title>Gentoo's Universal Installation CD</title>
151 <body>
152
153 <p>
154 The Universal Installation CD is called
155 <c>install-ppc64-universal-2005.1-r1.iso</c> and uses
156 486 MB. You can use this Installation CD to install Gentoo, and you can
157 even use it to install Gentoo without a working internet
158 connection, just in case you want to bring Gentoo to another PC than the one you
159 are currently installing Gentoo on :)
160 </p>
161
162 <table>
163 <tr>
164 <th>Universal Installation CD</th>
165 <th>Pros and Cons</th>
166 </tr>
167 <tr>
168 <th>+</th>
169 <ti>
170 Contains everything you need. You can even install without a network
171 connection.
172 </ti>
173 </tr>
174 <tr>
175 <th>-</th>
176 <ti>Huge download</ti>
177 </tr>
178 </table>
179
180 </body>
181 </subsection>
182 <subsection>
183 <title>The Stage3 Tarball</title>
184 <body>
185
186 <p>
187 A stage3 tarball is an archive containing a minimal Gentoo environment, suitable
188 to continue the Gentoo installation using the instructions in this manual.
189 Previously, the Gentoo Handbook described the installation using one of three
190 stage tarballs. While Gentoo still offers stage1 and stage2 tarballs, the
191 official installation method uses the stage3 tarball. If you are interested in
192 performing a Gentoo installation using a stage1 or stage2 tarball, please read
193 the Gentoo FAQ on <uri link="/doc/en/faq.xml#stage12">How do I Install Gentoo
194 Using a Stage1 or Stage2 Tarball?</uri>
195 </p>
196
197 </body>
198 </subsection>
199 </section>
200 <!-- STOP -->
201 <section>
202 <title>Download, Burn and Boot a Gentoo Installation CD</title>
203 <subsection>
204 <title>Downloading and Burning the Installation CDs</title>
205 <body>
206
207 <p>
208 You have chosen to use a Gentoo Installation CD. We'll first start by
209 downloading and burning the chosen Installation CD. We previously discussed the
210 several available Installation CDs, but where can you find them?
211 </p>
212
213 <p>
214 You can download any of the Installation CDs (and, if you want to, a Packages
215 CD as well) from one of our <uri link="/main/en/mirrors.xml">mirrors</uri>. The
216 Installation CDs are located in the
217 <path>releases/ppc64/2005.1-r1/installcd</path> directory.
218 </p>
219
220 <p>
221 Inside that directory you'll find ISO-files. Those are full CD images
222 which you can write on a CD-R.
223 </p>
224
225 <p>
226 In case you wonder if your downloaded file is corrupted or not, you can
227 check its MD5 checksum and compare it with the MD5 checksum we provide (such as
228 <path>install-ppc64-minimal-2005.1-r1.iso.md5</path>). You can check the MD5
229 checksum with the <c>md5sum</c> tool under Linux/Unix or <uri
230 link="http://www.etree.org/md5com.html">md5sum</uri> for Windows.
231 </p>
232
233 <p>
234 Another way to check the validity of the downloaded file is to use GnuPG to
235 verify the cryptographic signature that we provide (the file ending with
236 <path>.asc</path>). Download the signature file and obtain the public key:
237 </p>
238
239 <pre caption="Obtaining the public key">
240 $ <i>gpg --keyserver subkeys.pgp.net --recv-keys 17072058</i>
241 </pre>
242
243 <p>
244 Now verify the signature:
245 </p>
246
247 <pre caption="Verify the cryptographic signature">
248 $ <i>gpg --verify &lt;signature file&gt; &lt;downloaded iso&gt;</i>
249 </pre>
250
251 <p>
252 To burn the downloaded ISO(s), you have to select raw-burning. How you
253 do this is highly program-dependent. We will discuss <c>cdrecord</c> and
254 <c>K3B</c> here; more information can be found in our <uri
255 link="/doc/en/faq.xml#isoburning">Gentoo FAQ</uri>.
256 </p>
257
258 <ul>
259 <li>
260 With cdrecord, you simply type <c>cdrecord dev=/dev/hdc &lt;downloaded iso
261 file&gt;</c> (replace <path>/dev/hdc</path> with your CD-RW drive's
262 device path).
263 </li>
264 <li>
265 With K3B, select <c>Tools</c> &gt; <c>CD</c> &gt; <c>Burn Image</c>. Then
266 you can locate your ISO file within the 'Image to Burn' area. Finally click
267 <c>Start</c>.
268 </li>
269 <li>
270 With Mac OS X Panther, launch <c>Disk Utility</c> from
271 <path>Applications/Utilities</path>, select <c>Open</c> from the
272 <c>Images</c> menu, select the mounted disk image in the main window and
273 select <c>Burn</c> in the <c>Images</c> menu.
274 </li>
275 <li>
276 With Mac OS X Jaguar, launch <c>Disk Copy</c> from
277 <path>Applications/Utilities</path>, select <c>Burn Image</c> from the
278 <c>File</c> menu, select the ISO and click the <c>Burn</c> button.
279 </li>
280 </ul>
281
282 </body>
283 </subsection>
284 <subsection>
285 <title>Default: Booting the Installation CD on an Apple/IBM</title>
286 <body>
287
288 <p>
289 Place the Installation CD in the CD-ROM and reboot the system. Hold down the
290 'C' key at bootup. You will be greeted by a friendly welcome message and a
291 <e>boot:</e> prompt at the bottom of the screen.
292 </p>
293
294 <p>
295 You are also able to tweak some kernel options at this prompt. The following
296 table lists the available boot options you can add:
297 </p>
298
299 <table>
300 <tr>
301 <th>Boot Option</th>
302 <th>Description</th>
303 </tr>
304 <tr>
305 <ti><c>video</c></ti>
306 <ti>
307 This option takes one of the following vendor-specific tags:
308 <c>radeonfb</c>, <c>rivafb</c>, <c>atyfb</c>, <c>aty128</c> or
309 <c>ofonly</c>. You can follow this tag with the resolution and refreshrate
310 you want to use. For instance <c>video=radeonfb:1280x1024@75</c>. If you are
311 uncertain what to choose, <c>ofonly</c> will most certainly work.
312 </ti>
313 </tr>
314 <tr>
315 <ti><c>nol3</c></ti>
316 <ti>
317 Disables level 3 cache on some powerbooks (needed for at least the 17'')
318 </ti>
319 </tr>
320 <tr>
321 <ti><c>debug</c></ti>
322 <ti>
323 Enables verbose booting, spawns an initrd shell that can be used to debug
324 the Installation CD
325 </ti>
326 </tr>
327 <tr>
328 <ti><c>sleep=X</c></ti>
329 <ti>
330 Wait X seconds before continuing; this can be needed by some very old SCSI
331 CD-ROMs which don't speed up the CD quick enough
332 </ti>
333 </tr>
334 <tr>
335 <ti><c>bootfrom=X</c></ti>
336 <ti>
337 Boot from a different device
338 </ti>
339 </tr>
340 </table>
341
342 <p>
343 At this prompt, hit enter, and a complete Gentoo Linux environment will be
344 loaded from the CD. Continue with <uri link="#booted">And When You're
345 Booted...</uri>.
346 </p>
347
348 </body>
349 </subsection>
350 <subsection>
351 <title>IBM pSeries</title>
352 <body>
353
354 <p>
355 For pSeries boxes, sometimes the cds might not autoboot. You might have
356 to set up your cdrom as a bootable device in the multi-boot menu. (F1 at
357 startup) The other option is to jump into OF and do it from there:
358 </p>
359
360 <p>
361 1) Boot into OF (this is 8 from the serial cons or F8 from a graphics
362 cons, start hitting the key when you see the keyboard mouse etc etc
363 messages
364 </p>
365 <p>
366 2) run the command 0> boot cdrom:1,yaboot
367 </p>
368 <p>
369 3) stand back and enjoy!
370 </p>
371
372 </body>
373 </subsection>
374 <subsection id="booted">
375 <title>And When You're Booted...</title>
376 <body>
377
378 <p>
379 You will be greeted by a root ("#") prompt on the current console. You can also
380 switch to other consoles by pressing Alt-fn-F2, Alt-fn-F3 and Alt-fn-F4. Get
381 back to the one you started on by pressing Alt-fn-F1.
382 </p>
383
384 <p>
385 If you are installing Gentoo on a system with a non-US keyboard, use
386 <c>loadkeys</c> to load the keymap for your keyboard. To list the available
387 keymaps, execute <c>ls /usr/share/keymaps/i386</c>.
388 </p>
389
390 <pre caption="Listing available keymaps">
391 <comment>(PPC uses x86 keymaps on most systems. The mac/ppc keymaps provided
392 on the Installation CD are ADB keymaps and unusable with the
393 Installation CD kernel)</comment>
394 # <i>ls /usr/share/keymaps/i386</i>
395 </pre>
396
397 <p>
398 Now load the keymap of your choice:
399 </p>
400
401 <pre caption="Loading a keymap">
402 # <i>loadkeys be-latin1</i>
403 </pre>
404
405 <p>
406 Now continue with <uri link="#hardware">Extra Hardware Configuration</uri>.
407 </p>
408
409 </body>
410 </subsection>
411 <subsection id="hardware">
412 <title>Extra Hardware Configuration</title>
413 <body>
414
415 <p>
416 When the Installation CD boots, it tries to detect all your hardware devices and
417 loads the appropriate kernel modules to support your hardware. In the
418 vast majority of cases, it does a very good job. However, in some cases it may
419 not auto-load the kernel
420 modules you need. If the PCI auto-detection missed some of your system's
421 hardware, you will have to load the appropriate kernel modules manually.
422 </p>
423
424 <p>
425 In the next example we try to load the <c>8139too</c> module (support for
426 certain kinds of network interfaces):
427 </p>
428
429 <pre caption="Loading kernel modules">
430 # <i>modprobe 8139too</i>
431 </pre>
432
433 </body>
434 </subsection>
435 <subsection>
436 <title>Optional: Tweaking Hard Disk Performance</title>
437 <body>
438
439 <p>
440 If you are an advanced user, you might want to tweak the IDE hard disk
441 performance using <c>hdparm</c>. With the <c>-tT</c> options you can
442 test the performance of your disk (execute it several times to get a
443 more precise impression):
444 </p>
445
446 <pre caption="Testing disk performance">
447 # <i>hdparm -tT /dev/hda</i>
448 </pre>
449
450 <p>
451 To tweak, you can use any of the following examples (or experiment
452 yourself) which use <path>/dev/hda</path> as disk (substitute with your
453 disk):
454 </p>
455
456 <pre caption="Tweaking hard disk performance">
457 <comment>Activate DMA:</comment> # <i>hdparm -d 1 /dev/hda</i>
458 <comment>Activate DMA + Safe Performance-enhancing Options:</comment> # <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i>
459 </pre>
460
461 </body>
462 </subsection>
463 <subsection id="useraccounts">
464 <title>Optional: User Accounts</title>
465 <body>
466
467 <p>
468 If you plan on giving other people access to your installation
469 environment or you want to chat using <c>irssi</c> without root privileges (for
470 security reasons), you need to create the necessary user accounts and change
471 the root password.
472 </p>
473
474 <p>
475 To change the root password, use the <c>passwd</c> utility:
476 </p>
477
478 <pre caption="Changing the root password">
479 # <i>passwd</i>
480 New password: <comment>(Enter your new password)</comment>
481 Re-enter password: <comment>(Re-enter your password)</comment>
482 </pre>
483
484 <p>
485 To create a user account, we first enter their credentials, followed by
486 its password. We use <c>useradd</c> and <c>passwd</c> for these tasks.
487 In the next example, we create a user called &quot;john&quot;.
488 </p>
489
490 <pre caption="Creating a user account">
491 # <i>useradd -m -G users john</i>
492 # <i>passwd john</i>
493 New password: <comment>(Enter john's password)</comment>
494 Re-enter password: <comment>(Re-enter john's password)</comment>
495 </pre>
496
497 <p>
498 You can change your user id from root to the newly created user by using
499 <c>su</c>:
500 </p>
501
502 <pre caption="Changing user id">
503 # <i>su - john</i>
504 </pre>
505
506 </body>
507 </subsection>
508 <subsection>
509 <title>Optional: Viewing Documentation while Installing</title>
510 <body>
511
512 <p>
513 If you want to view the Gentoo Handbook during the installation, make sure you
514 have created a user account (see <uri link="#useraccounts">Optional: User
515 Accounts</uri>). Then press <c>Alt-F2</c> to go to a new terminal and log in.
516 </p>
517
518 <p>
519 If you want to view the documentation on the CD you can immediately run
520 <c>links2</c> to read it:
521 </p>
522
523 <pre caption="Viewing the on-CD documentation">
524 # <i>links2 /mnt/cdrom/docs/handbook/html/index.html</i>
525 </pre>
526
527 <p>
528 However, it is preferred that you use the online Gentoo Handbook as it will be
529 more recent than the one provided on the CD.
530 </p>
531
532 <pre caption="Viewing the Online Documentation">
533 # <i>links2 http://www.gentoo.org/doc/en/handbook/handbook-ppc64.xml</i>
534 </pre>
535
536 <p>
537 You can go back to your original terminal by pressing <c>Alt-F1</c>.
538 </p>
539
540 </body>
541 </subsection>
542 <subsection>
543 <title>Optional: Starting the SSH Daemon</title>
544 <body>
545
546 <p>
547 If you want to allow other users to access your computer during the
548 Gentoo installation (perhaps because those users are going to help you
549 install Gentoo, or even do it for you), you need to create a user
550 account for them and perhaps even provide them with your root password
551 (<e>only</e> do that <e>if</e> you <b>fully trust</b> that user).
552 </p>
553
554 <p>
555 To fire up the SSH daemon, execute the following command:
556 </p>
557
558 <pre caption="Starting the SSH daemon">
559 # <i>/etc/init.d/sshd start</i>
560 </pre>
561
562 <p>
563 To be able to use sshd, you first need to set up your networking. Continue with
564 the chapter on <uri link="?part=1&amp;chap=3">Configuring your Network</uri>.
565 </p>
566
567 </body>
568 </subsection>
569 </section>
570 </sections>

  ViewVC Help
Powered by ViewVC 1.1.20