/[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.92 Revision 1.93
29 </author> 29 </author>
30 <author title="Editor"> 30 <author title="Editor">
31 <mail link="zhware@gentoo.org">Stoyan Zhekov</mail> 31 <mail link="zhware@gentoo.org">Stoyan Zhekov</mail>
32 </author> 32 </author>
33 <author title="Editor"> 33 <author title="Editor">
34 <mail link="jhhudso@gentoo.org">Jared Hudson</mail> 34 <mail link="jhhudso@gentoo.org">Jared Hudson</mail>
35 </author> 35 </author>
36 <author title="Editor"> 36 <author title="Editor">
37 <mail link="">Colin Morey</mail> 37 <mail link="">Colin Morey</mail>
38 </author> 38 </author>
39 <abstract>These instructions step you through the process of installing Gentoo 39 <abstract>These instructions step you through the process of installing Gentoo
40 Linux 1.4_rc3. The Gentoo Linux installation process supports various installation 40 Linux 1.4_rc3. The Gentoo Linux installation process supports various installation
41 approaches, depending upon how much of the system you want to custom-build from 41 approaches, depending upon how much of the system you want to custom-build from
42 scratch. 42 scratch.
43 </abstract> 43 </abstract>
44<version>2.5</version> 44<version>2.6</version>
45 <date>20 March 2003</date> 45 <date>20 March 2003</date>
46 <chapter> 46 <chapter>
47 <title>About the Install</title> 47 <title>About the Install</title>
48 <section> 48 <section>
49 <body> 49 <body>
50 <p>This new boot CD will boot from nearly any modern IDE CD-ROM drive, as well 50 <p>This new boot CD will boot from nearly any modern IDE CD-ROM drive, as well
51as many SCSI CD-ROM drives, assuming that your CD-ROM and BIOS both support booting. 51as many SCSI CD-ROM drives, assuming that your CD-ROM and BIOS both support booting.
52Included on the CD-ROM is Linux support for IDE (and PCI IDE) (built-in to the 52Included on the CD-ROM is Linux support for IDE (and PCI IDE) (built-in to the
53kernel) as well as support for all SCSI devices (available as modules.) In 53kernel) as well as support for all SCSI devices (available as modules.) In
54addition, we provide modules for literally every kind of network card that 54addition, we provide modules for literally every kind of network card that
55Linux supports, as well as tools to allow you to configure your network and 55Linux supports, as well as tools to allow you to configure your network and
56establish outbound (as well as inbound) <c>ssh</c> connections and to download 56establish outbound (as well as inbound) <c>ssh</c> connections and to download
57files. </p> 57files. </p>
58 <p>To install from the build CD, you will need to have a 486+ processor and 58 <p>To install from the build CD, you will need to have a 486+ processor and
59ideally at least 64 Megabytes of RAM. (Gentoo Linux has been successfully 59ideally at least 64 Megabytes of RAM. (Gentoo Linux has been successfully
682 682
683<pre caption="Our swap partition has been created"> 683<pre caption="Our swap partition has been created">
684Command (m for help): p 684Command (m for help): p
685 685
686Disk /dev/hda: 30.0 GB, 30005821440 bytes 686Disk /dev/hda: 30.0 GB, 30005821440 bytes
687240 heads, 63 sectors/track, 3876 cylinders 687240 heads, 63 sectors/track, 3876 cylinders
688Units = cylinders of 15120 * 512 = 7741440 bytes 688Units = cylinders of 15120 * 512 = 7741440 bytes
689 689
690 Device Boot Start End Blocks Id System 690 Device Boot Start End Blocks Id System
691/dev/hda1 1 14 105808+ 83 Linux 691/dev/hda1 1 14 105808+ 83 Linux
692/dev/hda2 15 81 506520 82 Linux swap 692/dev/hda2 15 81 506520 82 Linux swap
693</pre> 693</pre>
694 694
695<p>Finally, let's create the root partition. To do this, type <c>n</c> to 695<p>Finally, let's create the root partition. To do this, type <c>n</c> to
696create a new partition, then <c>p</c> to tell fdisk that you want a primary 696create a new partition, then <c>p</c> to tell fdisk that you want a primary
697partition. Then type <c>3</c> to create the second primary partition, 697partition. Then type <c>2</c> to create the second primary partition,
698<c>/dev/hda3</c> in our case. When prompted for the first cylinder, hit enter. 698<c>/dev/hda3</c> in our case. When prompted for the first cylinder, hit enter.
699When prompted for the last cylinder, hit enter to create a partition that takes 699When prompted for the last cylinder, hit enter to create a partition that takes
700up the rest of the remaining space on your disk. After completing these steps, 700up the rest of the remaining space on your disk. After completing these steps,
701typing <c>p</c> should display a partition table that looks similar to 701typing <c>p</c> should display a partition table that looks similar to
702this:</p> 702this:</p>
703 703
704<pre caption="Our root partition has been created"> 704<pre caption="Our root partition has been created">
705Command (m for help): p 705Command (m for help): p
706 706
707Disk /dev/hda: 30.0 GB, 30005821440 bytes 707Disk /dev/hda: 30.0 GB, 30005821440 bytes
708240 heads, 63 sectors/track, 3876 cylinders 708240 heads, 63 sectors/track, 3876 cylinders
709Units = cylinders of 15120 * 512 = 7741440 bytes 709Units = cylinders of 15120 * 512 = 7741440 bytes
710 710
711 Device Boot Start End Blocks Id System 711 Device Boot Start End Blocks Id System
712/dev/hda1 1 14 105808+ 83 Linux 712/dev/hda1 1 14 105808+ 83 Linux
859 </body> 859 </body>
860 </section> 860 </section>
861 </chapter> 861 </chapter>
862 <chapter> 862 <chapter>
863 <title>Mount Partitions</title> 863 <title>Mount Partitions</title>
864 <section> 864 <section>
865 <body> 865 <body>
866 <p>Now, we will activate our newly-initialized swap volume, since we may need the additional virtual memory that it 866 <p>Now, we will activate our newly-initialized swap volume, since we may need the additional virtual memory that it
867 provides later: 867 provides later:
868 </p> 868 </p>
869<pre caption="Activating Swap"> 869<pre caption="Activating Swap">
870# <c>swapon /dev/hda2</c> 870# <c>swapon /dev/hda2</c>
871</pre> 871</pre>
872 872
873 <p>Next, we will create the <path>/mnt/gentoo</path> and <path>/mnt/gentoo/boot</path> mount points, 873 <p>Next, we will create the <path>/mnt/gentoo</path> and <path>/mnt/gentoo/boot</path> mount points,
874 and we will mount our filesystems to these mount points. One our boot and root filesystems are 874 and we will mount our filesystems to these mount points. Once our boot and root filesystems are
875 mounted, any files we copy or create inside <path>/mnt/gentoo</path> will be placed on our new filesystems. 875 mounted, any files we copy or create inside <path>/mnt/gentoo</path> will be placed on our new filesystems.
876 Note that if you are setting up Gentoo 876 Note that if you are setting up Gentoo
877 Linux with separate <path>/usr</path> or <path>/var</path> filesystems, these would get mounted to 877 Linux with separate <path>/usr</path> or <path>/var</path> filesystems, these would get mounted to
878 <path>/mnt/gentoo/usr</path> and <path>/mnt/gentoo/var</path> respectively. 878 <path>/mnt/gentoo/usr</path> and <path>/mnt/gentoo/var</path> respectively.
879 </p> 879 </p>
880 880
881 <impo>If your <e>boot</e> partition (the one holding the kernel) is ReiserFS, be sure to mount it 881 <impo>If your <e>boot</e> partition (the one holding the kernel) is ReiserFS, be sure to mount it
882 with the <c>-o notail</c> option so GRUB gets properly installed. Make sure 882 with the <c>-o notail</c> option so GRUB gets properly installed. Make sure
883 that <c>notail</c> ends up in your new <path>/etc/fstab</path> boot partition entry, too. 883 that <c>notail</c> ends up in your new <path>/etc/fstab</path> boot partition entry, too.
884 We will get to that in a bit. 884 We will get to that in a bit.
885 </impo> 885 </impo>
886 886
887<pre caption="Creating Mount Points"> 887<pre caption="Creating Mount Points">
888# <c>mkdir /mnt/gentoo</c> 888# <c>mkdir /mnt/gentoo</c>
889# <c>mount /dev/hda3 /mnt/gentoo</c> 889# <c>mount /dev/hda3 /mnt/gentoo</c>
980 <p>After you execute these commands, you will be &quot;inside&quot; your new Gentoo Linux environment in <path>/mnt/gentoo</path>. 980 <p>After you execute these commands, you will be &quot;inside&quot; your new Gentoo Linux environment in <path>/mnt/gentoo</path>.
981 We can perform the rest of the installation process inside the chroot. 981 We can perform the rest of the installation process inside the chroot.
982 </p> 982 </p>
983 </body> 983 </body>
984 </section> 984 </section>
985 </chapter> 985 </chapter>
986 <chapter> 986 <chapter>
987 <title>Getting the Current Portage Tree using sync</title> 987 <title>Getting the Current Portage Tree using sync</title>
988 <section> 988 <section>
989 <body> 989 <body>
990 990
991<p>Now, you will need to run <c>emerge sync</c>. This command tells Portage to download 991<p>Now, you will need to run <c>emerge sync</c>. This command tells Portage to download
992the most recent copy of the Gentoo Linux Portage tree. 992the most recent copy of the Gentoo Linux Portage tree.
993The Portage tree 993The Portage tree
994and contains all the scripts (called ebuilds) used to build every package 994and contains all the scripts (called ebuilds) used to build every package
995under Gentoo Linux. Currently, we have ebuild scripts for close to 4000 packages. nce <c>emerge sync</c> 995under Gentoo Linux. Currently, we have ebuild scripts for close to 4000 packages. Once <c>emerge sync</c>
996completes, you will have a complete Portage tree in <path>/usr/portage</path>.</p> 996completes, you will have a complete Portage tree in <path>/usr/portage</path>.</p>
997 997
998<pre caption="Updating Using sync"> 998<pre caption="Updating Using sync">
999# <c>emerge sync</c> 999# <c>emerge sync</c>
1000</pre> 1000</pre>
1001 1001
1002 </body> 1002 </body>
1003 </section> 1003 </section>
1004 </chapter> 1004 </chapter>
1005 <chapter> 1005 <chapter>
1006 <title>Setting Gentoo optimizations (make.conf)</title> 1006 <title>Setting Gentoo optimizations (make.conf)</title>
1007 <section> 1007 <section>
1008 <body> 1008 <body>
1009 1009
1010<p>Now that you have a working copy of the Portage tree, it is time to 1010<p>Now that you have a working copy of the Portage tree, it is time to

Legend:
Removed from v.1.92  
changed lines
  Added in v.1.93

  ViewVC Help
Powered by ViewVC 1.1.20