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/2.5 --> |
5 | <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
6 | |
6 | |
7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.69 2005/06/28 12:28:00 neysx Exp $ --> |
7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.70 2005/08/09 09:43:58 swift Exp $ --> |
8 | |
8 | |
9 | <sections> |
9 | <sections> |
10 | |
10 | |
11 | <version>2.10</version> |
11 | <version>2.11</version> |
12 | <date>2005-06-28</date> |
12 | <date>2005-08-09</date> |
13 | |
13 | |
14 | <section> |
14 | <section> |
15 | <title>Filesystem Information</title> |
15 | <title>Filesystem Information</title> |
16 | <subsection> |
16 | <subsection> |
17 | <title>What is fstab?</title> |
17 | <title>What is fstab?</title> |
18 | <body> |
18 | <body> |
19 | |
19 | |
20 | <p> |
20 | <p> |
21 | Under Linux, all partitions used by the system must be listed in |
21 | Under Linux, all partitions used by the system must be listed in |
22 | <path>/etc/fstab</path>. This file contains the mountpoints of those partitions |
22 | <path>/etc/fstab</path>. This file contains the mountpoints of those partitions |
23 | (where they are seen in the file system structure), how they should be mounted |
23 | (where they are seen in the file system structure), how they should be mounted |
24 | and with what special options (automatically or not, whether users can mount |
24 | and with what special options (automatically or not, whether users can mount |
25 | them or not, etc.) |
25 | them or not, etc.) |
26 | </p> |
26 | </p> |
27 | |
27 | |
… | |
… | |
464 | Gentoo uses <path>/etc/conf.d/keymaps</path> to handle keyboard configuration. |
464 | Gentoo uses <path>/etc/conf.d/keymaps</path> to handle keyboard configuration. |
465 | Edit it to configure your keyboard. |
465 | Edit it to configure your keyboard. |
466 | </p> |
466 | </p> |
467 | |
467 | |
468 | <pre caption="Opening /etc/conf.d/keymaps"> |
468 | <pre caption="Opening /etc/conf.d/keymaps"> |
469 | # <i>nano -w /etc/conf.d/keymaps</i> |
469 | # <i>nano -w /etc/conf.d/keymaps</i> |
470 | </pre> |
470 | </pre> |
471 | |
471 | |
472 | <p> |
472 | <p> |
473 | Take special care with the <c>KEYMAP</c> variable. If you select the wrong |
473 | Take special care with the <c>KEYMAP</c> variable. If you select the wrong |
474 | <c>KEYMAP</c>, you will get weird results when typing on your keyboard. |
474 | <c>KEYMAP</c>, you will get weird results when typing on your keyboard. |
475 | </p> |
475 | </p> |
476 | |
476 | |
477 | <note> |
477 | <note> |
478 | Users of USB-based <b>SPARC</b> systems and <b>SPARC</b> clones might need to |
478 | Users of USB-based <b>SPARC</b> systems and <b>SPARC</b> clones might need to |
479 | select an i386 keymap (such as "us") instead of "sunkeymap". |
479 | select an i386 keymap (such as "us") instead of "sunkeymap". <b>PPC</b> uses x86 |
|
|
480 | keymaps on most systems. Users who want to be able to use ADB keymaps on boot |
|
|
481 | have to enable ADB keycode sendings in their kernel and have to set a mac/ppc |
|
|
482 | keymap in <path>/etc/conf.d/keymaps</path>. |
480 | </note> |
483 | </note> |
481 | |
|
|
482 | <p> |
|
|
483 | <b>PPC</b> uses x86 keymaps on most systems. Users who want to be able to use |
|
|
484 | ADB keymaps on boot have to enable ADB keycode sendings in their kernel and have |
|
|
485 | to set a mac/ppc keymap in <path>/etc/conf.d/keymaps</path>. |
|
|
486 | </p> |
|
|
487 | |
484 | |
488 | <p> |
485 | <p> |
489 | When you're finished configuring <path>/etc/conf.d/keymaps</path>, save and |
486 | When you're finished configuring <path>/etc/conf.d/keymaps</path>, save and |
490 | exit. |
487 | exit. |
491 | </p> |
488 | </p> |
492 | |
489 | |
493 | <p> |
490 | <p> |
494 | Gentoo uses <path>/etc/conf.d/clock</path> to set clock options. Edit it |
491 | Gentoo uses <path>/etc/conf.d/clock</path> to set clock options. Edit it |
495 | according to your needs. |
492 | according to your needs. |
496 | </p> |
493 | </p> |
497 | |
494 | |
498 | <pre caption="Opening /etc/conf.d/clock"> |
495 | <pre caption="Opening /etc/conf.d/clock"> |
499 | # <i>nano -w /etc/conf.d/clock</i> |
496 | # <i>nano -w /etc/conf.d/clock</i> |
500 | </pre> |
497 | </pre> |
501 | |
498 | |
502 | <p> |
499 | <p> |
503 | If your hardware clock is not using UTC, you need to add <c>CLOCK="local"</c> to |
500 | If your hardware clock is not using UTC, you need to add <c>CLOCK="local"</c> to |
504 | the file. Otherwise you will notice some clock skew. |
501 | the file. Otherwise you will notice some clock skew. |
505 | </p> |
502 | </p> |
506 | |
503 | |
507 | <p> |
504 | <p> |
508 | When you're finished configuring <path>/etc/conf.d/clock</path>, save and |
505 | When you're finished configuring <path>/etc/conf.d/clock</path>, save and |
509 | exit. |
506 | exit. |
510 | </p> |
507 | </p> |
511 | |
508 | |
512 | <p> |
509 | <p> |
513 | If you are not installing Gentoo on an IBM POWER5 or JS20 system, continue with |
510 | If you are not installing Gentoo on IBM PPC64 hardware, continue with |
514 | <uri link="?part=1&chap=9">Installing Necessary System Tools</uri>. |
511 | <uri link="?part=1&chap=9">Installing Necessary System Tools</uri>. |
515 | </p> |
512 | </p> |
516 | |
513 | |
517 | </body> |
514 | </body> |
518 | </subsection> |
515 | </subsection> |
519 | <subsection> |
516 | <subsection> |
520 | <title>Configuring the Console</title> |
517 | <title>Configuring the Console</title> |
521 | <body> |
518 | <body> |
522 | |
519 | |
523 | <note> |
520 | <note> |
524 | The following section applies to the IBM POWER5 and JS20 hardware platforms. |
521 | The following section applies to the IBM PPC64 hardware platforms. |
525 | </note> |
522 | </note> |
526 | |
523 | |
527 | <p> |
524 | <p> |
528 | If you are running Gentoo in an LPAR or on a JS20 blade, you must uncomment the |
525 | If you are running Gentoo on IBM PPC64 hardware and using a virtual console |
529 | hvc line in <path>/etc/inittab</path> for the virtual console to spawn a login |
526 | you must uncomment the appropriate line in <path>/etc/inittab</path> for the |
530 | prompt. |
527 | virtual console to spawn a login prompt. |
531 | </p> |
528 | </p> |
532 | |
529 | |
533 | <pre caption="Enabling hvc support in /etc/inittab"> |
530 | <pre caption="Enabling hvc or hvsi support in /etc/inittab"> |
534 | hvc:12345:respawn:/sbin/agetty -nl /bin/bashlogin 9600 hvc0 vt220 |
531 | hvc0:12345:respawn:/sbin/agetty -L 9600 hvc0 |
|
|
532 | hvsi:12345:respawn:/sbin/agetty -L 19200 hvsi0 |
|
|
533 | </pre> |
|
|
534 | |
|
|
535 | <p> |
|
|
536 | You should also take this time to verify that the appropriate console is |
|
|
537 | listed in /etc/securetty. |
535 | </pre> |
538 | </p> |
536 | |
539 | |
537 | <p> |
540 | <p> |
538 | You may now continue with <uri link="?part=1&chap=9">Installing Necessary |
541 | You may now continue with <uri link="?part=1&chap=9">Installing Necessary |
539 | System Tools</uri>. |
542 | System Tools</uri>. |
540 | </p> |
543 | </p> |
541 | |
544 | |
542 | </body> |
545 | </body> |
543 | </subsection> |
546 | </subsection> |
544 | </section> |
547 | </section> |
545 | </sections> |
548 | </sections> |