/[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.16 Revision 1.17
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/1.0 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-medium.xml,v 1.16 2004/07/09 08:43:40 neysx Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-medium.xml,v 1.17 2004/07/26 09:04:42 dertobi123 Exp $ -->
8 8
9<sections> 9<sections>
10<section> 10<section>
11<title>Hardware Requirements</title> 11<title>Hardware Requirements</title>
12<subsection> 12<subsection>
13<title>Introduction</title> 13<title>Introduction</title>
14<body> 14<body>
15 15
16<p> 16<p>
17Before we start, we first list what hardware requirements you need to 17Before we start, we first list what hardware requirements you need to
18successfully install Gentoo on your box. This of course depends on your 18successfully install Gentoo on your box. This of course depends on your
19architecture. 19architecture.
20</p> 20</p>
21 21
22</body> 22</body>
23</subsection> 23</subsection>
24<subsection> 24<subsection>
25<title>The PPC Architecture</title> 25<title>The PPC Architecture</title>
26<body> 26<body>
27 27
28<p> 28<p>
29Check the following requirements before you 29Check the following requirements before you
30continue with the Gentoo installation: 30continue with the Gentoo installation:
31</p> 31</p>
32 32
33<ul> 33<ul>
34<li> 34<li>
35 You need at least 1 Gb of free disk space 35 You need at least 2 GB of free disk space
36</li> 36</li>
37<li> 37<li>
38 If you do not use prebuilt packages, you need at least 300 Mb of memory (RAM + 38 If you do not use prebuilt packages, you need at least 300 MB of memory (RAM +
39 swap) 39 swap)
40</li> 40</li>
41<li> 41<li>
42 For the <e>PowerPC architecture</e>, you can install Gentoo/PPC on machines 42 For the <e>PowerPC architecture</e>, you can install Gentoo/PPC on NewWorld machines
43 having a Power or PowerPC microprocessor, including but not limited to G3, G4 43 having a Power or PowerPC microprocessor, including but not limited to G3, G4
44 or G5 powered Apple computers such as the iMac, the iBook, the PowerBook, 44 or G5 powered Apple computers such as the iMac, the eMac, the iBook, the PowerBook,
45 Xserve, PowerMac, and bPlan's Pegasos I and II... We also provide limited 45 Xserve, PowerMac, and bPlan's Pegasos I and II. We also provide limited
46 support for oldworld systems, IBM (rs/6000, iSeries, pSeries, ...) and Amiga 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 47 systems. Be sure to read up on the <uri link="/doc/en/gentoo-ppc-faq.xml">Gentoo
48 PPC FAQ</uri> too before you begin. 48 PPC FAQ</uri> before you begin.
49</li> 49</li>
50</ul> 50</ul>
51 51
52</body> 52</body>
53</subsection> 53</subsection>
54</section> 54</section>
55<section> 55<section>
56<title>Make your Choice</title> 56<title>Make your Choice</title>
57<subsection> 57<subsection>
58<title>Introduction</title> 58<title>Introduction</title>
59<body> 59<body>
60 60
61<p> 61<p>
62Still interested in trying out Gentoo? Well, then it is now time to 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 63choose the installation medium you want to use. Yes, you have the
270<p> 270<p>
271Now what do these LiveCDs contain? 271Now what do these LiveCDs contain?
272</p> 272</p>
273 273
274</body> 274</body>
275</subsection> 275</subsection>
276<subsection> 276<subsection>
277<title>Gentoo's Minimal LiveCD</title> 277<title>Gentoo's Minimal LiveCD</title>
278<body> 278<body>
279 279
280<p> 280<p>
281This is a small, no-nonsense, bootable CD which sole purpose is to boot the 281This is a small, no-nonsense, bootable CD which sole purpose is to boot the
282system, prepare the networking and continue with the Gentoo installation. It 282system, prepare the networking and continue with the Gentoo installation. It
283does not contain any stages (or, in some cases, a single stage1 file), 283does not contain any stages (or, in some cases, a single stage1 file),
284source code or precompiled packages. For example the ppc variant of this 284source code or precompiled packages. For example the ppc variant of this
285LiveCD can be found in the <path>universal</path> subdirectory and is called 285LiveCD can be found in the <path>livecd</path> subdirectory and is called
286<c>install-ppc-minimal-2004.1.iso</c>. 286<c>install-ppc-minimal-2004.2.iso</c>.
287</p> 287</p>
288 288
289<table> 289<table>
290<tr> 290<tr>
291 <th>Minimal LiveCD</th> 291 <th>Minimal LiveCD</th>
292 <th>Pros and Cons</th> 292 <th>Pros and Cons</th>
293</tr> 293</tr>
294<tr> 294<tr>
295 <th>+</th> 295 <th>+</th>
296 <ti>Smallest download</ti> 296 <ti>Smallest download</ti>
297</tr> 297</tr>
298<tr> 298<tr>
299 <th>+</th> 299 <th>+</th>
300 <ti>Suitable for a complete architecture</ti> 300 <ti>Suitable for a complete architecture</ti>
301</tr> 301</tr>
313 suitable for networkless installation 313 suitable for networkless installation
314 </ti> 314 </ti>
315</tr> 315</tr>
316</table> 316</table>
317 317
318</body> 318</body>
319</subsection> 319</subsection>
320<subsection> 320<subsection>
321<title>Gentoo's Universal LiveCD</title> 321<title>Gentoo's Universal LiveCD</title>
322<body> 322<body>
323 323
324<p> 324<p>
325Gentoo's Universal LiveCD is a bootable CD suitable to install Gentoo without 325Gentoo's Universal LiveCD is a bootable CD suitable to install Gentoo without
326networking. It contains a stage1 and several stage3 tarballs (optimized for the 326networking. It contains a stage1 and several stage3 tarballs (optimized for the
327individual subarchitectures). For example the ppc variant of this CD is called 327individual subarchitectures). For example the ppc variant of this CD is called
328<c>install-ppc-universal-2004.1.iso</c> and can be found in the 328<c>install-ppc-universal-2004.2.iso</c> and can be found in the
329<path>universal</path> subdirectory. 329<path>livecd</path> subdirectory.
330</p> 330</p>
331 331
332<p> 332<p>
333If you take a closer look on our mirrors, you will see 333If you take a closer look on our mirrors, you will see
334that we provide <e>Gentoo Package CDs</e>. This CD (which isn't 334that we provide <e>Gentoo Package CDs</e>. This CD (which isn't
335bootable) only contains precompiled packages and can be used to install software 335bootable) only contains precompiled packages and can be used to install software
336after a succesfull Gentoo Installation. To install Gentoo, you only 336after a succesfull Gentoo Installation. To install Gentoo, you only
337need the Universal LiveCD, but if you want OpenOffice.org, Mozilla, KDE, GNOME 337need the Universal LiveCD, but if you want OpenOffice.org, Mozilla, KDE, GNOME
338etc. without having to compile every single one of them, you need the Packages 338etc. without having to compile every single one of them, you need the Packages
339CD too. For example the G4 (a subarchitecture of ppc) Packages CD is 339CD too. For example the G4 (a subarchitecture of ppc) Packages CD is
340called <c>packages-g4-2004.1.iso</c> and can be found in the appropriate 340called <c>packages-g4-2004.2.iso</c> and can be found in the appropriate
341subdirectory (<path>g4/</path>). 341subdirectory (<path>g4/</path>).
342</p> 342</p>
343 343
344<p> 344<p>
345You only need the Packages CD if you want to perform a stage3 with GRP 345You only need the Packages CD if you want to perform a stage3 with GRP
346installation. 346installation.
347</p> 347</p>
348 348
349<table> 349<table>
350<tr> 350<tr>
351 <th>Universal LiveCD with Packages CD</th> 351 <th>Universal LiveCD with Packages CD</th>
352 <th>Pros and Cons</th> 352 <th>Pros and Cons</th>
353</tr> 353</tr>
354<tr> 354<tr>
355 <th>+</th> 355 <th>+</th>
381<title>Download, Burn and Boot a Gentoo LiveCD</title> 381<title>Download, Burn and Boot a Gentoo LiveCD</title>
382<subsection> 382<subsection>
383<title>Downloading and Burning the LiveCDs</title> 383<title>Downloading and Burning the LiveCDs</title>
384<body> 384<body>
385 385
386<p> 386<p>
387You have chosen to use a Gentoo LiveCD (if not, then you are reading the 387You have chosen to use a Gentoo LiveCD (if not, then you are reading the
388wrong section). We'll first start by downloading and burning the chosen 388wrong section). We'll first start by downloading and burning the chosen
389LiveCD. We previously discussed the several available LiveCDs, but where can you 389LiveCD. We previously discussed the several available LiveCDs, but where can you
390find them? 390find them?
391</p> 391</p>
392 392
393<p> 393<p>
394Visit one of our <uri 394Visit one of our <uri
395link="/main/en/mirrors.xml">mirrors</uri> and go to 395link="/main/en/mirrors.xml">mirrors</uri> and go to
396<path>releases/ppc/2004.1/livecd/universal</path>, which is 396<path>releases/ppc/2004.2/livecd</path>, which is
397the path where the LiveCD(s) of your choice are located. Inside that 397the path where the LiveCD(s) of your choice are located. Inside that
398directory you'll find so-called ISO-files. Those are full CD images 398directory you'll find so-called ISO-files. Those are full CD images
399which you can write on a CD-R. 399which you can write on a CD-R.
400</p> 400</p>
401 401
402<p> 402<p>
403In case you wonder if your downloaded file is corrupted or not, you can 403In case you wonder if your downloaded file is corrupted or not, you can
404check its MD5 checksum and compare it with the MD5 checksum we provide (such as 404check its MD5 checksum and compare it with the MD5 checksum we provide (such as
405<path>install-ppc-minimal-2004.1.iso.md5</path>). You can check the MD5 checksum 405<path>install-ppc-minimal-2004.2.iso.md5</path>). You can check the MD5 checksum
406with the <c>md5sum</c> tool under Linux/Unix or <uri 406with the <c>md5sum</c> tool under Linux/Unix or <uri
407link="http://www.etree.org/md5com.html">md5sum</uri> for Windows. 407link="http://www.etree.org/md5com.html">md5sum</uri> for Windows.
408</p> 408</p>
409 409
410<!--
411<p>
412Another way to check the validity of the downloaded file is to use GnuPG to
413verify the cryptographic signature that we provide (the file ending with
414<path>.asc</path>). Download the signature file and obtain the public key:
415</p> 410<p>
416 411As long as Mac OS X does not support <c>md5sum</c> you have to use the md5
417<pre caption="Obtaining the public key"> 412capability of <c>openssl</c>. Therefore type in Terminal.app:
418$ <i>gpg - -keyserver pgp.mit.edu - -recv-keys 19462D47</i>
419</pre>
420
421<p> 413</p>
422Now verify the signature: 414
415<pre caption="md5sum with the help of upenssl">
416$ <i>openssl md5 /path/to/iso</i>
417<comment>This could take some time depending of the size of the ISO and your CPU</comment>
418</pre>
419
423</p> 420<p>
424 421Now compare this output with the appropriate file found on the server where you
425<pre caption="Verify the cryptographic signature"> 422downloaded the ISO (the file will end with .md5). If it is the same, the ISO
426$ <i>gpg - -verify &lt;signature file&gt; &lt;downloaded iso&gt;</i> 423image downloaded correctly. Be sure you have not mounted it (e.g. with Disk
427<comment>(If everything goes well, you should see something like this:)</comment> 424Copy) yet!
428gpg: Signature made Mon Apr 19 18:54:40 2004 EDT using DSA key ID 19462D47
429gpg: Good signature from "John Davis (Gentoo Linux Developer) &lt;zhen@gentoo.org&gt;"
430gpg: aka "Gentoo Linux Release Engineering &lt;releng@gentoo.org&gt;"
431</pre> 425</p>
432--> 426
427<p>
428More information are available in our <uri
429link="/doc/en/gentoo-ppc-faq.xml">PPC FAQ.</uri>
430</p>
433 431
434<p> 432<p>
435To burn the downloaded ISO(s), you have to select raw-burning. How you 433To burn the downloaded ISO(s), you have to select raw-burning. How you
436do this is highly program-dependent. We will discuss <c>cdrecord</c> and 434do this is highly program-dependent. We will discuss <c>cdrecord</c> and
437<c>K3B</c> here; more information can be found in our <uri 435<c>k3b</c> here; more information can be found in our <uri
438link="/doc/en/faq.xml#isoburning">Gentoo FAQ</uri>. 436link="/doc/en/faq.xml#isoburning">Gentoo FAQ</uri> and the <uri
437link="/doc/en/gentoo-ppc-faq.xml">PPC FAQ</uri>.
439</p> 438</p>
440 439
441<ul> 440<ul>
442 <li> 441 <li>
443 With cdrecord, you simply type <c>cdrecord dev=/dev/hdc</c> (replace 442 With cdrecord, you simply type <c>cdrecord dev=/dev/hdc</c> (replace
444 <path>/dev/hdc</path> with your CD-RW drive's device path) followed 443 <path>/dev/hdc</path> with your CD-RW drive's device path) followed
445 by the path to the ISO file :) 444 by the path to the ISO file :)
446 </li> 445 </li>
447 <li> 446 <li>
448 With K3B, select <c>Tools</c> &gt; <c>CD</c> &gt; <c>Burn Image</c>. Then 447 With k3b, select <c>Tools</c> &gt; <c>CD</c> &gt; <c>Burn Image</c>. Then
449 you can locate your ISO file within the 'Image to Burn' area. Finally click 448 you can locate your ISO file within the 'Image to Burn' area. Finally click
450 <c>Start</c>. 449 <c>Start</c>.
451 </li> 450 </li>
452</ul> 451</ul>
453 452
454</body> 453</body>
455</subsection> 454</subsection>
456</section> 455</section>
457<section> 456<section>
458<title>Booting the PPC LiveCD(s)</title> 457<title>Booting the PPC LiveCD(s)</title>
459<subsection> 458<subsection>
460<title>Default: Apple/IBM</title> 459<title>Default: Apple/IBM</title>
461<body> 460<body>
462 461
463<p> 462<p>
464Place the LiveCD in the CD-ROM and reboot the system. Hold down the 'C' key at 463On NewWorld machines place the LiveCD in the CD-ROM and reboot the system. When
465bootup (or run an OldWorld bootloader like BootX or quik). You will be greeted 464the system-start-bell sounds, simply hold down the 'C' until the CD loads.
466by a friendly welcome message and a <e>boot:</e> prompt at the bottom of the 465</p>
467screen. 466
467<p>
468If you have an OldWorld Mac the bootable portion of the livecd can't be used.
469Instead you need to download <uri
470link="http://penguinppc.org/projects/bootx/">BootX</uri> and have a working
471MacOS installed on your system. You need to copy the <c>BootX Extension</c> from
472the unpacked archive-file into the <c>Extensions Folder</c> and make a new
473directory called <c>Linux Kernels</c> in the System Folder. In the next step you
474need to copy the <c>G3</c> kernel and the <c>initrd.img.gz</c> from the LiveCD
475into the <c>Linux Kernels</c> directory. Then reboot the system and wait for
476BootX to load. After BootX loaded you still have to set up a few items. In the
477options dialog you need to check <c>Use Secified RAM Disk</c> and select the
478<c>initrd.img.gz</c> which you put in the <c>Linux Kernels</c> directory. The
479ramdisk size should be set to at least <c>32000</c>. Furthermore the kernel
480argument needs to be set to <c>rw init=/linuxrc cdroot</c>. Eventually you are
481able to boot the LiveCD when you select Linux on Startup.
482</p>
483
484<p>
485After the LiveCD loaded, you will be greeted by a friendly welcome message and a
486<e>boot:</e> prompt at the bottom of the screen.
468</p> 487</p>
469 488
470<p> 489<p>
471At this prompt you are able to select a kernel for the subarchitecture you use. 490At this prompt you are able to select a kernel for the subarchitecture you use.
472We provide <c>G3</c>, <c>G3-SMP</c>, <c>G4</c>, <c>G4-SMP</c>, <c>G5</c>, 491We provide <c>G3</c>, <c>G4</c> and <c>G5</c>. All kernels are built with
473<c>G5-SMP</c> and <c>G</c>. The various <c>-SMP</c> kernels are needed if your 492support for multiple CPUs, but they will boot on single processor machines as
474system has multiple CPUs. 493well.
475</p> 494</p>
476 495
477<p> 496<p>
478You are also able to tweak some kernel options at this prompt. The following 497You are also able to tweak some kernel options at this prompt. The following
479table lists the available boot options you can add: 498table lists the available boot options you can add:
480</p> 499</p>
481 500
482<table> 501<table>
483<tr> 502<tr>
484 <th>Boot Option</th> 503 <th>Boot Option</th>
485 <th>Description</th> 504 <th>Description</th>
486</tr> 505</tr>
487<tr> 506<tr>
488 <ti><c>video</c></ti> 507 <ti><c>video</c></ti>
489 <ti> 508 <ti>
490 This option takes one of the following vendor-specific tags: 509 This option takes one of the following vendor-specific tags:
491 <c>radeonfb</c>, <c>rivafb</c>, <c>atyfb</c>, <c>aty128</c> or 510 <c>radeonfb</c>, <c>rivafb</c>, <c>atyfb</c>, <c>aty128</c> or
492 <c>ofonly</c>. You can follow this tag with the resolution and refreshrate 511 <c>ofonly</c>. You can follow this tag with the resolution and refreshrate
493 you want to use. For instance <c>video=radeonfb:1280x1024@75</c>. If you are 512 you want to use. For instance <c>video=radeonfb:1280x1024@75</c>. If you are
494 uncertain what to choose, <c>ofonly</c> will most certainly work. 513 uncertain what to choose, <c>ofonly</c> will most certainly work.
495 </ti> 514 </ti>
496</tr> 515</tr>
497<tr> 516<tr>
498 <ti><c>nol3</c></ti> 517 <ti><c>nol3</c></ti>
499 <ti> 518 <ti>
500 Disables level 3 cache on some powerbooks (needed for at least the 17'') 519 Disables level 3 cache on some PowerBooks (needed for at least the 17&quot;)
501 </ti> 520 </ti>
502</tr> 521</tr>
503<tr> 522<tr>
504 <ti><c>debug</c></ti> 523 <ti><c>debug</c></ti>
505 <ti> 524 <ti>
506 Enables verbose booting, spawns an initrd shell that can be used to debug 525 Enables verbose booting, spawns an initrd shell that can be used to debug
507 the LiveCD 526 the LiveCD
508 </ti> 527 </ti>
509</tr> 528</tr>
510<tr> 529<tr>
511 <ti><c>sleep=X</c></ti> 530 <ti><c>sleep=X</c></ti>
512 <ti> 531 <ti>
513 Wait X seconds before continuing; this can be needed by some very old SCSI 532 Wait X seconds before continuing; this can be needed by some very old SCSI
514 CD-ROMs which don't speed up the CD quick enough 533 CD-ROMs which don't speed up the CD quick enough
515 </ti> 534 </ti>
545</body> 564</body>
546</subsection> 565</subsection>
547<subsection id="booted"> 566<subsection id="booted">
548<title>And When You're Booted...</title> 567<title>And When You're Booted...</title>
549<body> 568<body>
550 569
551<p> 570<p>
552You will be greeted by a root ("#") prompt on the current console. You can also 571You will be greeted by a root ("#") prompt on the current console. You can also
553switch to other consoles by pressing Alt-fn-F2, Alt-fn-F3 and Alt-fn-F4. Get 572switch to other consoles by pressing Alt-fn-F2, Alt-fn-F3 and Alt-fn-F4. Get
554back to the one you started on by pressing Alt-fn-F1. 573back to the one you started on by pressing Alt-fn-F1.
555</p> 574</p>
556 575
557<p> 576<p>
558If you are installing Gentoo on a system with a non-US keyboard, use 577If you are installing Gentoo on a system with a non-US keyboard, use
559<c>loadkeys</c> to load the keymap for your keyboard. To list the available 578<c>loadkeys</c> to load the keymap for your keyboard. To list the available
560keymaps, execute <c>ls /usr/share/keymaps/i386</c>. 579keymaps, execute <c>ls /usr/share/keymaps/i386</c>. Do not use the keymaps in
580<path>ppc</path> or <path>mac</path> as they are for ADB-based OldWorld
581machines.
561</p> 582</p>
562 583
563<pre caption="Listing available keymaps"> 584<pre caption="Listing available keymaps">
564<comment>(PPC uses x86 keymaps on most systems. The mac/ppc keymaps provided 585<comment>(PPC uses x86 keymaps on most systems. The mac/ppc keymaps provided
565 on the LiveCD are ADB keymaps and unusable with the LiveCD kernel)</comment> 586 on the LiveCD are ADB keymaps and unusable with the LiveCD kernel)</comment>
566# <i>ls /usr/share/keymaps/i386</i> 587# <i>ls /usr/share/keymaps/i386</i>
567</pre> 588</pre>
568 589
569<p> 590<p>
570Now load the keymap of your choice: 591Now load the keymap of your choice:
571</p> 592</p>
572 593
573<pre caption="Loading a keymap"> 594<pre caption="Loading a keymap">
574# <i>loadkeys be-latin1</i> 595# <i>loadkeys be-latin1</i>
575</pre> 596</pre>
576 597
577<p> 598<p>
578Now continue with <uri link="#hardware">Extra Hardware Configuration</uri>. 599Now continue with <uri link="#hardware">Extra Hardware Configuration</uri>.
579</p> 600</p>
580 601
581</body> 602</body>
582</subsection> 603</subsection>
583<subsection id="hardware"> 604<subsection id="hardware">
584<title>Extra Hardware Configuration</title> 605<title>Extra Hardware Configuration</title>
585<body> 606<body>
586 607
587<p> 608<p>
588When the Live CD boots, it tries to detect all your hardware devices and 609When the LiveCD boots, it tries to detect all your hardware devices and
589loads the appropriate kernel modules to support your hardware. In the 610loads the appropriate kernel modules to support your hardware. In the
590vast majority of cases, it does a very good job. However, in some cases (the 611vast majority of cases, it does a very good job. However, in some cases, it may
591SPARC LiveCDs don't even do autodetection), it may not auto-load the kernel 612not auto-load the kernel modules you need. If the PCI auto-detection missed some
592modules you need. If the PCI auto-detection missed some of your system's
593hardware, you will have to load the appropriate kernel modules manually. 613of your system's hardware, you will have to load the appropriate kernel modules
614manually.
594</p> 615</p>
595 616
596<p> 617<p>
597In the next example we try to load the <c>8139too</c> module (support for 618In the next example we try to load the <c>8139too</c> module (support for
598certain kinds of network interfaces): 619certain kinds of network interfaces):
599</p> 620</p>
600 621
601<pre caption="Loading kernel modules"> 622<pre caption="Loading kernel modules">
602# <i>modprobe 8139too</i> 623# <i>modprobe 8139too</i>
603</pre> 624</pre>
604 625
605</body> 626</body>
606</subsection> 627</subsection>
607<subsection> 628<subsection>
608<title>Optional: Tweaking Hard Disk Performance</title> 629<title>Optional: Tweaking Hard Disk Performance</title>

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

  ViewVC Help
Powered by ViewVC 1.1.20