| … | |
… | |
| 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.13 2004/06/11 07:56:04 swift Exp $ --> |
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 $ --> |
| 8 | |
8 | |
| 9 | <sections> |
9 | <sections> |
| 10 | <section> |
10 | <section> |
| 11 | <title>Hardware Requirements</title> |
11 | <title>Hardware Requirements</title> |
| 12 | <subsection> |
12 | <subsection> |
| … | |
… | |
| 30 | continue with the Gentoo installation: |
30 | continue 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), if you do use prebuilt packages you need at least 64 MB of memory to boot the system. |
| 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 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> |
| … | |
… | |
| 251 | </subsection> |
251 | </subsection> |
| 252 | <subsection> |
252 | <subsection> |
| 253 | <title>Gentoo LiveCDs</title> |
253 | <title>Gentoo LiveCDs</title> |
| 254 | <body> |
254 | <body> |
| 255 | |
255 | |
|
|
256 | <note> |
|
|
257 | The Gentoo/PPC 2004.2 release is not official, so you will not find them on the |
|
|
258 | mirrors. All of our self-organised mirrors are currently down. The only chance |
|
|
259 | you can get the LiveCDs is via <uri |
|
|
260 | link="http://torrents.gentoo.org/torrents/">BitTorrent</uri>. |
|
|
261 | </note> |
|
|
262 | |
|
|
263 | <note> |
|
|
264 | It is known that the Pegasos II will not boot the 2004.2 LiveCD. Please use the |
|
|
265 | 2004.1 LiveCD. |
|
|
266 | </note> |
|
|
267 | |
| 256 | <p> |
268 | <p> |
| 257 | The <e>Gentoo LiveCDs</e> are bootable CDs which contain a |
269 | The <e>Gentoo LiveCDs</e> are bootable CDs which contain a |
| 258 | self-sustained Gentoo environment. They allow you to boot Linux from the CD. |
270 | self-sustained Gentoo environment. They allow you to boot Linux from the CD. |
| 259 | During the boot process your hardware is detected and the appropriate drivers |
271 | During the boot process your hardware is detected and the appropriate drivers |
| 260 | are loaded. They are maintained by Gentoo developers. |
272 | are loaded. They are maintained by Gentoo developers. |
| 261 | </p> |
273 | </p> |
| 262 | |
274 | |
| 263 | <p> |
275 | <p> |
| 264 | All LiveCDs allow you to boot, setup networking, initialize your |
276 | All LiveCDs allow you to boot, set up networking, initialize your |
| 265 | partitions and start installing Gentoo from the Internet. However, some |
277 | partitions and start installing Gentoo from the Internet. However, some |
| 266 | LiveCDs also contain all necessary source code so you are able to install |
278 | LiveCDs also contain all necessary source code so you are able to install |
| 267 | Gentoo without a working network configuration. |
279 | Gentoo without a working network configuration. |
| 268 | </p> |
280 | </p> |
| 269 | |
281 | |
| … | |
… | |
| 280 | <p> |
292 | <p> |
| 281 | This is a small, no-nonsense, bootable CD which sole purpose is to boot the |
293 | This is a small, no-nonsense, bootable CD which sole purpose is to boot the |
| 282 | system, prepare the networking and continue with the Gentoo installation. It |
294 | system, prepare the networking and continue with the Gentoo installation. It |
| 283 | does not contain any stages (or, in some cases, a single stage1 file), |
295 | does not contain any stages (or, in some cases, a single stage1 file), |
| 284 | source code or precompiled packages. For example the ppc variant of this |
296 | source code or precompiled packages. For example the ppc variant of this |
| 285 | LiveCD can be found in the <path>universal</path> subdirectory and is called |
297 | LiveCD can be found in the <path>livecd</path> subdirectory and is called |
| 286 | <c>install-ppc-minimal-2004.1.iso</c>. |
298 | <c>install-ppc-minimal-2004.2.iso</c>. |
| 287 | </p> |
299 | </p> |
| 288 | |
300 | |
| 289 | <table> |
301 | <table> |
| 290 | <tr> |
302 | <tr> |
| 291 | <th>Minimal LiveCD</th> |
303 | <th>Minimal LiveCD</th> |
| … | |
… | |
| 307 | </ti> |
319 | </ti> |
| 308 | </tr> |
320 | </tr> |
| 309 | <tr> |
321 | <tr> |
| 310 | <th>-</th> |
322 | <th>-</th> |
| 311 | <ti> |
323 | <ti> |
| 312 | Contains no stages, no portage snapshot, no GRP packages and therefore not |
324 | Contains no stages, no Portage snapshot, no GRP packages and therefore not |
| 313 | suitable for networkless installation |
325 | suitable for networkless installation |
| 314 | </ti> |
326 | </ti> |
| 315 | </tr> |
327 | </tr> |
| 316 | </table> |
328 | </table> |
| 317 | |
329 | |
| … | |
… | |
| 323 | |
335 | |
| 324 | <p> |
336 | <p> |
| 325 | Gentoo's Universal LiveCD is a bootable CD suitable to install Gentoo without |
337 | Gentoo's Universal LiveCD is a bootable CD suitable to install Gentoo without |
| 326 | networking. It contains a stage1 and several stage3 tarballs (optimized for the |
338 | networking. It contains a stage1 and several stage3 tarballs (optimized for the |
| 327 | individual subarchitectures). For example the ppc variant of this CD is called |
339 | individual 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 |
340 | <c>install-ppc-universal-2004.2.iso</c> and can be found in the |
| 329 | <path>universal</path> subdirectory. |
341 | <path>livecd</path> subdirectory. |
| 330 | </p> |
342 | </p> |
| 331 | |
343 | |
| 332 | <p> |
344 | <p> |
| 333 | If you take a closer look on our mirrors, you will see |
345 | If you take a closer look on our mirrors, you will see |
| 334 | that we provide <e>Gentoo Package CDs</e>. This CD (which isn't |
346 | that we provide <e>Gentoo Package CDs</e>. This CD (which isn't |
| 335 | bootable) only contains precompiled packages and can be used to install software |
347 | bootable) only contains precompiled packages and can be used to install software |
| 336 | after a succesfull Gentoo Installation. To install Gentoo, you only |
348 | after a succesfull Gentoo Installation. To install Gentoo, you only |
| 337 | need the Universal LiveCD, but if you want OpenOffice.org, Mozilla, KDE, GNOME |
349 | need the Universal LiveCD, but if you want OpenOffice.org, Mozilla, KDE, GNOME |
| 338 | etc. without having to compile every single one of them, you need the Packages |
350 | etc. without having to compile every single one of them, you need the Packages |
| 339 | CD too. For example the G4 (a subarchitecture of ppc) Packages CD is |
351 | CD too. For example the G4 (a subarchitecture of ppc) Packages CD is |
| 340 | called <c>packages-g4-2004.1.iso</c> and can be found in the appropriate |
352 | called <c>packages-g4-2004.2.iso</c> and can be found in the appropriate |
| 341 | subdirectory (<path>g4/</path>). |
353 | subdirectory (<path>g4/</path>). |
| 342 | </p> |
354 | </p> |
| 343 | |
355 | |
| 344 | <p> |
356 | <p> |
| 345 | You only need the Packages CD if you want to perform a stage3 with GRP |
357 | You only need the Packages CD if you want to perform a stage3 with GRP |
| … | |
… | |
| 391 | </p> |
403 | </p> |
| 392 | |
404 | |
| 393 | <p> |
405 | <p> |
| 394 | Visit one of our <uri |
406 | Visit one of our <uri |
| 395 | link="/main/en/mirrors.xml">mirrors</uri> and go to |
407 | link="/main/en/mirrors.xml">mirrors</uri> and go to |
| 396 | <path>releases/ppc/2004.1/livecd/universal</path>, which is |
408 | <path>releases/ppc/2004.2/livecd</path>, which is |
| 397 | the path where the LiveCD(s) of your choice are located. Inside that |
409 | the path where the LiveCD(s) of your choice are located. Inside that |
| 398 | directory you'll find so-called ISO-files. Those are full CD images |
410 | directory you'll find so-called ISO-files. Those are full CD images |
| 399 | which you can write on a CD-R. |
411 | which you can write on a CD-R. |
| 400 | </p> |
412 | </p> |
| 401 | |
413 | |
| 402 | <p> |
414 | <p> |
| 403 | In case you wonder if your downloaded file is corrupted or not, you can |
415 | In case you wonder if your downloaded file is corrupted or not, you can |
| 404 | check its MD5 checksum and compare it with the MD5 checksum we provide (such as |
416 | check 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 |
417 | <path>install-ppc-minimal-2004.2.iso.md5</path>). You can check the MD5 checksum |
| 406 | with the <c>md5sum</c> tool under Linux/Unix or <uri |
418 | with the <c>md5sum</c> tool under Linux/Unix or <uri |
| 407 | link="http://www.md5summer.org">md5summer</uri> for Windows. |
419 | link="http://www.etree.org/md5com.html">md5sum</uri> for Windows. |
| 408 | </p> |
|
|
| 409 | |
|
|
| 410 | <p> |
420 | </p> |
| 411 | Another way to check the validity of the downloaded file is to use GnuPG to |
421 | |
| 412 | verify the cryptographic signature that we provide (the file ending with |
|
|
| 413 | <path>.asc</path>). Download the signature file and obtain the public key: |
|
|
| 414 | </p> |
422 | <p> |
| 415 | |
423 | As long as Mac OS X does not support <c>md5sum</c> you have to use the md5 |
| 416 | <pre caption="Obtaining the public key"> |
424 | capability of <c>openssl</c>. Therefore type in Terminal.app: |
| 417 | $ <i>gpg --keyserver pgp.mit.edu --recv-keys 19462D47</i> |
|
|
| 418 | </pre> |
|
|
| 419 | |
|
|
| 420 | <p> |
425 | </p> |
| 421 | Now verify the signature: |
426 | |
|
|
427 | <pre caption="md5sum with the help of openssl"> |
|
|
428 | $ <i>openssl md5 /path/to/iso</i> |
|
|
429 | <comment>This could take some time depending of the size of the ISO and your CPU</comment> |
|
|
430 | </pre> |
|
|
431 | |
| 422 | </p> |
432 | <p> |
| 423 | |
433 | Now compare this output with the appropriate file found on the server where you |
| 424 | <pre caption="Verify the cryptographic signature"> |
434 | downloaded the ISO (the file will end with .md5). If it is the same, the ISO |
| 425 | $ <i>gpg --verify <signature file> <downloaded iso></i> |
435 | image downloaded correctly. Be sure you have not mounted it (e.g. with Disk |
| 426 | <comment>(If everything goes well, you should see something like this:)</comment> |
436 | Copy) yet! |
| 427 | gpg: Signature made Mon Apr 19 18:54:40 2004 EDT using DSA key ID 19462D47 |
|
|
| 428 | gpg: Good signature from "John Davis (Gentoo Linux Developer) <zhen@gentoo.org>" |
|
|
| 429 | gpg: aka "Gentoo Linux Release Engineering <releng@gentoo.org>" |
|
|
| 430 | </pre> |
437 | </p> |
|
|
438 | |
|
|
439 | <p> |
|
|
440 | More information are available in our <uri |
|
|
441 | link="/doc/en/gentoo-ppc-faq.xml">PPC FAQ.</uri> |
|
|
442 | </p> |
| 431 | |
443 | |
| 432 | <p> |
444 | <p> |
| 433 | To burn the downloaded ISO(s), you have to select raw-burning. How you |
445 | To burn the downloaded ISO(s), you have to select raw-burning. How you |
| 434 | do this is highly program-dependent. We will discuss a couple of popular |
446 | do this is highly program-dependent. We will discuss <c>cdrecord</c>, |
| 435 | tools on how to do this. |
447 | <c>k3b</c> and the MacOS burning possibilities here; more information can |
|
|
448 | be found in our <uri link="/doc/en/faq.xml#isoburning">Gentoo FAQ</uri> and |
|
|
449 | the <uri link="/doc/en/gentoo-ppc-faq.xml">PPC FAQ</uri>. |
| 436 | </p> |
450 | </p> |
| 437 | |
451 | |
| 438 | <ul> |
452 | <ul> |
| 439 | <li> |
|
|
| 440 | With EasyCD Creator you select <c>File</c>, <c>Record CD |
|
|
| 441 | from CD image</c>. Then you change the <c>Files of type</c> to <c>ISO image |
|
|
| 442 | file</c>. Then locate the ISO file and click <c>Open</c>. When you click on |
|
|
| 443 | <c>Start recording</c> the ISO image will be burned correctly onto the CD-R. |
|
|
| 444 | </li> |
|
|
| 445 | <li> |
|
|
| 446 | With Nero Burning ROM, select <c>File</c>, <c>Burn CD image</c>. Set the |
|
|
| 447 | type of file to <c>*.*</c> and select the ISO file. Older versions of Nero |
|
|
| 448 | will tell you they don't recognize the format -- confirm here, it does |
|
|
| 449 | recognize it but doesn't know it yet :) In the next dialog, set the |
|
|
| 450 | following parameters: |
|
|
| 451 | <ul> |
|
|
| 452 | <li>Type of image: <c>Data Mode 1</c></li> |
|
|
| 453 | <li>Block size: <c>2048 bytes</c></li> |
|
|
| 454 | <li>File precursor and length of the image trailer: <c>0 bytes</c></li> |
|
|
| 455 | <li>Scrambled: <c>no</c></li> |
|
|
| 456 | <li>Swapped: <c>no</c></li> |
|
|
| 457 | </ul> |
|
|
| 458 | Now click on <c>OK</c> and then <c>Burn</c> (the CD-R) |
|
|
| 459 | </li> |
|
|
| 460 | <li> |
453 | <li> |
| 461 | With cdrecord, you simply type <c>cdrecord dev=/dev/hdc</c> (replace |
454 | With cdrecord, you simply type <c>cdrecord dev=/dev/hdc</c> (replace |
| 462 | <path>/dev/hdc</path> with your CD-RW drive's device path) followed |
455 | <path>/dev/hdc</path> with your CD-RW drive's device path) followed |
| 463 | by the path to the ISO file :) |
456 | by the path to the ISO file :) |
| 464 | </li> |
457 | </li> |
| 465 | <li> |
458 | <li> |
| 466 | With K3B, select <c>Tools</c> > <c>CD</c> > <c>Burn Image</c>. Then |
459 | With k3b, select <c>Tools</c> > <c>CD</c> > <c>Burn Image</c>. Then |
| 467 | you can locate your ISO file within the 'Image to Burn' area. Finally click |
460 | you can locate your ISO file within the 'Image to Burn' area. Finally click |
| 468 | <c>Start</c>. |
461 | <c>Start</c>. |
| 469 | </li> |
462 | </li> |
| 470 | <li> |
463 | <li> |
| 471 | With Mac OS X Panther, launch <c>Disk Utility</c> from |
464 | With Mac OS X Panther, launch <c>Disk Utility</c> from |
| 472 | <path>Applications/Utilities</path>, select <c>Open</c> from the |
465 | <path>Applications/Utilities</path>, select <c>Open</c> from the |
| 473 | <c>Images</c> menu, select the mounted disk image in the main window and |
466 | <c>Images</c> menu, select the mounted disk image in the main window and |
| 474 | select <c>Burn</c> in the <c>Images</c> menu. |
467 | select <c>Burn</c> in the <c>Images</c> menu. |
| 475 | </li> |
468 | </li> |
| 476 | <li> |
469 | <li> |
| 477 | With Mac OS X Jaguar, launch <c>Disk Copy</c> from |
470 | With Mac OS X Jaguar, launch <c>Disk Copy</c> from |
| 478 | <path>Applications/Utilities</path>, select <c>Burn Image</c> from the |
471 | <path>Applications/Utilities</path>, select <c>Burn Image</c> from the |
| … | |
… | |
| 488 | <subsection> |
481 | <subsection> |
| 489 | <title>Default: Apple/IBM</title> |
482 | <title>Default: Apple/IBM</title> |
| 490 | <body> |
483 | <body> |
| 491 | |
484 | |
| 492 | <p> |
485 | <p> |
| 493 | Place the LiveCD in the CD-ROM and reboot the system. Hold down the 'C' key at |
486 | On NewWorld machines place the LiveCD in the CD-ROM and reboot the system. When |
| 494 | bootup (or run an OldWorld bootloader like BootX or quik). You will be greeted |
487 | the system-start-bell sounds, simply hold down the 'C' until the CD loads. |
| 495 | by a friendly welcome message and a <e>boot:</e> prompt at the bottom of the |
488 | </p> |
| 496 | screen. |
489 | |
|
|
490 | <p> |
|
|
491 | If you have an OldWorld Mac the bootable portion of the livecd can't be used. |
|
|
492 | Instead you need to download <uri |
|
|
493 | link="http://penguinppc.org/projects/bootx/">BootX</uri> and have a working |
|
|
494 | MacOS installed on your system. You need to copy the <c>BootX Extension</c> from |
|
|
495 | the unpacked archive-file into the <c>Extensions Folder</c> and make a new |
|
|
496 | directory called <c>Linux Kernels</c> in the System Folder. In the next step you |
|
|
497 | need to copy the <c>G3</c> kernel and the <c>initrd.img.gz</c> from the LiveCD |
|
|
498 | into the <c>Linux Kernels</c> directory. Then reboot the system and wait for |
|
|
499 | BootX to load. After BootX loaded you still have to set up a few items. In the |
|
|
500 | options 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 |
|
|
502 | ramdisk size should be set to at least <c>32000</c>. Furthermore the kernel |
|
|
503 | argument needs to be set to <c>rw init=/linuxrc cdroot</c>. Eventually you are |
|
|
504 | able to boot the LiveCD when you select Linux on Startup. |
|
|
505 | </p> |
|
|
506 | |
|
|
507 | <p> |
|
|
508 | After the LiveCD loaded, you will be greeted by a friendly welcome message and a |
|
|
509 | <e>boot:</e> prompt at the bottom of the screen. |
| 497 | </p> |
510 | </p> |
| 498 | |
511 | |
| 499 | <p> |
512 | <p> |
| 500 | At this prompt you are able to select a kernel for the subarchitecture you use. |
513 | At this prompt you are able to select a kernel for the subarchitecture you use. |
| 501 | We provide <c>G3</c>, <c>G3-SMP</c>, <c>G4</c>, <c>G4-SMP</c>, <c>G5</c>, |
514 | We provide <c>G3</c>, <c>G4</c> and <c>G5</c>. All kernels are built with |
| 502 | <c>G5-SMP</c> and <c>G</c>. The various <c>-SMP</c> kernels are needed if your |
515 | support for multiple CPUs, but they will boot on single processor machines as |
| 503 | system has multiple CPUs. |
516 | well. |
| 504 | </p> |
517 | </p> |
| 505 | |
518 | |
| 506 | <p> |
519 | <p> |
| 507 | You are also able to tweak some kernel options at this prompt. The following |
520 | You are also able to tweak some kernel options at this prompt. The following |
| 508 | table lists the available boot options you can add: |
521 | table lists the available boot options you can add: |
| … | |
… | |
| 524 | </ti> |
537 | </ti> |
| 525 | </tr> |
538 | </tr> |
| 526 | <tr> |
539 | <tr> |
| 527 | <ti><c>nol3</c></ti> |
540 | <ti><c>nol3</c></ti> |
| 528 | <ti> |
541 | <ti> |
| 529 | Disables level 3 cache on some powerbooks (needed for at least the 17'') |
542 | Disables level 3 cache on some PowerBooks (needed for at least the 17") |
| 530 | </ti> |
543 | </ti> |
| 531 | </tr> |
544 | </tr> |
| 532 | <tr> |
545 | <tr> |
| 533 | <ti><c>debug</c></ti> |
546 | <ti><c>debug</c></ti> |
| 534 | <ti> |
547 | <ti> |
| … | |
… | |
| 584 | </p> |
597 | </p> |
| 585 | |
598 | |
| 586 | <p> |
599 | <p> |
| 587 | If you are installing Gentoo on a system with a non-US keyboard, use |
600 | If you are installing Gentoo on a system with a non-US keyboard, use |
| 588 | <c>loadkeys</c> to load the keymap for your keyboard. To list the available |
601 | <c>loadkeys</c> to load the keymap for your keyboard. To list the available |
| 589 | keymaps, execute <c>ls /usr/share/keymaps/i386</c>. |
602 | keymaps, execute <c>ls /usr/share/keymaps/i386</c>. Do not use the keymaps in |
|
|
603 | <path>ppc</path> or <path>mac</path> as they are for ADB-based OldWorld |
|
|
604 | machines. |
| 590 | </p> |
605 | </p> |
| 591 | |
606 | |
| 592 | <pre caption="Listing available keymaps"> |
607 | <pre caption="Listing available keymaps"> |
| 593 | <comment>(PPC uses x86 keymaps on most systems. The mac/ppc keymaps provided |
608 | <comment>(PPC uses x86 keymaps on most systems. The mac/ppc keymaps provided |
| 594 | on the LiveCD are ADB keymaps and unusable with the LiveCD kernel)</comment> |
609 | on the LiveCD are ADB keymaps and unusable with the LiveCD kernel)</comment> |
| … | |
… | |
| 612 | <subsection id="hardware"> |
627 | <subsection id="hardware"> |
| 613 | <title>Extra Hardware Configuration</title> |
628 | <title>Extra Hardware Configuration</title> |
| 614 | <body> |
629 | <body> |
| 615 | |
630 | |
| 616 | <p> |
631 | <p> |
| 617 | When the Live CD boots, it tries to detect all your hardware devices and |
632 | When the LiveCD boots, it tries to detect all your hardware devices and |
| 618 | loads the appropriate kernel modules to support your hardware. In the |
633 | loads the appropriate kernel modules to support your hardware. In the |
| 619 | vast majority of cases, it does a very good job. However, in some cases (the |
634 | vast majority of cases, it does a very good job. However, in some cases, it may |
| 620 | SPARC LiveCDs don't even do autodetection), it may not auto-load the kernel |
635 | not auto-load the kernel modules you need. If the PCI auto-detection missed some |
| 621 | modules you need. If the PCI auto-detection missed some of your system's |
|
|
| 622 | hardware, you will have to load the appropriate kernel modules manually. |
636 | of your system's hardware, you will have to load the appropriate kernel modules |
|
|
637 | manually. |
| 623 | </p> |
638 | </p> |
| 624 | |
639 | |
| 625 | <p> |
640 | <p> |
| 626 | In the next example we try to load the <c>8139too</c> module (support for |
641 | In the next example we try to load the <c>8139too</c> module (support for |
| 627 | certain kinds of network interfaces): |
642 | certain kinds of network interfaces): |
| … | |
… | |
| 659 | <comment>Activate DMA + Safe Performance-enhancing Options:</comment> # <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i> |
674 | <comment>Activate DMA + Safe Performance-enhancing Options:</comment> # <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i> |
| 660 | </pre> |
675 | </pre> |
| 661 | |
676 | |
| 662 | </body> |
677 | </body> |
| 663 | </subsection> |
678 | </subsection> |
| 664 | <subsection> |
679 | <subsection id="useraccounts"> |
| 665 | <title>Optional: User Accounts</title> |
680 | <title>Optional: User Accounts</title> |
| 666 | <body> |
681 | <body> |
| 667 | |
682 | |
| 668 | <p> |
683 | <p> |
| 669 | If you plan on giving other people access to your installation |
684 | If you plan on giving other people access to your installation |
| … | |
… | |
| 687 | its password. We use <c>useradd</c> and <c>passwd</c> for these tasks. |
702 | its password. We use <c>useradd</c> and <c>passwd</c> for these tasks. |
| 688 | In the next example, we create a user called "john". |
703 | In the next example, we create a user called "john". |
| 689 | </p> |
704 | </p> |
| 690 | |
705 | |
| 691 | <pre caption="Creating a user account"> |
706 | <pre caption="Creating a user account"> |
| 692 | # <i>useradd john</i> |
707 | # <i>useradd -m -G users john</i> |
| 693 | # <i>passwd john</i> |
708 | # <i>passwd john</i> |
| 694 | New password: <comment>(Enter john's password)</comment> |
709 | New password: <comment>(Enter john's password)</comment> |
| 695 | Re-enter password: <comment>(Re-enter john's password)</comment> |
710 | Re-enter password: <comment>(Re-enter john's password)</comment> |
| 696 | </pre> |
711 | </pre> |
| 697 | |
712 | |
| … | |
… | |
| 699 | You can change your user id from root to the newly created user by using |
714 | You can change your user id from root to the newly created user by using |
| 700 | <c>su</c>: |
715 | <c>su</c>: |
| 701 | </p> |
716 | </p> |
| 702 | |
717 | |
| 703 | <pre caption="Changing user id"> |
718 | <pre caption="Changing user id"> |
| 704 | # <i>su john -</i> |
719 | # <i>su - john</i> |
|
|
720 | </pre> |
|
|
721 | |
|
|
722 | </body> |
|
|
723 | </subsection> |
|
|
724 | <subsection> |
|
|
725 | <title>Optional: Viewing Documentation while Installing</title> |
|
|
726 | <body> |
|
|
727 | |
|
|
728 | <p> |
|
|
729 | If you want to view the Gentoo Handbook (either from-CD or online) during the |
|
|
730 | installation, make sure you have created a user account (see <uri |
|
|
731 | link="#useraccouts">Optional: User Accounts</uri>). Then press <c>Alt-F2</c> to |
|
|
732 | go to a new terminal and log in. |
| 705 | </pre> |
733 | </p> |
|
|
734 | |
|
|
735 | <p> |
|
|
736 | If you want to view the documentation on the CD you can immediately run |
|
|
737 | <c>links2</c> to read it: |
|
|
738 | </p> |
|
|
739 | |
|
|
740 | <pre caption="Viewing the on-CD documentation"> |
|
|
741 | # <i>links2 /mnt/cdrom/docs/html/index.html</i> |
|
|
742 | </pre> |
|
|
743 | |
|
|
744 | <p> |
|
|
745 | However, it is preferred that you use the online Gentoo Handbook as it will be |
|
|
746 | more recent than the one provided on the CD. You can view it using <c>links2</c> |
|
|
747 | as well, but only after having completed the <e>Configuring your Network</e> |
|
|
748 | chapter (otherwise you won't be able to go on the Internet to view the |
|
|
749 | document): |
|
|
750 | </p> |
|
|
751 | |
|
|
752 | <pre caption="Viewing the Online Documentation"> |
|
|
753 | # <i>links2 http://www.gentoo.org/doc/en/handbook/handbook-ppc.xml</i> |
|
|
754 | </pre> |
|
|
755 | |
|
|
756 | <p> |
|
|
757 | You can go back to your original terminal by pressing <c>Alt-F1</c>. |
|
|
758 | </p> |
| 706 | |
759 | |
| 707 | </body> |
760 | </body> |
| 708 | </subsection> |
761 | </subsection> |
| 709 | <subsection> |
762 | <subsection> |
| 710 | <title>Optional: Starting the SSH Daemon</title> |
763 | <title>Optional: Starting the SSH Daemon</title> |
| … | |
… | |
| 725 | <pre caption="Starting the SSH daemon"> |
778 | <pre caption="Starting the SSH daemon"> |
| 726 | # <i>/etc/init.d/sshd start</i> |
779 | # <i>/etc/init.d/sshd start</i> |
| 727 | </pre> |
780 | </pre> |
| 728 | |
781 | |
| 729 | <p> |
782 | <p> |
| 730 | To be able to use sshd, you first need to setup your networking. Continue with |
783 | To be able to use sshd, you first need to set up your networking. Continue with |
| 731 | the chapter on <uri link="?part=1&chap=3">Configuring your Network</uri>. |
784 | the chapter on <uri link="?part=1&chap=3">Configuring your Network</uri>. |
| 732 | </p> |
785 | </p> |
| 733 | |
786 | |
| 734 | </body> |
787 | </body> |
| 735 | </subsection> |
788 | </subsection> |