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

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.48

  ViewVC Help
Powered by ViewVC 1.1.20