/[gentoo]/xml/htdocs/doc/en/handbook/hb-install-alpha-medium.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-install-alpha-medium.xml

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

Revision 1.22 Revision 1.54
1<?xml version='1.0' encoding='UTF-8'?> 1<?xml version='1.0' encoding='UTF-8'?>
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/1.0 --> 5<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-medium.xml,v 1.22 2004/11/20 22:23:30 neysx Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-medium.xml,v 1.54 2011/02/27 07:05:54 nightmorph Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>1.19</version> 11<version>12</version>
12<date>2004-11-04</date> 12<date>2011-02-26</date>
13 13
14<section> 14<section>
15<title>Hardware Requirements</title> 15<title>Hardware Requirements</title>
16<subsection> 16<subsection>
17<title>Introduction</title> 17<title>Introduction</title>
18<body> 18<body>
19 19
20<p> 20<p>
21Before we start, we first list what hardware requirements you need to 21Before we start, we first list what hardware requirements you need to
22successfully install Gentoo on your box. This of course depends on your 22successfully install Gentoo on your box.
23architecture.
24</p> 23</p>
25 24
26</body> 25</body>
27</subsection>
28<subsection> 26</subsection>
29<title>The Alpha Architecture</title> 27<subsection>
28<title>Hardware Requirements</title>
29<body>
30
31<table>
32<tr>
33 <th>CPU</th>
34 <ti>
35 Please check with the <uri
36 link="http://www.alphalinux.org/faq/FAQ-5.html">Alpha/Linux FAQ</uri>
37 </ti>
38</tr>
39<tr>
40 <th>Memory</th>
41 <ti>64 MB</ti>
42</tr>
43<tr>
44 <th>Diskspace</th>
45 <ti>1.5 GB (excluding swap space)</ti>
46</tr>
47<tr>
48 <th>Swap space</th>
49 <ti>At least 256 MB</ti>
50</tr>
51</table>
52
30<body> 53</body>
54</subsection>
55</section>
31 56
57<section>
58<title>The Gentoo Installation CD</title>
59<subsection>
60<title>Introduction</title>
61<body>
62
63<p>
64The <e>Gentoo Installation CDs</e> are bootable CDs which contain a
65self-sustained Gentoo environment. They allow you to boot Linux from the CD.
66During the boot process your hardware is detected and the appropriate drivers
67are loaded. They are maintained by Gentoo developers.
32<p> 68</p>
33Check the following requirements before you 69
34continue with the Gentoo installation: 70<p>
71All Installation CDs allow you to boot, set up networking, initialize your
72partitions and start installing Gentoo from the Internet.
73</p>
74
75<!--
76<impo>
77If you wish to install Gentoo without a working Internet connection, please use
78the installation instructions described in the <uri
79link="2008.0/index.xml">Gentoo 2008.0 Handbooks</uri>.
80</impo>
81
82<p>
83The two Installation CDs we currently provide are:
35</p> 84</p>
36 85
37<ul> 86<ul>
38<li> 87 <li>
39 You need at least 1 Gb of free disk space 88 The Gentoo Minimal Installation CD, a small, no-nonsense, bootable CD which
89 sole purpose is to boot the system, prepare the networking and continue
90 with the Gentoo installation.
40</li> 91 </li>
41<li> 92 <li>
42 For the <e>Alpha architecture</e>, you should check with the <uri 93 The Gentoo Universal Installation CD, a bootable CD with the same abilities
43 link="http://www.alphalinux.org/faq/FAQ-5.html">Alpha/Linux FAQ</uri> 94 as the Minimal Installation CD. Additionally, it contains several stage3
95 tarballs (optimized for the individual subarchitectures).
44</li> 96 </li>
45</ul> 97</ul>
46 98
99<p>
100To help you decide which Installation CD you need, we have written down the
101major advantages and disadvantages of each Installation CD.
102</p>
103-->
104
47</body> 105</body>
48</subsection>
49</section>
50<section>
51<title>Make your Choice</title>
52<subsection> 106</subsection>
53<title>Introduction</title>
54<body>
55
56<p>
57Still interested in trying out Gentoo? Well, then it is now time to
58choose the installation medium you want to use. Yes, you have the
59choice, no, they are not all equal, and yes, the result is always the same: a
60Gentoo base system.
61</p>
62
63<p>
64The installation media we will describe are:
65</p>
66
67<ul>
68<li>The Gentoo Alpha LiveCD</li>
69</ul>
70
71<p>
72Before we continue, let's explain our three-stage installation.
73</p>
74
75</body>
76</subsection> 107<subsection>
77<subsection> 108<title>Gentoo Minimal Installation CD</title>
78<title>The Three Stages</title>
79<body> 109<body>
80 110
81<p>
82Gentoo Linux can be installed using one of three <e>stage</e> tarball files.
83The one you choose depends on how much of the system you want to compile
84yourself. The <e>stage1</e> tarball is used when you want to bootstrap and
85build the entire system from scratch. The <e>stage2</e> tarball is used for
86building the entire system from a bootstrapped &quot;semi-compiled&quot; state.
87The <e>stage3</e> tarball already contains a basic Gentoo Linux system that has
88been built for you.
89</p> 111<p>
90 112The Minimal Installation CD is called <c><keyval id="min-cd-name"/></c> and
113takes up only <keyval id="min-cd-size"/> MB of diskspace. You can use this
114Installation CD to install Gentoo, but <e>only</e> with a working Internet
115connection.
91<p> 116</p>
92Now what stage do you have to choose? 117<!--
93</p>
94
95<p>
96Starting from a <e>stage1</e> allows you to have total control over the
97optimization settings and optional build-time functionality that is
98initially enabled on your system. This makes <e>stage1</e> installs good for
99power users who know what they are doing. It is also a great
100installation method for those who would like to know more about the
101inner workings of Gentoo Linux.
102</p>
103
104<p>
105A <e>stage1</e> installation can only be performed when you have a working
106Internet connection.
107</p>
108
109<table> 118<table>
110<tr> 119<tr>
111 <th>Stage1</th> 120 <th>Minimal Installation CD</th>
112 <th>Pros and Cons</th> 121 <th>Pros and Cons</th>
113</tr> 122</tr>
114<tr> 123<tr>
115 <th>+</th> 124 <th>+</th>
116 <ti> 125 <ti>Smallest download</ti>
117 Allows you to have total control over the optimization settings and optional
118 build-time functionality that is initially enabled on your system
119 </ti>
120</tr>
121<tr>
122 <th>+</th>
123 <ti>Suitable for powerusers that know what they are doing</ti>
124</tr>
125<tr>
126 <th>+</th>
127 <ti>Allows you to learn more about the inner workings of Gentoo</ti>
128</tr>
129<tr>
130 <th>-</th>
131 <ti>Takes a long time to finish the installation</ti>
132</tr> 126</tr>
133<tr> 127<tr>
134 <th>-</th> 128 <th>-</th>
135 <ti> 129 <ti>
136 If you don't intend to tweak the settings, it is probably a waste of time 130 Contains no stage3 tarball, no Portage snapshot, no prebuilt packages and is
131 therefore not suitable for networkless installation
137 </ti> 132 </ti>
138</tr> 133</tr>
134</table>
135
136</body>
137</subsection>
138<subsection>
139<title>Gentoo's Universal Installation CD</title>
140<body>
141
142<p>
143The Universal Installation CD is called <c>install-alpha-universal-2008.0.iso</c>
144and consumes about 316 MB on a CD. You can use this Installation CD to install
145Gentoo, and you can even use it to install Gentoo without a working internet
146connection.
147</p>
148
149<table>
150<tr>
151 <th>Universal Installation CD</th>
152 <th>Pros and Cons</th>
139<tr> 153</tr>
154<tr>
140 <th>-</th> 155 <ti>+</ti>
141 <ti> 156 <ti>
142 Not suitable for networkless installations 157 Contains everything you need. You can even install without a network
158 connection.
143 </ti> 159 </ti>
144</tr> 160</tr>
161<tr>
162 <ti>-</ti>
163 <ti>
164 Huge download
165 </ti>
166</tr>
145</table> 167</table>
146 168
147<p>
148<e>Stage2</e> installs allow you to skip the bootstrap process and doing this
149is fine if you are happy with the optimization settings that we chose
150for your particular <e>stage2</e> tarball.
151</p>
152
153<p>
154A <e>stage2</e> installation can only be performed when you have a working
155Internet connection.
156</p>
157
158<table>
159<tr>
160 <th>Stage2</th>
161 <th>Pros and Cons</th>
162</tr>
163<tr>
164 <th>+</th>
165 <ti>You don't need to bootstrap</ti>
166</tr>
167<tr>
168 <th>+</th>
169 <ti>Faster than starting with stage1</ti>
170</tr>
171<tr>
172 <th>+</th>
173 <ti>You can still tweak your settings</ti>
174</tr>
175<tr>
176 <th>-</th>
177 <ti>You cannot tweak as much as with a stage1</ti>
178</tr>
179<tr>
180 <th>-</th>
181 <ti>It's not the fastest way to install Gentoo</ti>
182</tr>
183<tr>
184 <th>-</th>
185 <ti>You have to accept the optimizations we chose for the bootstrap</ti>
186</tr>
187<tr>
188 <th>-</th>
189 <ti>
190 Not suitable for networkless installations
191 </ti>
192</tr>
193</table>
194
195<p>
196Choosing to go with a <e>stage3</e> allows for the fastest install of Gentoo
197Linux, but also means that your base system will have the optimization
198settings that we chose for you (which to be honest, are good settings
199and were carefully chosen to enhance performance while maintaining
200stability). <e>stage3</e> is also required if you want to install Gentoo using
201prebuilt packages or without a network connection.
202</p>
203
204<table>
205<tr>
206 <th>Stage3</th>
207 <th>Pros and Cons</th>
208</tr>
209<tr>
210 <th>+</th>
211 <ti>Fastest way to get a Gentoo base system</ti>
212</tr>
213<tr>
214 <th>+</th>
215 <ti>Suitable for networkless installations</ti>
216</tr>
217<tr>
218 <th>-</th>
219 <ti>You cannot tweak the base system - it's built already</ti>
220</tr>
221<tr>
222 <th>-</th>
223 <ti>You cannot brag about having used stage1 or stage2</ti>
224</tr>
225</table>
226
227<p>
228Write down (or remember) what stage you want to use. You need this later when
229you decide what LiveCD (or other installation medium) you want to use. You might
230be interested to know that, if you decide to use different optimization settings
231after having installed Gentoo, you will be able to recompile your entire system
232with the new optimization settings.
233</p>
234
235<p>
236Now take a look at the available installation media.
237</p>
238
239</body> 169</body>
240</subsection>
241<subsection> 170</subsection>
242<title>The Gentoo Alpha LiveCD</title> 171
172<subsection>
173<title>Other CDs</title>
174<body>
175
176<p>
177You might find a Package CD on one of our mirrors. This CD is not an
178Installation CD but an additional resource that can be exploited during a
179networkless installation. It contains prebuilt packages (also known as the GRP
180set) that allow you to easily and quickly install additional applications
181(such as OpenOffice.org, KDE, GNOME, ...) immediately after the networkless
182Gentoo installation.
183</p>
184
185<p>
186If you intend to use the Packages CD to quickly install additional software,
187make sure that you use the same subarchitecture as the stage3 tarball you use.
188</p>
189-->
243<body> 190</body>
191</subsection>
192<subsection>
193<title>The Stage3 Tarball</title>
194<body>
244 195
245<p>
246The <e>Gentoo Alpha LiveCD</e> is a bootable CD which contain a
247self-sustained Gentoo environment. It allows you to boot Linux from the CD.
248During the boot process your hardware is detected and the appropriate drivers
249are loaded. It is maintained by Gentoo developers.
250</p> 196<p>
251 197A stage3 tarball is an archive containing a minimal Gentoo environment, suitable
198to continue the Gentoo installation using the instructions in this manual.
199Previously, the Gentoo Handbook described the installation using one of three
200stage tarballs. While Gentoo still offers stage1 and stage2 tarballs, the
201official installation method uses the stage3 tarball. If you are interested in
202performing a Gentoo installation using a stage1 or stage2 tarball, please read
203the Gentoo FAQ on <uri link="/doc/en/faq.xml#stage12">How do I Install Gentoo
204Using a Stage1 or Stage2 Tarball?</uri>
252<p> 205</p>
253The <e>Gentoo Alpha LiveCD</e> is a small, no-nonsense, bootable CD which sole 206
254purpose is to boot the system, prepare the networking and continue with the 207<p>
255Gentoo installation. It does not contain any stages (or, in some cases, a 208Stage3 tarballs can be downloaded from <path><keyval
256single stage1 file), source code or precompiled packages. For example the 209id="release-dir"/>current-stage3/</path> on any of the <uri
257alpha variant of this LiveCD can be found in the 210link="/main/en/mirrors.xml">Official Gentoo Mirrors</uri> and are not provided
258<path>releases/1.4_rc1/alpha</path> subdirectory and is called 211on the LiveCD.
259<c>gentoo-alpha-1.4rc1-test3.iso.bz2</c>.
260</p> 212</p>
261 213
262</body> 214</body>
263</subsection> 215</subsection>
264</section> 216</section>
217<!-- STOP -->
265<section> 218<section>
266<title>Download, Burn and Boot the Gentoo LiveCD</title> 219<title>Download, Burn and Boot a Gentoo Installation CD</title>
267<subsection> 220<subsection>
268<title>Downloading and Burning the LiveCDs</title> 221<title>Downloading and Burning the Installation CDs</title>
269<body> 222<body>
270 223
271<p>
272You have chosen to use a Gentoo LiveCD (if not, then you are reading the
273wrong document). We'll first start by downloading and burning the chosen
274LiveCD.
275</p> 224<p>
276 225You have chosen to use a Gentoo Installation CD. We'll first start by
226downloading and burning the chosen Installation CD. We previously discussed
227the several available Installation CDs, but where can you find them?
277<p> 228</p>
278Visit one of our <uri 229
279link="/main/en/mirrors.xml">mirrors</uri> and go to
280<path>releases/1.4rc1/alpha</path> which is where the LiveCD(s) of your choice
281are located. Inside that directory you'll find so-called ISO-files. Those are
282full CD images which you can write on a CD-R.
283</p> 230<p>
284 231You can download any of the Installation CDs from one of our <uri
232link="/main/en/mirrors.xml">mirrors</uri>. The Installation CDs are located in
233the <path><keyval id="release-dir"/>current-iso/</path> directory.
285<p> 234</p>
235
236<p>
237Inside that directory you'll find ISO files. Those are full CD images which you
238can write on a CD-R.
239</p>
240
241<p>
286In case you wonder if your downloaded file is corrupted or not, you can 242In case you wonder if your downloaded file is corrupted or not, you can check
287check its MD5 checksum and compare it with the MD5 checksum we provide (such as 243its MD5 checksum and compare it with the MD5 checksum we provide (such as
288<path>gentoo-alpha-1.4rc1-test3.iso.bz2.md5sum</path>). You can check the MD5 244<path><keyval id="min-cd-name"/>.DIGESTS</path>). You can check the MD5 checksum
289checksum with the <c>md5sum</c> tool under Linux/Unix or <uri 245with the <c>md5sum</c> tool under Linux/Unix or <uri
290link="http://www.etree.org/md5com.html">md5sum</uri> for Windows. 246link="http://www.etree.org/md5com.html">md5sum</uri> for Windows.
291</p> 247</p>
292
293<p>
294Once downloaded, decompress the ISO file (as it is stored in a compressed format
295using the Burrows-Wheeler text compression algorithm) using <c>bunzip2</c> (on
296Unix/Linux systems):
297</p>
298
299<pre caption="Decompressing the iso.bz2 file">
300# <i>bunzip2 gentoo-alpha-1.4rc1-test3.iso.bz2</i>
301</pre>
302 248
303<p> 249<p>
304Another way to check the validity of the downloaded file is to use GnuPG to 250Another way to check the validity of the downloaded file is to use GnuPG to
305verify the cryptographic signature that we provide (the file ending with 251verify the cryptographic signature that we provide (the file ending with
306<path>.asc</path>). Download the signature file and obtain the public key: 252<path>.asc</path>). Download the signature file and obtain the public key:
307</p> 253</p>
308 254
309<pre caption="Obtaining the public key"> 255<pre caption="Obtaining the public key">
310$ <i>gpg --keyserver pgp.mit.edu --recv-keys 17072058</i> 256$ <i>gpg --keyserver subkeys.pgp.net --recv-keys 2D182910</i>
311</pre> 257</pre>
312 258
313<p> 259<p>
314Now verify the signature: 260Now verify the signature:
315</p> 261</p>
316 262
317<pre caption="Verify the cryptographic signature"> 263<pre caption="Verify the files">
318$ <i>gpg --verify &lt;signature file&gt; &lt;downloaded iso&gt;</i> 264<comment>(Verify the cryptographic signature)</comment>
265$ <i>gpg --verify &lt;downloaded iso.DIGESTS.asc&gt;</i>
266<comment>(Verify the checksum)</comment>
267$ <i>sha1sum -c &lt;downloaded iso.DIGESTS.asc&gt;</i>
319</pre> 268</pre>
320 269
321<p> 270<p>
322To burn the downloaded ISO(s), you have to select raw-burning. How you 271To burn the downloaded ISO(s), you have to select raw-burning. How you
323do this is highly program-dependent. We will discuss <c>cdrecord</c> and 272do this is highly program-dependent. We will discuss <c>cdrecord</c> and
325link="/doc/en/faq.xml#isoburning">Gentoo FAQ</uri>. 274link="/doc/en/faq.xml#isoburning">Gentoo FAQ</uri>.
326</p> 275</p>
327 276
328<ul> 277<ul>
329 <li> 278 <li>
330 With cdrecord, you simply type <c>cdrecord dev=/dev/hdc</c> (replace 279 With cdrecord, you simply type <c>cdrecord dev=/dev/hdc &lt;downloaded iso
331 <path>/dev/hdc</path> with your CD-RW drive's device path) followed 280 file&gt;</c> (replace <path>/dev/hdc</path> with your CD-RW drive's
332 by the path to the ISO file :) 281 device path).
333 </li> 282 </li>
334 <li> 283 <li>
335 With K3B, select <c>Tools</c> &gt; <c>CD</c> &gt; <c>Burn Image</c>. Then 284 With K3B, select <c>Tools</c> &gt; <c>Burn CD Image</c>. Then you can locate
336 you can locate your ISO file within the 'Image to Burn' area. Finally click 285 your ISO file within the 'Image to Burn' area. Finally click <c>Start</c>.
337 <c>Start</c>.
338 </li> 286 </li>
339</ul> 287</ul>
340 288
341</body> 289</body>
342</subsection> 290</subsection>
343<subsection> 291<subsection>
344<title>Booting the Alpha LiveCD(s)</title> 292<title>Booting the Installation CD</title>
345<body> 293<body>
346 294
347<p> 295<p>
348When your Alpha is powered on, the first thing that gets started is the 296When your Alpha is powered on, the first thing that gets started is the
349firmware. It is loosely synonymous with the BIOS software on PC systems. There 297firmware. It is loosely synonymous with the BIOS software on PC systems. There
351Manual</e>) and ARC (<e>Advanced Risc Console</e>). 299Manual</e>) and ARC (<e>Advanced Risc Console</e>).
352</p> 300</p>
353 301
354<p> 302<p>
355SRM is based on the Alpha Console Subsystem specification, which provides an 303SRM is based on the Alpha Console Subsystem specification, which provides an
356operating environment for OpenVMS, Tru64 UNIX, and Linux operating systems. ARM 304operating environment for OpenVMS, Tru64 UNIX, and Linux operating systems. ARC
357is based on the Advanced RISC Computing (ARC) specification, which provides 305is based on the Advanced RISC Computing (ARC) specification, which provides
358an operating environment for Windows NT. You can find a 306an operating environment for Windows NT. You can find a
359<uri link="http://www.alphalinux.org/faq/SRM-HOWTO/">detailed guide</uri> on 307<uri link="http://www.alphalinux.org/faq/SRM-HOWTO/">detailed guide</uri> on
360using SRM over at the Alpha Linux website. 308using SRM over at the Alpha Linux website.
361</p> 309</p>
362 310
363<p> 311<p>
364If your Alpha system supports both SRC and ARCs (ARC, AlphaBIOS, ARCSBIOS) you 312If your Alpha system supports both SRM and ARCs (ARC, AlphaBIOS, ARCSBIOS) you
365should follow <uri link="http://www.alphalinux.org/faq/x31.html">these 313should follow <uri link="http://www.alphalinux.org/faq/x31.html">these
366instructions</uri> for switching to SRM. If your system already uses SRM, you 314instructions</uri> for switching to SRM. If your system already uses SRM, you
367are all set. If your system can only use ARCs (Ruffian, nautilus, xl, etc.) you 315are all set. If your system can only use ARCs (Ruffian, nautilus, xl, etc.) you
368will need to choose <c>MILO</c> later on when we are talking about bootloaders. 316will need to choose <c>MILO</c> later on when we are talking about bootloaders.
369</p> 317</p>
370 318
371<p> 319<p>
372Now to boot an Alpha LiveCD, put the CD-ROM in the tray and reboot the system. 320Now to boot an Alpha Installation CD, put the CD-ROM in the tray and reboot the
373You can use SRM to boot the LiveCD. If you cannot do that, you will have to use 321system. You can use SRM to boot the Installation CD. If you cannot do that, you
374<c>MILO</c>. If you don't have <c>MILO</c> installed already, use one of the 322will have to use <c>MILO</c>.
375precompiled <c>MILO</c> images available on <uri
376link="http://dev.gentoo.org/~taviso/milo/">taviso's homepage</uri>.
377</p> 323</p>
378 324
379<pre caption="Booting a CD-ROM using SRM"> 325<pre caption="Booting a CD-ROM using SRM">
380<comment>(List available hardware drives)</comment> 326<comment>(List available hardware drives)</comment>
381&gt;&gt;&gt; <i>show device</i> 327&gt;&gt;&gt; <i>show device</i>
382dkb0.0.1.4.0 DKB0 TOSHIBA CDROM 328dkb0.0.1.4.0 DKB0 TOSHIBA CDROM
383<comment>(...)</comment> 329<comment>(...)</comment>
384<comment>(Substitute dkb0 with your CD-ROM drive device)</comment> 330<comment>(Substitute dkb0 with your CD-ROM drive device)</comment>
385&gt;&gt;&gt; <i>boot dkb0 -flags 0</i> 331&gt;&gt;&gt; <i>boot dkb0 -flags 0</i>
332<comment>(This flag will use serial port ttyS0 as the default console)</comment>
333&gt;&gt;&gt; <i>boot dkb0 -flags 2</i>
386</pre> 334</pre>
387 335
388<pre caption="Booting a CD-ROM using MILO"> 336<pre caption="Booting a CD-ROM using MILO">
389<comment>(Substitute hdb with your CD-ROM drive device)</comment> 337<comment>(Substitute sdb with your CD-ROM drive device)</comment>
390MILO&gt; <i>boot hdb:boot/vmlinuz initrd=initrd.img root=/dev/ram0 init=/linuxrc</i> 338MILO&gt; <i>boot sdb:/boot/gentoo initrd=/boot/gentoo.igz root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs cdroot</i>
339<comment>(Using serial port ttyS0 as the default console)</comment>
340MILO&gt; <i>boot sdb:/boot/gentoo initrd=/boot/gentoo.igz root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs console=ttyS0 cdroot</i>
391</pre> 341</pre>
392 342
393<p> 343<p>
394You should have a root ("#") prompt on the current console and can also switch 344You should have a root ("#") prompt on the current console and can also switch
395to other consoles by pressing Alt-F2, Alt-F3 and Alt-F4. Get back to the one you 345to other consoles by pressing Alt-F2, Alt-F3 and Alt-F4. Get back to the one you
400Now continue with <uri link="#hardware">Extra Hardware Configuration</uri>. 350Now continue with <uri link="#hardware">Extra Hardware Configuration</uri>.
401</p> 351</p>
402 352
403</body> 353</body>
404</subsection> 354</subsection>
405<subsection id="hardware">
406<title>Extra Hardware Configuration</title>
407<body>
408 355
409<p>
410When the Live CD boots, it tries to detect all your hardware devices and
411loads the appropriate kernel modules to support your hardware. In the
412vast majority of cases, it does a very good job. However, in some cases (the
413SPARC LiveCDs don't even do autodetection), it may not auto-load the kernel
414modules you need. If the PCI auto-detection missed some of your system's
415hardware, you will have to load the appropriate kernel modules manually.
416</p>
417
418<p>
419In the next example we try to load the <c>8139too</c> module (support for
420certain kinds of network interfaces):
421</p>
422
423<pre caption="Loading kernel modules">
424# <i>modprobe 8139too</i>
425</pre>
426
427</body>
428</subsection> 356<subsection>
357<include href="hb-install-bootconfig.xml"/>
429<subsection> 358</subsection>
430<title>Optional: Tweaking Hard Disk Performance</title>
431<body>
432 359
433<p>
434If you are an advanced user, you might want to tweak the IDE hard disk
435performance using <c>hdparm</c>. With the <c>-tT</c> options you can
436test the performance of your disk (execute it several times to get a
437more precise impression):
438</p>
439
440<pre caption="Testing disk performance">
441# <i>hdparm -tT /dev/hda</i>
442</pre>
443
444<p>
445To tweak, you can use any of the following examples (or experiment
446yourself) which use <path>/dev/hda</path> as disk (substitute with your
447disk):
448</p>
449
450<pre caption="Tweaking hard disk performance">
451<comment>Activate DMA:</comment> # <i>hdparm -d 1 /dev/hda</i>
452<comment>Activate DMA + Safe Performance-enhancing Options:</comment> # <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i>
453</pre>
454
455</body>
456</subsection>
457<subsection id="useraccounts">
458<title>Optional: User Accounts</title>
459<body>
460
461<p>
462If you plan on giving other people access to your installation
463environment or you want to chat using <c>irssi</c> without root privileges (for
464security reasons), you need to create the necessary user accounts and change
465the root password.
466</p>
467
468<p>
469To change the root password, use the <c>passwd</c> utility:
470</p>
471
472<pre caption="Changing the root password">
473# <i>passwd</i>
474New password: <comment>(Enter your new password)</comment>
475Re-enter password: <comment>(Re-enter your password)</comment>
476</pre>
477
478<p>
479To create a user account, we first enter their credentials, followed by
480its password. We use <c>useradd</c> and <c>passwd</c> for these tasks.
481In the next example, we create a user called &quot;john&quot;.
482</p>
483
484<pre caption="Creating a user account">
485# <i>useradd -m -G users john</i>
486# <i>passwd john</i>
487New password: <comment>(Enter john's password)</comment>
488Re-enter password: <comment>(Re-enter john's password)</comment>
489</pre>
490
491<p>
492You can change your user id from root to the newly created user by using
493<c>su</c>:
494</p>
495
496<pre caption="Changing user id">
497# <i>su - john</i>
498</pre>
499
500</body>
501</subsection>
502<subsection>
503<title>Optional: Viewing Documentation while Installing</title>
504<body>
505
506<p>
507If you want to view the Gentoo Handbook (either from-CD or online) during the
508installation, make sure you have created a user account (see <uri
509link="#useraccounts">Optional: User Accounts</uri>). Then press <c>Alt-F2</c> to
510go to a new terminal and log in.
511</p>
512
513<p>
514If you want to view the documentation on the CD you can immediately run
515<c>lynx</c> to read it:
516</p>
517
518<pre caption="Viewing the on-CD documentation">
519# <i>lynx /mnt/cdrom/docs/html/index.html</i>
520</pre>
521
522<p>
523However, it is preferred that you use the online Gentoo Handbook as it will be
524more recent than the one provided on the CD. You can view it using <c>lynx</c>
525as well, but only after having completed the <e>Configuring your Network</e>
526chapter (otherwise you won't be able to go on the Internet to view the
527document):
528</p>
529
530<pre caption="Viewing the Online Documentation">
531# <i>lynx http://www.gentoo.org/doc/en/handbook/handbook-alpha.xml</i>
532</pre>
533
534<p>
535You can go back to your original terminal by pressing <c>Alt-F1</c>.
536</p>
537
538</body>
539</subsection>
540<subsection>
541<title>Optional: Starting the SSH Daemon</title>
542<body>
543
544<p>
545If you want to allow other users to access your computer during the
546Gentoo installation (perhaps because those users are going to help you
547install Gentoo, or even do it for you), you need to create a user
548account for them and perhaps even provide them with your root password
549(<e>only</e> do that <e>if</e> you <b>fully trust</b> that user).
550</p>
551
552<p>
553To fire up the SSH daemon, execute the following command:
554</p>
555
556<pre caption="Starting the SSH daemon">
557# <i>/etc/init.d/sshd start</i>
558</pre>
559
560<p>
561To be able to use sshd, you first need to set up your networking. Continue with
562the chapter on <uri link="?part=1&amp;chap=3">Configuring your Network</uri>.
563</p>
564
565</body>
566</subsection>
567</section> 360</section>
568</sections> 361</sections>

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.54

  ViewVC Help
Powered by ViewVC 1.1.20