/[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.6 Revision 1.7
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.6 2004/04/19 08:47:38 bennyc Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-medium.xml,v 1.7 2004/04/28 07:52:30 swift 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>
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 1 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 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 iBook, the PowerBook,
45 Xserve, PowerMac, ... We also provide limited support for oldworld systems, 45 Xserve, PowerMac, and bPlan's Pegasos I and II... We also provide limited
46 IBM (rs/6000, iSeries, zSeries, ...), Amiga and Pegasos systems. 46 support for oldworld systems, IBM (rs/6000, iSeries, zSeries, ...) and Amiga
47 Be sure to read up on the <uri link="/doc/en/gentoo-ppc-faq.xml">Gentoo PPC 47 systems. Be sure to read up on the <uri link="/doc/en/gentoo-ppc-faq.xml">Gentoo
48 FAQ</uri> too before you begin. 48 PPC FAQ</uri> too 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
245Now what do these LiveCDs contain? 245Now what do these LiveCDs contain?
246</p> 246</p>
247 247
248</body> 248</body>
249</subsection> 249</subsection>
250<subsection> 250<subsection>
251<title>Gentoo's Minimal LiveCD</title> 251<title>Gentoo's Minimal LiveCD</title>
252<body> 252<body>
253 253
254<p> 254<p>
255This is a small, no-nonsense, bootable CD which sole purpose is to boot the 255This is a small, no-nonsense, bootable CD which sole purpose is to boot the
256system, prepare the networking and continue with the Gentoo installation. It 256system, prepare the networking and continue with the Gentoo installation. It
257does not contain any stages (or, in some cases, a single stage1 file), 257does not contain any stages (or, in some cases, a single stage1 file),
258source code or precompiled packages. For example the ppc variant of this 258source code or precompiled packages. For example the ppc variant of this
259LiveCD can be found in the <path>universal</path> subdirectory and is called 259LiveCD can be found in the <path>universal</path> subdirectory and is called
260<c>install-ppc-minimal-2004.0.iso</c>. 260<c>install-ppc-minimal-2004.1.iso</c>.
261</p> 261</p>
262 262
263<table> 263<table>
264<tr> 264<tr>
265 <th>Minimal LiveCD</th> 265 <th>Minimal LiveCD</th>
266 <th>Pros and Cons</th> 266 <th>Pros and Cons</th>
267</tr> 267</tr>
268<tr> 268<tr>
269 <th>+</th> 269 <th>+</th>
270 <ti>Smallest download</ti> 270 <ti>Smallest download</ti>
271</tr> 271</tr>
272<tr> 272<tr>
273 <th>+</th> 273 <th>+</th>
274 <ti>Suitable for a complete architecture</ti> 274 <ti>Suitable for a complete architecture</ti>
275</tr> 275</tr>
287 suitable for networkless installation 287 suitable for networkless installation
288 </ti> 288 </ti>
289</tr> 289</tr>
290</table> 290</table>
291 291
292</body> 292</body>
293</subsection> 293</subsection>
294<subsection> 294<subsection>
295<title>Gentoo's Universal LiveCD</title> 295<title>Gentoo's Universal LiveCD</title>
296<body> 296<body>
297 297
298<p> 298<p>
299Gentoo's Universal LiveCD is a bootable CD suitable to install Gentoo without 299Gentoo's Universal LiveCD is a bootable CD suitable to install Gentoo without
300networking. It contains a stage1 and several stage3 tarballs (optimized for the 300networking. It contains a stage1 and several stage3 tarballs (optimized for the
301individual subarchitectures). For example the ppc variant of this CD is called 301individual subarchitectures). For example the ppc variant of this CD is called
302<c>install-ppc-universal-2004.0.iso</c> and can be found in the 302<c>install-ppc-universal-2004.1.iso</c> and can be found in the
303<path>universal</path> subdirectory. 303<path>universal</path> subdirectory.
304</p> 304</p>
305 305
306<p> 306<p>
307If you take a closer look into our <path>livecd</path> directory you will see 307If you take a closer look on our mirrors, you will see
308that some architectures provide <e>Gentoo Package CDs</e>. This CD (which isn't 308that we provide <e>Gentoo Package CDs</e>. This CD (which isn't
309bootable) only contains precompiled packages and can be used to install software 309bootable) only contains precompiled packages and can be used to install software
310after a succesfull Gentoo Installation. To install Gentoo, you only 310after a succesfull Gentoo Installation. To install Gentoo, you only
311need the Universal LiveCD, but if you want OpenOffice.org, Mozilla, KDE, GNOME 311need the Universal LiveCD, but if you want OpenOffice.org, Mozilla, KDE, GNOME
312etc. without having to compile every single one of them, you need the Packages 312etc. without having to compile every single one of them, you need the Packages
313CD too. For example the G4 (a subarchitecture of ppc) Packages CD is 313CD too. For example the G4 (a subarchitecture of ppc) Packages CD is
314called <c>packages-g4-2004.0.iso</c> and can be found in the appropriate 314called <c>packages-g4-2004.1.iso</c> and can be found in the appropriate
315subdirectory (<path>g4/</path>). 315subdirectory (<path>g4/</path>).
316</p> 316</p>
317 317
318<table> 318<table>
319<tr> 319<tr>
320 <th>Universal LiveCD with Packages CD</th> 320 <th>Universal LiveCD with Packages CD</th>
321 <th>Pros and Cons</th> 321 <th>Pros and Cons</th>
322</tr> 322</tr>
323<tr> 323<tr>
324 <th>+</th> 324 <th>+</th>
325 <ti>Packages CD is optimized to your architecture and subarchitecture</ti> 325 <ti>Packages CD is optimized to your architecture and subarchitecture</ti>
326</tr> 326</tr>
327<tr> 327<tr>
328 <th>+</th> 328 <th>+</th>
329 <ti> 329 <ti>
350<title>Download, Burn and Boot a Gentoo LiveCD</title> 350<title>Download, Burn and Boot a Gentoo LiveCD</title>
351<subsection> 351<subsection>
352<title>Downloading and Burning the LiveCDs</title> 352<title>Downloading and Burning the LiveCDs</title>
353<body> 353<body>
354 354
355<p> 355<p>
356You have chosen to use a Gentoo LiveCD (if not, then you are reading the 356You have chosen to use a Gentoo LiveCD (if not, then you are reading the
357wrong section). We'll first start by downloading and burning the chosen 357wrong section). We'll first start by downloading and burning the chosen
358LiveCD. We previously discussed the several available LiveCDs, but where can you 358LiveCD. We previously discussed the several available LiveCDs, but where can you
359find them? 359find them?
360</p> 360</p>
361 361
362<p> 362<p>
363Visit one of our <uri 363Visit one of our <uri
364link="/main/en/mirrors.xml">mirrors</uri> and go to 364link="/main/en/mirrors.xml">mirrors</uri> and go to
365<path>releases/ppc/2004.0/livecd/universal</path>, which is 365<path>releases/ppc/2004.1/livecd/universal</path>, which is
366the path where the LiveCD(s) of your choice are located. Inside that 366the path where the LiveCD(s) of your choice are located. Inside that
367directory you'll find so-called ISO-files. Those are full CD images 367directory you'll find so-called ISO-files. Those are full CD images
368which you can write on a CD-R. 368which you can write on a CD-R.
369</p> 369</p>
370 370
371<p> 371<p>
372In case you wonder if your downloaded file is corrupted or not, you can 372In case you wonder if your downloaded file is corrupted or not, you can
373check its MD5 checksum and compare it with the MD5 checksum we provide (such as 373check its MD5 checksum and compare it with the MD5 checksum we provide (such as
374<path>install-ppc-minimal-2004.0.iso.md5</path>). You can check the MD5 checksum 374<path>install-ppc-minimal-2004.1.iso.md5</path>). You can check the MD5 checksum
375with the <c>md5sum</c> tool under Linux/Unix or <uri 375with the <c>md5sum</c> tool under Linux/Unix or <uri
376link="http://www.md5summer.org">md5summer</uri> for Windows. 376link="http://www.md5summer.org">md5summer</uri> for Windows.
377</p> 377</p>
378 378
379<p> 379<p>
380To burn the downloaded ISO(s), you have to select raw-burning. How you 380To burn the downloaded ISO(s), you have to select raw-burning. How you
381do this is highly program-dependent. We will discuss a couple of popular 381do this is highly program-dependent. We will discuss a couple of popular
382tools on how to do this. 382tools on how to do this.
383</p> 383</p>
384 384
385<ul> 385<ul>
386 <li> 386 <li>
387 With EasyCD Creator you select <c>File</c>, <c>Record CD 387 With EasyCD Creator you select <c>File</c>, <c>Record CD
388 from CD image</c>. Then you change the <c>Files of type</c> to <c>ISO image 388 from CD image</c>. Then you change the <c>Files of type</c> to <c>ISO image
389 file</c>. Then locate the ISO file and click <c>Open</c>. When you click on 389 file</c>. Then locate the ISO file and click <c>Open</c>. When you click on
417 <li> 417 <li>
418 With Mac OS X Panther, launch <c>Disk Utility</c> from 418 With Mac OS X Panther, launch <c>Disk Utility</c> from
419 <path>Applications/Utilities</path>, select <c>Open</c> from the 419 <path>Applications/Utilities</path>, select <c>Open</c> from the
420 <c>Images</c> menu, select the mounted disk image in the main window and 420 <c>Images</c> menu, select the mounted disk image in the main window and
421 select <c>Burn</c> in the <c>Images</c> menu. 421 select <c>Burn</c> in the <c>Images</c> menu.
422 </li> 422 </li>
423 <li> 423 <li>
424 With Mac OS X Jaguar, launch <c>Disk Copy</c> from 424 With Mac OS X Jaguar, launch <c>Disk Copy</c> from
425 <path>Applications/Utilities</path>, select <c>Burn Image</c> from the 425 <path>Applications/Utilities</path>, select <c>Burn Image</c> from the
426 <c>File</c> menu, select the ISO and click the <c>Burn</c> button. 426 <c>File</c> menu, select the ISO and click the <c>Burn</c> button.
427 </li> 427 </li>
428</ul> 428</ul>
429 429
430</body> 430</body>
431</subsection> 431</subsection>
432</section>
432<subsection> 433<section>
433<title>Booting the PPC LiveCD(s)</title> 434<title>Booting the PPC LiveCD(s)</title>
435<subsection>
436<title>Default: Apple/IBM</title>
434<body> 437<body>
435 438
436<p> 439<p>
437Place the LiveCD in the CD-ROM and reboot the system. Hold down the 'C' key at 440Place the LiveCD in the CD-ROM and reboot the system. Hold down the 'C' key at
438bootup (or run an OldWorld bootloader like BootX or quik). You will be greeted 441bootup (or run an OldWorld bootloader like BootX or quik). You will be greeted
439by a friendly welcome message and a <e>boot:</e> prompt at the bottom of the 442by a friendly welcome message and a <e>boot:</e> prompt at the bottom of the
440screen. 443screen.
441</p> 444</p>
442 445
443<p> 446<p>
444At this prompt you are able to select a kernel for the subarchitecture you use. 447At this prompt you are able to select a kernel for the subarchitecture you use.
445We provide <c>G3</c>, <c>G3-SMP</c>, <c>G4</c>, <c>G4-SMP</c>, <c>G5</c> and 448We provide <c>G3</c>, <c>G3-SMP</c>, <c>G4</c>, <c>G4-SMP</c>, <c>G5</c>,
446<c>G5-SMP</c>. The various <c>-SMP</c> kernels are needed if your system has 449<c>G5-SMP</c> and <c>G</c>. The various <c>-SMP</c> kernels are needed if your
447multiple CPUs. 450system has multiple CPUs.
448</p> 451</p>
449 452
450<p> 453<p>
451You are also able to tweak some kernel options at this prompt. The following 454You are also able to tweak some kernel options at this prompt. The following
452table lists the available boot options you can add: 455table lists the available boot options you can add:
453</p> 456</p>
454 457
455<table> 458<table>
456<tr> 459<tr>
457 <th>Boot Option</th> 460 <th>Boot Option</th>
458 <th>Description</th> 461 <th>Description</th>
459</tr> 462</tr>
460<tr> 463<tr>
461 <ti><c>video</c></ti> 464 <ti><c>video</c></ti>
462 <ti> 465 <ti>
468 </ti> 471 </ti>
469</tr> 472</tr>
470<tr> 473<tr>
471 <ti><c>nol3</c></ti> 474 <ti><c>nol3</c></ti>
472 <ti> 475 <ti>
473 Disables level 3 cache on some powerbooks (needed for at least the 17'') 476 Disables level 3 cache on some powerbooks (needed for at least the 17'')
474 </ti> 477 </ti>
475</tr> 478</tr>
476<tr> 479<tr>
477 <ti><c>debug</c></ti> 480 <ti><c>debug</c></ti>
478 <ti> 481 <ti>
479 Enables verbose booting, spawns an initrd shell that can be used to debug 482 Enables verbose booting, spawns an initrd shell that can be used to debug
480 the LiveCD 483 the LiveCD
481 </ti> 484 </ti>
482</tr> 485</tr>
486<tr>
487 <ti><c>sleep=X</c></ti>
488 <ti>
489 Wait X seconds before continuing; this can be needed by some very old SCSI
490 CD-ROMs which don't speed up the CD quick enough
491 </ti>
492</tr>
493<tr>
494 <ti><c>bootfrom=X</c></ti>
495 <ti>
496 Boot from a different device
497 </ti>
498</tr>
483</table> 499</table>
484 500
485<p> 501<p>
486At this prompt, hit enter, and a complete Gentoo Linux environment will be 502At this prompt, hit enter, and a complete Gentoo Linux environment will be
487loaded from the CD. If you experience problems booting, choose the <c>-safe</c> 503loaded from the CD. Continue with <uri link="#booted">And When You're
488option at boot. The safe option passes the following extra arguments to the 504Booted...</uri>.
489kernel: <c>append="video=ofonly nol3 init=/linuxrc"</c>.
490</p>
491
492<p> 505</p>
493When the LiveCD is booted, you will be greeted with a login prompt. Log on as 506
494<c>root</c> (you don't need to enter a password). 507</body>
508</subsection>
509<subsection>
510<title>Alternative: Pegasos</title>
511<body>
512
495</p> 513<p>
496 514On the Pegasos simply insert the CD and at the SmartFirmware boot-prompt type
497<pre caption="Logging on onto the LiveCD"> 515<c>boot cd /boot/pegasos</c>. If you need any special boot options you can
498login: <i>root</i> 516append them to the command-line. For instance <c>boot cd /boot/pegasos
499</pre> 517video=radeonfb:1280x1024@75 mem=256M</c>.
500
501<p> 518</p>
502You should have a root ("#") prompt on the current console and can also switch 519
520</body>
521</subsection>
522<subsection id="booted">
523<title>And When You're Booted...</title>
524<body>
525
526<p>
527You will be greeted by a root ("#") prompt on the current console. You can also
503to other consoles by pressing Alt-fn-F2, Alt-fn-F3 and Alt-fn-F4. Get back to 528switch to other consoles by pressing Alt-fn-F2, Alt-fn-F3 and Alt-fn-F4. Get
504the one you started on by pressing Alt-fn-F1. 529back to the one you started on by pressing Alt-fn-F1.
505</p> 530</p>
506 531
507<p> 532<p>
508If you are installing Gentoo on a system with a non-US keyboard, use 533If you are installing Gentoo on a system with a non-US keyboard, use
509<c>loadkeys</c> to load the keymap for your keyboard. To list the available 534<c>loadkeys</c> to load the keymap for your keyboard. To list the available
510keymaps, execute <c>ls /usr/share/keymaps/i386</c>. 535keymaps, execute <c>ls /usr/share/keymaps/i386</c>.
511</p> 536</p>
512 537
513<pre caption="Listing available keymaps"> 538<pre caption="Listing available keymaps">
514<comment>(PPC uses x86 keymaps on most systems. The mac/ppc keymaps provided 539<comment>(PPC uses x86 keymaps on most systems. The mac/ppc keymaps provided
515 on the LiveCD are ADB keymaps and unusable with the LiveCD kernel)</comment> 540 on the LiveCD are ADB keymaps and unusable with the LiveCD kernel)</comment>
516# <i>ls /usr/share/keymaps/i386</i> 541# <i>ls /usr/share/keymaps/i386</i>
517</pre> 542</pre>
518 543
519<p> 544<p>
520Now load the keymap of your choice: 545Now load the keymap of your choice:
521</p> 546</p>
522 547
523<pre caption="Loading a keymap"> 548<pre caption="Loading a keymap">
524# <i>loadkeys be2-latin1</i> 549# <i>loadkeys be-latin1</i>
525</pre> 550</pre>
526 551
527<p> 552<p>
528Now continue with <uri link="#hardware">Extra Hardware Configuration</uri>. 553Now continue with <uri link="#hardware">Extra Hardware Configuration</uri>.
529</p> 554</p>
530 555
531</body> 556</body>
532</subsection> 557</subsection>
533<subsection id="hardware"> 558<subsection id="hardware">
534<title>Extra Hardware Configuration</title> 559<title>Extra Hardware Configuration</title>
535<body> 560<body>
536 561
537<p> 562<p>
538When the Live CD boots, it tries to detect all your hardware devices and 563When the Live CD boots, it tries to detect all your hardware devices and
539loads the appropriate kernel modules to support your hardware. In the 564loads the appropriate kernel modules to support your hardware. In the
540vast majority of cases, it does a very good job. However, in some cases (the 565vast majority of cases, it does a very good job. However, in some cases (the
541SPARC LiveCDs don't even do autodetection), it may not auto-load the kernel 566SPARC LiveCDs don't even do autodetection), it may not auto-load the kernel
542modules you need. If the PCI auto-detection missed some of your system's 567modules you need. If the PCI auto-detection missed some of your system's
543hardware, you will have to load the appropriate kernel modules manually. 568hardware, you will have to load the appropriate kernel modules manually.
544</p> 569</p>
545 570
546<p> 571<p>
547In the next example we try to load the <c>8139too</c> module (support for 572In the next example we try to load the <c>8139too</c> module (support for
548certain kinds of network interfaces): 573certain kinds of network interfaces):
549</p> 574</p>
550 575
551<pre caption="Loading kernel modules"> 576<pre caption="Loading kernel modules">
552# <i>modprobe 8139too</i> 577# <i>modprobe 8139too</i>
553</pre> 578</pre>
554 579
555<p>
556For instance, some PPC users might want to load <c>airport</c> or
557<c>sungem</c> (10/100 Mbit for most powerbooks). Thermal management for G5 is
558supported through the <c>therm_pm72</c> module.
559</p>
560
561</body> 580</body>
562</subsection> 581</subsection>
563<subsection> 582<subsection>
564<title>Optional: Tweaking Hard Disk Performance</title> 583<title>Optional: Tweaking Hard Disk Performance</title>
565<body> 584<body>
566 585
567<p> 586<p>
568If you are an advanced user, you might want to tweak the IDE hard disk 587If you are an advanced user, you might want to tweak the IDE hard disk
569performance using <c>hdparm</c>. With the <c>-tT</c> options you can 588performance using <c>hdparm</c>. With the <c>-tT</c> options you can
570test the performance of your disk (execute it several times to get a 589test the performance of your disk (execute it several times to get a
571more precise impression): 590more precise impression):
572</p> 591</p>
573 592
574<pre caption="Testing disk performance"> 593<pre caption="Testing disk performance">
575# <i>hdparm -tT /dev/hda</i> 594# <i>hdparm -tT /dev/hda</i>

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

  ViewVC Help
Powered by ViewVC 1.1.20