/[gentoo]/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-medium.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-install-x86+amd64-medium.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.14 Revision 1.15
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-x86+amd64-medium.xml,v 1.14 2008/04/20 00:25:13 nightmorph Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-medium.xml,v 1.15 2008/05/02 08:04:23 nightmorph Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<abstract> 11<abstract>
12You can install Gentoo in many ways. This chapter explains how to install 12You can install Gentoo in many ways. This chapter explains how to install
13Gentoo using the minimal Installation CD although installation through the 13Gentoo using the minimal Installation CD although installation through the
14Installer LiveCD is possible as well. 14Installer LiveCD is possible as well.
15</abstract> 15</abstract>
16 16
17<version>6.3</version> 17<version>6.4</version>
18<date>2008-04-19</date> 18<date>2008-05-02</date>
19 19
20<section> 20<section>
21<title>Hardware Requirements</title> 21<title>Hardware Requirements</title>
22<subsection> 22<subsection>
23<title>Introduction</title> 23<title>Introduction</title>
370</tr> 370</tr>
371</table> 371</table>
372 372
373<p> 373<p>
374You can also provide kernel options. They represent optional settings you can 374You can also provide kernel options. They represent optional settings you can
375(de)activate at will. The following options are available when you press F2 at 375(de)activate at will.
376the bootscreen.
377</p> 376</p>
378 377
379</body> 378</body>
380 379
381<body> 380<body>
416Now continue with <uri link="#hardware">Extra Hardware Configuration</uri>. 415Now continue with <uri link="#hardware">Extra Hardware Configuration</uri>.
417</p> 416</p>
418 417
419</body> 418</body>
420</subsection> 419</subsection>
421<subsection id="hardware">
422<title>Extra Hardware Configuration</title>
423<body>
424 420
425<p>
426When the Installation CD boots, it tries to detect all your hardware devices
427and loads the appropriate kernel modules to support your hardware. In the vast
428majority of cases, it does a very good job. However, in some cases it may not
429auto-load the kernel modules you need. If the PCI auto-detection missed some of
430your system's hardware, you will have to load the appropriate kernel modules
431manually.
432</p>
433
434<p>
435In the next example we try to load the <c>8139too</c> module (support for
436certain kinds of network interfaces):
437</p>
438
439<pre caption="Loading kernel modules">
440# <i>modprobe 8139too</i>
441</pre>
442
443</body>
444</subsection> 421<subsection>
422<include href="hb-install-bootconfig.xml"/>
445<subsection> 423</subsection>
446<title>Optional: Tweaking Hard Disk Performance</title>
447<body>
448 424
449<p>
450If you are an advanced user, you might want to tweak the IDE hard disk
451performance using <c>hdparm</c>. With the <c>-tT</c> options you can
452test the performance of your disk (execute it several times to get a
453more precise impression):
454</p>
455
456<pre caption="Testing disk performance">
457# <i>hdparm -tT /dev/hda</i>
458</pre>
459
460<p>
461To tweak, you can use any of the following examples (or experiment
462yourself) which use <path>/dev/hda</path> as disk (substitute with your
463disk):
464</p>
465
466<pre caption="Tweaking hard disk performance">
467<comment>(Activate DMA:)</comment>
468# <i>hdparm -d 1 /dev/hda</i>
469
470<comment>(Activate Safe Performance Options:)</comment>
471# <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i>
472</pre>
473
474</body>
475</subsection>
476<subsection id="useraccounts">
477<title>Optional: User Accounts</title>
478<body>
479
480<p>
481If you plan on giving other people access to your installation
482environment or you want to chat using <c>irssi</c> without root privileges (for
483security reasons), you need to create the necessary user accounts and change
484the root password.
485</p>
486
487<p>
488To change the root password, use the <c>passwd</c> utility:
489</p>
490
491<pre caption="Changing the root password">
492# <i>passwd</i>
493New password: <comment>(Enter your new password)</comment>
494Re-enter password: <comment>(Re-enter your password)</comment>
495</pre>
496
497<p>
498To create a user account, we first enter their credentials, followed by
499its password. We use <c>useradd</c> and <c>passwd</c> for these tasks.
500In the next example, we create a user called "john".
501</p>
502
503<pre caption="Creating a user account">
504# <i>useradd -m -G users john</i>
505# <i>passwd john</i>
506New password: <comment>(Enter john's password)</comment>
507Re-enter password: <comment>(Re-enter john's password)</comment>
508</pre>
509
510<p>
511You can change your user id from root to the newly created user by using
512<c>su</c>:
513</p>
514
515<pre caption="Changing user id">
516# <i>su - john</i>
517</pre>
518
519</body>
520</subsection>
521<subsection>
522<title>Optional: Viewing Documentation while Installing</title>
523<body>
524
525<p>
526If you want to view the Gentoo Handbook (either from-CD or online) during the
527installation, make sure you have created a user account (see <uri
528link="#useraccounts">Optional: User Accounts</uri>). Then press <c>Alt-F2</c> to
529go to a new terminal and log in.
530</p>
531
532<p>
533If you want to view the documentation on the CD you can immediately run
534<c>links</c> to read it:
535</p>
536
537<pre caption="Viewing the on-CD documentation">
538# <i>links /mnt/cdrom/docs/html/index.html</i>
539</pre>
540
541<p>
542However, it is preferred that you use the online Gentoo Handbook as it will be
543more recent than the one provided on the CD. You can view it using <c>links</c>
544as well, but only after having completed the <e>Configuring your Network</e>
545chapter (otherwise you won't be able to go on the Internet to view the
546document):
547</p>
548
549<pre caption="Viewing the Online Documentation">
550# <i>links http://www.gentoo.org/doc/en/handbook/<keyval id="online-book"/></i>
551</pre>
552
553<p>
554You can go back to your original terminal by pressing <c>Alt-F1</c>.
555</p>
556
557</body>
558</subsection>
559<subsection>
560<title>Optional: Starting the SSH Daemon</title>
561<body>
562
563<p>
564If you want to allow other users to access your computer during the
565Gentoo installation (perhaps because those users are going to help you
566install Gentoo, or even do it for you), you need to create a user
567account for them and perhaps even provide them with your root password
568(<e>only</e> do that <e>if</e> you <b>fully trust</b> that user).
569</p>
570
571<p>
572To fire up the SSH daemon, execute the following command:
573</p>
574
575<pre caption="Starting the SSH daemon">
576# <i>/etc/init.d/sshd start</i>
577</pre>
578
579<p>
580To be able to use sshd, you first need to set up your networking. Continue with
581the chapter on <uri link="?part=1&amp;chap=3">Configuring your Network</uri>.
582</p>
583
584</body>
585</subsection>
586</section> 425</section>
587</sections> 426</sections>

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

  ViewVC Help
Powered by ViewVC 1.1.20