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

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

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

Revision 1.31 Revision 1.32
1<?xml version='1.0' encoding="UTF-8"?> 1<?xml version='1.0' encoding="UTF-8"?>
2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall.xml,v 1.31 2005/03/27 18:51:19 neysx Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall.xml,v 1.32 2005/03/29 13:31:15 swift Exp $ -->
3 3
4<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 4<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
5 5
6<guide link="/doc/en/gentoo-x86-quickinstall.xml"> 6<guide link="/doc/en/gentoo-x86-quickinstall.xml">
7<title>Gentoo Linux x86 Quick Install Guide</title> 7<title>Gentoo Linux x86 Quick Install Guide</title>
16installing Gentoo Linux if they want to follow this guide. 16installing Gentoo Linux if they want to follow this guide.
17</abstract> 17</abstract>
18 18
19<license/> 19<license/>
20 20
21<version>1.25</version> 21<version>1.26</version>
22<date>2005-03-12</date> 22<date>2005-03-29</date>
23 23
24<chapter> 24<chapter>
25<title>Quick Install Guide</title> 25<title>Quick Install Guide</title>
26<section> 26<section>
27<body> 27<body>
40Boot from the Universal CD. Press &lt;F1&gt; and/or &lt;F2&gt; to 40Boot from the Universal CD. Press &lt;F1&gt; and/or &lt;F2&gt; to
41see what boot options are available. Press &lt;ENTER&gt; at the bootscreen to 41see what boot options are available. Press &lt;ENTER&gt; at the bootscreen to
42continue with the default kernel. You'll eventually receive a prompt. 42continue with the default kernel. You'll eventually receive a prompt.
43</p> 43</p>
44 44
45<pre caption="Beginning settings"> 45<pre caption="Initial settings">
46# <i>date</i> (Make sure your time and date is correct. If wrong, set it with <i>date MMDDhhmmCCYY</i> ) 46# <i>date</i> (Make sure your time and date is correct. If wrong, set it with <i>date MMDDhhmmCCYY</i>)
47# <i>modprobe module_name</i> (Optional - Load any necessary modules) 47# <i>modprobe module_name</i> <comment>(Optional - Load any necessary modules)</comment>
48# <i>net-setup eth0</i> (Configure the network) 48# <i>net-setup eth0</i> <comment>(Configure the network)</comment>
49# <i>fdisk /dev/hda</i> (Partition your drive) 49# <i>fdisk /dev/hda</i> <comment>(Partition your drive)</comment>
50</pre> 50</pre>
51 51
52<p> 52<p>
53The recommended setup is a 64 meg boot volume with ext2, a swap partition 53The recommended setup is a 64 meg boot volume with ext2, a swap partition
54twice the size of your available RAM, and the rest for your root partition 54twice the size of your available RAM, and the rest for your root partition
64 64
65<p> 65<p>
66Continue by mounting the partitions and extracting the appropriate stage 66Continue by mounting the partitions and extracting the appropriate stage
67file. 67file.
68</p> 68</p>
69
70<warn>
71For ext3 partitions, you need to specify <c>mount -t ext3</c> explicitly. This
72is due to a bug in the e2fsprogs package.
73</warn>
69 74
70<pre caption="Preparing the Installation"> 75<pre caption="Preparing the Installation">
71(Activate the swap partition) # <i>swapon /dev/hdax</i> 76(Activate the swap partition) # <i>swapon /dev/hdax</i>
72(Mount the root partition) # <i>mount /dev/hdax /mnt/gentoo</i> 77(Mount the root partition) # <i>mount /dev/hdax /mnt/gentoo</i>
73(Create the boot mountpoint) # <i>mkdir /mnt/gentoo/boot</i> 78(Create the boot mountpoint) # <i>mkdir /mnt/gentoo/boot</i>
91(Network-only, non-GRP: update Portage) 96(Network-only, non-GRP: update Portage)
92 # <i>emerge --sync</i> 97 # <i>emerge --sync</i>
93</pre> 98</pre>
94 99
95<p> 100<p>
96Now we install Gentoo: 101Now we go onto setting our profile and installing Gentoo. A profile is a
102building block for any Gentoo system. Not only does it specify default values
103for CHOST, CFLAGS and other important variables, it also locks the system to a
104certain range of package versions. This is all maintained by the Gentoo
105developers.
97</p> 106</p>
98 107
99<pre caption = "Installing Gentoo"> 108<pre caption = "Installing Gentoo">
109(Verify current profile) # <i>ls -l /etc/make.profile</i>
110(Change ONLY IF REQUIRED or if you want a 2.4 kernel)
111 # <i>ln -snf /usr/portage/profiles/default-linux/x86/2005.0/2.4 /etc/make.profile</i>
100(Change USE, CFLAGS and CXXFLAGS. Stage1 can also change CHOST) 112(Change USE, CFLAGS and CXXFLAGS. Stage1 can also change CHOST)
101 # <i>nano -w /etc/make.conf</i> 113 # <i>nano -w /etc/make.conf</i>
102(Stage1 only: bootstrap system) # <i>cd /usr/portage; scripts/bootstrap.sh</i> 114(Stage1 only: bootstrap system) # <i>cd /usr/portage; scripts/bootstrap.sh</i>
103(Stage1, Stage2 only: install base system) 115(Stage1, Stage2 only: install base system. Use --emptytree if you modified USE flags. Else --newuse will do.
104 # <i>emerge system</i> 116 One of these options is a must. )
117 # <i>emerge --emptytree system</i> <comment>OR</comment> <i>emerge --newuse system</i>
105</pre> 118</pre>
106 119
107<p> 120<p>
108Next we set up the necessary information: 121Next we set up the necessary information:
109</p> 122</p>
136(Install the kernel sources) # <i>emerge <comment>&lt;kernel-package-here&gt;</comment></i> 149(Install the kernel sources) # <i>emerge <comment>&lt;kernel-package-here&gt;</comment></i>
137(Configure your kernel using genkernel...) 150(Configure your kernel using genkernel...)
138 # <i>emerge genkernel; genkernel --menuconfig all</i> 151 # <i>emerge genkernel; genkernel --menuconfig all</i>
139(<comment>or</comment> (1) manually build your kernel) 152(<comment>or</comment> (1) manually build your kernel)
140 # <i>cd /usr/src/linux; make menuconfig;</i> 153 # <i>cd /usr/src/linux; make menuconfig;</i>
141( (2) Include VM fs, /proc fs, /dev fs, /dev fs auto mount at boot) 154( (2) Include VM fs, /proc fs)
142( (3) Compile your kernel) 155( (3) Compile your kernel)
156 (for a 2.6 kernel) # <i>make &amp;&amp; make modules_install</i>
143 (for a 2.4 kernel) # <i>make dep &amp;&amp; make clean bzImage modules modules_install</i> 157 (for a 2.4 kernel) # <i>make dep &amp;&amp; make clean bzImage modules modules_install</i>
144 (for a 2.6 kernel) # <i>make &amp;&amp; make modules_install</i>
145( (4) Copy over the kernel) # <i>cp arch/i386/boot/bzImage /boot; cp System.map /boot</i> 158( (4) Copy over the kernel) # <i>cp arch/i386/boot/bzImage /boot; cp System.map /boot</i>
146</pre> 159</pre>
147 160
148<p> 161<p>
149Now install other tools you might want: 162Now install other tools you might want:

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32

  ViewVC Help
Powered by ViewVC 1.1.20