/[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.43 Revision 1.44
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.43 2005/08/01 12:12:22 swift Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall.xml,v 1.44 2005/08/04 07:01:46 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>
15The Quick install guide covers the Gentoo install process in a 15The Quick install guide covers the Gentoo install process in a
16non-verbose manner. Users should already have prior experience with 16non-verbose manner. Users should already have prior experience with
17installing Gentoo Linux if they want to follow this guide. 17installing Gentoo Linux if they want to follow this guide.
18</abstract> 18</abstract>
19 19
20<!-- The content of this document is licensed under the CC-BY-SA license -->
21<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
20<license/> 22<license/>
21 23
22<version>2.4</version> 24<version>2.4</version>
23<date>2005-08-01</date> 25<date>2005-08-04</date>
24 26
25<chapter> 27<chapter>
26<title>Quick Install Guide</title> 28<title>Quick Install Guide</title>
27<section> 29<section>
28<title>Installation Media</title> 30<title>Installation Media</title>
30 32
31<p> 33<p>
32Download a CD from one of our <uri link="/main/en/mirrors.xml">mirrors</uri>. 34Download a CD from one of our <uri link="/main/en/mirrors.xml">mirrors</uri>.
33You can find the ISOs in 35You can find the ISOs in
34<path>releases/&lt;architecture&gt;/&lt;release&gt;/installcd</path>. The 36<path>releases/&lt;architecture&gt;/&lt;release&gt;/installcd</path>. The
35<e>minimal</e> installation cd is only useful for internet-based installations; 37<e>minimal</e> installation CD is only useful for Internet-based installations;
36with the <e>universal</e> installation cd you can perform a networkless 38with the <e>universal</e> installation CD you can perform a network less
37installation as well. 39installation as well.
38</p> 40</p>
39 41
40<p> 42<p>
41<uri link="/doc/en/faq.xml#isoburning">Burn</uri> the CD and boot it. Press 43<uri link="/doc/en/faq.xml#isoburning">Burn</uri> the CD and boot it. Press
42<c>F2</c> at the boot screen to find out what boot options exist. Once booted, 44<c>F2</c> at the boot screen to find out what boot options exist. Once booted,
43you need to start the <c>pcmcia</c> init script if you need PCMCIA support. 45you need to start the <c>pcmcia</c> init script if you need PCMCIA support.
44</p> 46</p>
45 47
46<p> 48<p>
47The installation cds allow you to start an <c>sshd</c> server, add additional 49The installation CDs allow you to start an <c>sshd</c> server, add additional
48users, run <c>irssi</c> (a command-line chat client) and surf the web using 50users, run <c>irssi</c> (a command-line chat client) and surf the web using
49<c>lynx</c> or <c>links2</c>. 51<c>lynx</c> or <c>links2</c>.
50</p> 52</p>
51 53
52</body> 54</body>
64then use <c>pptp &lt;server&nbsp;ip&gt;</c>. 66then use <c>pptp &lt;server&nbsp;ip&gt;</c>.
65</p> 67</p>
66 68
67<p> 69<p>
68For wireless access, use <c>iwconfig</c> to set the wireless parameters and then 70For wireless access, use <c>iwconfig</c> to set the wireless parameters and then
69use eiter <c>net-setup</c> again or run <c>ifconfig</c>, <c>dhcpcd</c> and/or 71use either <c>net-setup</c> again or run <c>ifconfig</c>, <c>dhcpcd</c> and/or
70<c>route</c> manually. 72<c>route</c> manually.
71</p> 73</p>
72 74
73<p> 75<p>
74If you are behind a proxy, do not forget to initialise your system using 76If you are behind a proxy, do not forget to initialize your system using
75<c>export http_proxy</c>, <c>ftp_proxy</c> and <c>RSYNC_PROXY</c>. 77<c>export http_proxy</c>, <c>ftp_proxy</c> and <c>RSYNC_PROXY</c>.
76</p> 78</p>
77 79
78</body> 80</body>
79</section> 81</section>
86least a swap partition (type 82) and one Linux partition (type 83). 88least a swap partition (type 82) and one Linux partition (type 83).
87</p> 89</p>
88 90
89<p> 91<p>
90Use <c>mke2fs</c>, <c>mke2fs -j</c>, <c>mkreiserfs</c>, <c>mkfs.xfs</c> and 92Use <c>mke2fs</c>, <c>mke2fs -j</c>, <c>mkreiserfs</c>, <c>mkfs.xfs</c> and
91<c>mkfs.jfs</c> to create file systems on your Linux partitions. Initialise your 93<c>mkfs.jfs</c> to create file systems on your Linux partitions. Initialize your
92swap partition using <c>mkswap</c> and <c>swapon</c>. 94swap partition using <c>mkswap</c> and <c>swapon</c>.
93</p> 95</p>
94 96
95<p> 97<p>
96Mount the freshly created file systems on <path>/mnt/gentoo</path>. Create 98Mount the freshly created file systems on <path>/mnt/gentoo</path>. Create
111(<path>/mnt/cdrom/stages</path>). Go to <path>/mnt/gentoo</path> and unpack the 113(<path>/mnt/cdrom/stages</path>). Go to <path>/mnt/gentoo</path> and unpack the
112stage using <c>tar&nbsp;-xvjpf&nbsp;&lt;stage&nbsp;tarball&gt;</c>. 114stage using <c>tar&nbsp;-xvjpf&nbsp;&lt;stage&nbsp;tarball&gt;</c>.
113</p> 115</p>
114 116
115<p> 117<p>
116Install a Portage snapshot if you are performing a networkless installation: go 118Install a Portage snapshot if you are performing a network less installation: go
117to <path>/mnt/gentoo/usr</path> and run 119to <path>/mnt/gentoo/usr</path> and run
118<c>tar&nbsp;-xvjf&nbsp;/mnt/cdrom/snapshots/&lt;snapshot&gt;</c>. Other users 120<c>tar&nbsp;-xvjf&nbsp;/mnt/cdrom/snapshots/&lt;snapshot&gt;</c>. Other users
119can download a portage snapshot and install it likewise. 121can download a portage snapshot and install it likewise.
120</p> 122</p>
121 123
142# <i>chroot /mnt/gentoo /bin/bash</i> 144# <i>chroot /mnt/gentoo /bin/bash</i>
143# <i>env-update</i> &amp;&amp; <i>source /etc/profile</i> 145# <i>env-update</i> &amp;&amp; <i>source /etc/profile</i>
144</pre> 146</pre>
145 147
146<p> 148<p>
147If you are not running a networkless installation, issue <c>emerge --sync</c> to 149If you are not running a network less installation, issue <c>emerge --sync</c> to
148update your Portage tree. 150update your Portage tree.
149</p> 151</p>
150 152
151<p> 153<p>
152Next, make sure <path>/etc/make.profile</path> points to the right profile. The 154Next, make sure <path>/etc/make.profile</path> points to the right profile. The
153default one should suffice for most users; subprofiles are available for 155default one should suffice for most users; sub profiles are available for
154different kernels (like <path>2.4/</path> for 2.4-kernel based profiles). Change 156different kernels (like <path>2.4/</path> for 2.4-kernel based profiles). Change
155the profile using <c>ln -sf</c>. 157the profile using <c>ln -sf</c>.
156</p> 158</p>
157 159
158<ul> 160<ul>
159 <li> 161 <li>
160 Bootstrapping (not available for networkless installations) happens using 162 Bootstrapping (not available for network less installations) happens using
161 <c>scripts/bootstrap.sh</c> in the <path>/usr/portage</path> directory. 163 <c>scripts/bootstrap.sh</c> in the <path>/usr/portage</path> directory.
162 </li> 164 </li>
163 <li> 165 <li>
164 System installation (not available for networkless installations) happens 166 System installation (not available for network less installations) happens
165 using <c>emerge&nbsp;-e&nbsp;system</c> (or <c>-N</c> if you haven't 167 using <c>emerge&nbsp;-e&nbsp;system</c> (or <c>-N</c> if you haven't
166 altered the default CFLAGS/CXXFLAGS). 168 altered the default CFLAGS/CXXFLAGS).
167 </li> 169 </li>
168</ul> 170</ul>
169 171
170<p> 172<p>
171Stage3 users (except those performing a networkless installation) need to 173Stage3 users (except those performing a network less installation) need to
172upgrade the baselayout package: 174upgrade the baselayout package:
173</p> 175</p>
174 176
175<pre caption="Upgrading baselayout"> 177<pre caption="Upgrading baselayout">
176# <i>CONFIG_PROTECT="-*" emerge baselayout</i> 178# <i>CONFIG_PROTECT="-*" emerge baselayout</i>
188<c>ln -sf</c>. 190<c>ln -sf</c>.
189</p> 191</p>
190 192
191<p> 193<p>
192Install a kernel source (<c>gentoo-sources</c> and <c>vanilla-sources</c> are 194Install a kernel source (<c>gentoo-sources</c> and <c>vanilla-sources</c> are
193available for networkless installations) and configure it using <c>make 195available for network less installations) and configure it using <c>make
194menuconfig</c> followed by <c>make&nbsp;&amp;&amp;make&nbsp;modules_install</c> 196menuconfig</c> followed by <c>make&nbsp;&amp;&amp;make&nbsp;modules_install</c>
195inside <path>/usr/src/linux</path>. Copy the <path>arch/i386/bzImage</path> file 197inside <path>/usr/src/linux</path>. Copy the <path>arch/i386/bzImage</path> file
196over to <path>/boot</path>. You can also <c>emerge&nbsp;genkernel</c> 198over to <path>/boot</path>. You can also <c>emerge&nbsp;genkernel</c>
197and use <c>genkernel&nbsp;--udev&nbsp;all</c>. 199and use <c>genkernel&nbsp;--udev&nbsp;all</c>.
198</p> 200</p>
223 225
224<p> 226<p>
225Edit <path>/etc/conf.d/hostname</path> and <path>/etc/conf.d/domainname</path>, 227Edit <path>/etc/conf.d/hostname</path> and <path>/etc/conf.d/domainname</path>,
226run <c>rc-update&nbsp;add&nbsp;domainname&nbsp;default</c> and edit 228run <c>rc-update&nbsp;add&nbsp;domainname&nbsp;default</c> and edit
227<path>/etc/conf.d/net</path> to 229<path>/etc/conf.d/net</path> to
228configure your network. Add the <c>net.eth0</c> initscript to the default 230configure your network. Add the <c>net.eth0</c> init script to the default
229runlevel. If you have multiple NICs, symlink them to the <c>net.eth0</c> 231run level. If you have multiple NICs, symlink them to the <c>net.eth0</c>
230init script and add them to the default runlevel as well. 232init script and add them to the default run level as well.
231</p> 233</p>
232 234
233<p> 235<p>
234Edit <path>/etc/hosts</path>; examples are given below: 236Edit <path>/etc/hosts</path>; examples are given below:
235</p> 237</p>
244<comment>(For a dynamic IP)</comment> 246<comment>(For a dynamic IP)</comment>
245127.0.0.1 localhost.homenetwork tux localhost 247127.0.0.1 localhost.homenetwork tux localhost
246</pre> 248</pre>
247 249
248<p> 250<p>
249Emerge <c>pcmcia-cs</c> and add it to the default runlevel if you need it. 251Emerge <c>pcmcia-cs</c> and add it to the default run level if you need it.
250</p> 252</p>
251 253
252<p> 254<p>
253Set the root password using <c>passwd</c>. 255Set the root password using <c>passwd</c>.
254</p> 256</p>
360Log in as <c>root</c>, then add one or more users for day-to-day use using 362Log in as <c>root</c>, then add one or more users for day-to-day use using
361<c>useradd&nbsp;-m&nbsp;-G&nbsp;&lt;groups&gt;&nbsp;&lt;username&gt;</c>. 363<c>useradd&nbsp;-m&nbsp;-G&nbsp;&lt;groups&gt;&nbsp;&lt;username&gt;</c>.
362</p> 364</p>
363 365
364<p> 366<p>
365If you performed a networkless installation, mount the packages CD at 367If you performed a network less installation, mount the packages CD at
366<path>/mnt/cdrom</path> and <c>export&nbsp;PKGDIR="/mnt/cdrom"</c> after which 368<path>/mnt/cdrom</path> and <c>export&nbsp;PKGDIR="/mnt/cdrom"</c> after which
367you can <c>emerge&nbsp;-k&nbsp;&lt;package&gt;</c> to install additional 369you can <c>emerge&nbsp;-k&nbsp;&lt;package&gt;</c> to install additional
368software like <c>kde</c>. 370software like <c>kde</c>.
369</p> 371</p>
370 372

Legend:
Removed from v.1.43  
changed lines
  Added in v.1.44

  ViewVC Help
Powered by ViewVC 1.1.20