/[gentoo]/xml/htdocs/doc/en/gentoo-x86-install.xml
Gentoo

Diff of /xml/htdocs/doc/en/gentoo-x86-install.xml

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

Revision 1.114 Revision 1.115
49 Linux 1.4_rc4. The Gentoo Linux installation process supports various installation 49 Linux 1.4_rc4. The Gentoo Linux installation process supports various installation
50 approaches, depending upon how much of the system you want to custom-build from 50 approaches, depending upon how much of the system you want to custom-build from
51 scratch. 51 scratch.
52 </abstract> 52 </abstract>
53<version>2.6.1</version> 53<version>2.6.1</version>
54 <date>7 May 2003</date> 54 <date>8 May 2003</date>
55 <chapter> 55 <chapter>
56 <title>About the Install</title> 56 <title>About the Install</title>
57 <section> 57 <section>
58 <body> 58 <body>
59 <p>This new boot CD will boot from nearly any modern IDE CD-ROM drive, as well 59 <p>This new boot CD will boot from nearly any modern IDE CD-ROM drive, as well
395<pre caption="Static IP Network Configuration"> 395<pre caption="Static IP Network Configuration">
396# <c>ifconfig $IFACE $IPNUM broadcast $BCAST netmask $NMASK</c> 396# <c>ifconfig $IFACE $IPNUM broadcast $BCAST netmask $NMASK</c>
397# <c>/sbin/route add -net default gw $GTWAY netmask 0.0.0.0 metric 1</c> 397# <c>/sbin/route add -net default gw $GTWAY netmask 0.0.0.0 metric 1</c>
398</pre> 398</pre>
399 <p>Now it is time to create the <path>/etc/resolv.conf</path> 399 <p>Now it is time to create the <path>/etc/resolv.conf</path>
400 file so that name resolution (finding Web/FTP sites by name, rather than just by IP address) will work.</p> 400 file so that name resolution (finding Web/FTP sites by name, rather
401 than just by IP address) will work. You can use <c>nano -w
402 /etc/resolv.conf</c> to create <path>/etc/resolv.conf</path>.
403 <c>nano</c> is a small and easy-to-use editor.</p>
401 <p>Here is a template to follow for creating your /etc/resolv.conf file: </p> 404 <p>Here is a template to follow for creating your /etc/resolv.conf file: </p>
402<pre caption="/etc/resolv.conf template"> 405<pre caption="/etc/resolv.conf template">
403domain mydomain.com 406domain mydomain.com
404nameserver 10.0.0.1 407nameserver 10.0.0.1
405nameserver 10.0.0.2 408nameserver 10.0.0.2
409 </body> 412 </body>
410 </section> 413 </section>
411 <section> 414 <section>
412 <title>Proxy Configuration</title> 415 <title>Proxy Configuration</title>
413 <body> 416 <body>
414 <p>If you are behind a proxy, it is necessary to configure your proxy before 417 <p>If you are behind a proxy, it could be necessary to configure your proxy before
415 you continue. We will export some variables to set up the proxy accordingly. 418 you continue. We will export some variables to set up the proxy accordingly.
416 </p> 419 </p>
417<pre caption="Setting a Proxy"> 420<pre caption="Setting a Proxy">
421<codenote>If the proxy restricts HTTP traffic:</codenote>
418# <c>export http_proxy=&quot;machine.company.com:1234&quot; </c> 422# <c>export http_proxy=&quot;machine.company.com:1234&quot; </c>
423<codenote>If the proxy restricts FTP traffic:</codenote>
419# <c>export ftp_proxy=&quot;$http_proxy&quot; </c> 424# <c>export ftp_proxy=&quot;machine.company.com&quot; </c>
425<codenote>If the proxy restricts RSYNC traffic:</codenote>
420# <c>export RSYNC_PROXY=&quot;$http_proxy&quot; </c> 426# <c>export RSYNC_PROXY=&quot;machine.company.com&quot; </c>
421</pre> 427</pre>
422 </body> 428 </body>
423 </section> 429 </section>
424 <section> 430 <section>
425 <title>Networking is go!</title> 431 <title>Networking is go!</title>
585acts as a container for partitions <c>hda5</c> through <c>hda9</c>. </p> 591acts as a container for partitions <c>hda5</c> through <c>hda9</c>. </p>
586 592
587<p> Also, notice that each partition has an "Id", also called a "partition 593<p> Also, notice that each partition has an "Id", also called a "partition
588type". Whenever you create a new partition, you should ensure that the 594type". Whenever you create a new partition, you should ensure that the
589partition type is set correctly. '83' is the correct partition type for 595partition type is set correctly. '83' is the correct partition type for
590partitions that will be housing Linux filesystems, and '82' is the correct 596partitions that will be housing Linux filesystems, '82' is the correct
597partition type for Linux swap partitions and 'fd' is the recommended partition
591partition type for Linux swap partitions. You set the partition type using the 598type for Software RAID partitions. You set the partition type using the
592<c>t</c> option in <c>fdisk</c>. The Linux kernel uses the partition type 599<c>t</c> option in <c>fdisk</c>. The Linux kernel uses the partition type
593setting to auto-detect filesystems and swap devices on the disk at boot-time. 600setting to auto-detect filesystems and swap devices on the disk at boot-time.
594</p> 601</p>
595</body> 602</body>
596</section> 603</section>
657 <th>Type</th> 664 <th>Type</th>
658 <th>example device</th> 665 <th>example device</th>
659 </tr> 666 </tr>
660 <tr> 667 <tr>
661 <ti>boot partition, containing kernel(s) and boot information</ti> 668 <ti>boot partition, containing kernel(s) and boot information</ti>
662 <ti>100 Megabytes</ti> 669 <ti>32 Megabytes</ti>
663 <ti>ext2/3 highly recommended (easiest); if ReiserFS then mount with <c>-o notail</c></ti> 670 <ti>ext2/3 highly recommended (easiest); if ReiserFS then mount with <c>-o notail</c>. If you will be using ext3 or ReiserFS, you must add the size of the journal to te size; in these cases 64 Megabytes is recommended</ti>
664 <ti>/dev/hda1</ti> 671 <ti>/dev/hda1</ti>
665 </tr> 672 </tr>
666 <tr> 673 <tr>
667 <ti>swap partition (no longer a 128 Megabyte limit, now 2GB)</ti> 674 <ti>swap partition (no longer a 128 Megabyte limit, now 2GB)</ti>
668 <ti>Generally, configure a swap area that is between one to two times the size of the physical RAM 675 <ti>Generally, configure a swap area that is between one to two times the size of the physical RAM
729 736
730<p>Now that the in-memory partition table is empty, we're ready to create a 737<p>Now that the in-memory partition table is empty, we're ready to create a
731boot partition. To do this, type <c>n</c> to create a new partition, then 738boot partition. To do this, type <c>n</c> to create a new partition, then
732<c>p</c> to tell fdisk you want a primary partition. Then type <c>1</c> to 739<c>p</c> to tell fdisk you want a primary partition. Then type <c>1</c> to
733create the first primary partition. When prompted for the first cylinder, hit 740create the first primary partition. When prompted for the first cylinder, hit
734enter. When prompted for the last cylinder, type <c>+100M</c> to create a 741enter. When prompted for the last cylinder, type <c>+32M</c> to create a
735partition 100MB in size. You can see output from these steps below:</p> 742partition 32MB in size. You can see output from these steps below:</p>
743
744<note>
745Journaled filesystems require extra space for their journal. Default settings
746require about 33 Megabytes of space. Therefor, if you are using a journaled
747filesystem for <path>/boot</path>, you should type <c>+64M</c> when prompted
748for the last cylinder.
749</note>
736 750
737<pre caption="Steps to create our boot partition"> 751<pre caption="Steps to create our boot partition">
738Command (m for help): n 752Command (m for help): n
739Command action 753Command action
740 e extended 754 e extended
741 p primary partition (1-4) 755 p primary partition (1-4)
742p 756p
743Partition number (1-4): 1 757Partition number (1-4): 1
744First cylinder (1-3876, default 1): 758First cylinder (1-3876, default 1):
745Using default value 1 759Using default value 1
746Last cylinder or +size or +sizeM or +sizeK (1-3876, default 3876): +100M 760Last cylinder or +size or +sizeM or +sizeK (1-3876, default 3876): +32M
747</pre> 761</pre>
748 762
749<p>Now, when you type <c>p</c>, you should see the following partition printout:</p> 763<p>Now, when you type <c>p</c>, you should see the following partition printout:</p>
750 764
751<pre caption="Our first partition has been created"> 765<pre caption="Our first partition has been created">
1615 first boot: </p> 1629 first boot: </p>
1616<pre caption="Boot time Network Configuration"> 1630<pre caption="Boot time Network Configuration">
1617# <c>nano -w /etc/conf.d/net</c> 1631# <c>nano -w /etc/conf.d/net</c>
1618# <c>rc-update add net.eth0 default</c> 1632# <c>rc-update add net.eth0 default</c>
1619</pre> 1633</pre>
1620 <p>If you have multiple network cards you need to create additional <path>net.eth<comment>x</comment></path> 1634 <p>If you have multiple network cards or tokenring interfaces, you need to create additional <path>net.eth<comment>x</comment></path> or <path>net.tr<comment>x</comment></path>
1621 scripts for each one (<comment>x</comment> = 1, 2, ...): </p> 1635 scripts respectively for each one (<comment>x</comment> = 1, 2, ...): </p>
1622<pre caption="Multiple Network Interfaces"> 1636<pre caption="Multiple Network Interfaces">
1623# <c>cd /etc/init.d</c> 1637# <c>cd /etc/init.d</c>
1624# <c>cp net.eth0 net.eth<comment>x</comment></c> 1638# <c>cp net.eth0 net.eth<comment>x</comment></c>
1625# <c>rc-update add net.eth<comment>x</comment> default</c> 1639# <c>rc-update add net.eth<comment>x</comment> default</c>
1626</pre> 1640</pre>

Legend:
Removed from v.1.114  
changed lines
  Added in v.1.115

  ViewVC Help
Powered by ViewVC 1.1.20