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

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

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

Revision 1.6 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-sparc-medium.xml,v 1.6 2004/04/28 07:52:30 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-medium.xml,v 1.48 2009/01/26 07:51:05 nightmorph Exp $ -->
8 8
9<sections> 9<sections>
10
11<version>9.2</version>
12<date>2009-01-25</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 SPARC Architecture</title> 27<subsection>
28<title>Hardware Requirements</title>
26<body> 29<body>
27 30
28<p> 31<table>
29Check the following requirements before you 32<tr>
30continue with the Gentoo installation: 33 <th>Sparc System</th>
31</p> 34 <ti>
32 35 Please check the <uri link="/proj/en/base/sparc/sunhw.xml">Gentoo
33<ul> 36 Linux/SPARC64 Compatibility list</uri> or the <uri
34<li>
35 You need at least 1 Gb of free disk space
36</li>
37<li>
38 If you do not use prebuilt packages, you need at least 300 Mb of memory (RAM +
39 swap)
40</li>
41<li>
42 For the <e>SPARC architecture</e>, you should check with the <uri
43 link="http://www.ultralinux.org/faq.html#s_2">UltraLinux FAQ</uri> 37 link="http://www.ultralinux.org/faq.html#s_2">UltraLinux FAQ</uri>
44</li> 38 </ti>
45</ul> 39</tr>
40<tr>
41 <th>CPU</th>
42 <ti>
43 We currently only support sparc64 CPUs
44 </ti>
45</tr>
46<tr>
47 <th>Memory</th>
48 <ti>64 MB</ti>
49</tr>
50<tr>
51 <th>Diskspace</th>
52 <ti>1.5 GB (excluding swap space)</ti>
53</tr>
54<tr>
55 <th>Swap space</th>
56 <ti>At least 256 MB</ti>
57</tr>
58</table>
46 59
47</body> 60</body>
48</subsection> 61</subsection>
49</section> 62</section>
63
64<!-- START -->
50<section> 65<section>
51<title>Make your Choice</title> 66<title>The Gentoo Installation CDs</title>
52<subsection> 67<subsection>
53<title>Introduction</title> 68<title>Introduction</title>
54<body> 69<body>
55 70
56<p> 71<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>Gentoo's Minimal LiveCD</li>
69<li>Gentoo's Universal LiveCD</li>
70</ul>
71
72<p>
73Every single media has its advantages and disadvantages. We will list
74the pros and cons of every medium so you have all the information to
75make a justified decision. But before we continue, let's explain our
76three-stage installation.
77</p>
78
79</body>
80</subsection>
81<subsection>
82<title>The Three Stages</title>
83<body>
84
85<p>
86Gentoo Linux can be installed using one of three <e>stage</e> tarball files.
87The one you choose depends on how much of the system you want to compile
88yourself. The <e>stage1</e> tarball is used when you want to bootstrap and
89build the entire system from scratch. The <e>stage2</e> tarball is used for
90building the entire system from a bootstrapped &quot;semi-compiled&quot; state.
91The <e>stage3</e> tarball already contains a basic Gentoo Linux system that has
92been built for you. As we will explain later, you can also install
93Gentoo without compiling anything (except your kernel and some optional
94packages). If you want this, you have to use a <e>stage3</e> tarball.
95</p>
96
97<p>
98Now what stage do you have to choose?
99</p>
100
101<p>
102Starting from a <e>stage1</e> allows you to have total control over the
103optimization settings and optional build-time functionality that is
104initially enabled on your system. This makes <e>stage1</e> installs good for
105power users who know what they are doing. It is also a great
106installation method for those who would like to know more about the
107inner workings of Gentoo Linux.
108</p>
109
110<table>
111<tr>
112 <th>Stage1</th>
113 <th>Pros and Cons</th>
114</tr>
115<tr>
116 <th>+</th>
117 <ti>
118 Allows you to have total control over the optimization settings and optional
119 build-time functionality that is initially enabled on your system
120 </ti>
121</tr>
122<tr>
123 <th>+</th>
124 <ti>Suitable for powerusers that know what they are doing</ti>
125</tr>
126<tr>
127 <th>+</th>
128 <ti>Allows you to learn more about the inner workings of Gentoo</ti>
129</tr>
130<tr>
131 <th>-</th>
132 <ti>Takes a long time to finish the installation</ti>
133</tr>
134<tr>
135 <th>-</th>
136 <ti>
137 If you don't intend to tweak the settings, it is probably a waste of time
138 </ti>
139</tr>
140</table>
141
142<p>
143<e>Stage2</e> installs allow you to skip the bootstrap process and doing this
144is fine if you are happy with the optimization settings that we chose
145for your particular <e>stage2</e> tarball.
146</p>
147
148<table>
149<tr>
150 <th>Stage2</th>
151 <th>Pros and Cons</th>
152</tr>
153<tr>
154 <th>+</th>
155 <ti>You don't need to bootstrap</ti>
156</tr>
157<tr>
158 <th>+</th>
159 <ti>Faster than starting with stage1</ti>
160</tr>
161<tr>
162 <th>+</th>
163 <ti>You can still tweak your settings</ti>
164</tr>
165<tr>
166 <th>-</th>
167 <ti>You cannot tweak as much as with a stage1</ti>
168</tr>
169<tr>
170 <th>-</th>
171 <ti>It's not the fastest way to install Gentoo</ti>
172</tr>
173<tr>
174 <th>-</th>
175 <ti>You have to accept the optimizations we chose for the bootstrap</ti>
176</tr>
177</table>
178
179<p>
180Choosing to go with a <e>stage3</e> allows for the fastest install of Gentoo
181Linux, but also means that your base system will have the optimization
182settings that we chose for you (which to be honest, are good settings
183and were carefully chosen to enhance performance while maintaining
184stability). <e>stage3</e> is also required if you want to install Gentoo using
185prebuilt packages.
186</p>
187
188<table>
189<tr>
190 <th>Stage3</th>
191 <th>Pros and Cons</th>
192</tr>
193<tr>
194 <th>+</th>
195 <ti>Fastest way to get a Gentoo base system</ti>
196</tr>
197<tr>
198 <th>-</th>
199 <ti>You cannot tweak the base system - it's built already</ti>
200</tr>
201<tr>
202 <th>-</th>
203 <ti>You cannot brag about having used stage1 or stage2</ti>
204</tr>
205</table>
206
207<p>
208Write down (or remember) what stage you want to use. You need this later when
209you decide what LiveCD (or other installation medium) you want to use. You might
210be interested to know that, if you decide to use different optimization settings
211after having installed Gentoo, you will be able to recompile your entire system
212with the new optimization settings.
213</p>
214
215<p>
216Now take a look at the available installation media.
217</p>
218
219</body>
220</subsection>
221<subsection>
222<title>Gentoo LiveCDs</title>
223<body>
224
225<p>
226The <e>Gentoo LiveCDs</e> are bootable CDs which contain a 72The <e>Gentoo Installation CDs</e> are bootable CDs which contain a
227self-sustained Gentoo environment. They allow you to boot Linux from the CD. 73self-sustained Gentoo environment. They allow you to boot Linux from the CD.
228During the boot process your hardware is detected and the appropriate drivers 74During the boot process your hardware is detected and the appropriate drivers
229are loaded. They are maintained by Gentoo developers. 75are loaded. They are maintained by Gentoo developers.
230</p> 76</p>
231 77
232<p> 78<p>
233All LiveCDs allow you to boot, setup networking, initialize your 79All Installation CDs allow you to boot, set up networking, initialize your
234partitions and start installing Gentoo from the Internet. However, some 80partitions and start installing Gentoo from the Internet. We currently provide
235LiveCDs also contain all necessary source code so you are able to install 81two Installation CDs which are equally suitable to install Gentoo from, as long
236Gentoo without a working network configuration. 82as you're planning on performing an Internet-based installation using the latest
237</p> 83version of the available packages.
238
239<p> 84</p>
240Now what do these LiveCDs contain? 85
241</p> 86<p>
87If you wish to install Gentoo without a working Internet connection, please use
88the installation instructions described in the <uri
89link="2008.0/index.xml">Gentoo 2008.0 Handbooks</uri>.
90</p>
242 91
92<p>
93The two Installation CDs that we currently provide are:
94</p>
95
96<ul>
97 <li>
98 The Gentoo <e>Minimal</e> Installation CD, a small, no-nonsense, bootable CD
99 which sole purpose is to boot the system, prepare the networking and
100 continue with the Gentoo installation.
101 </li>
102 <li>
103 The Gentoo <e>Universal</e> Installation CD, a bootable CD with the same
104 abilities as the Minimal Installation CD. Additionally, it contains
105 several stage3 tarballs (optimized for the individual subarchitectures).
106 </li>
107</ul>
108
109<p>
110To help you decide which Installation CD you need, we have written down the
111major advantages and disadvantages of each Installation CD.
112</p>
113
243</body> 114</body>
244</subsection>
245<subsection> 115</subsection>
116<subsection>
246<title>Gentoo's Minimal LiveCD</title> 117<title>Gentoo's Minimal Installation CD</title>
247<body> 118<body>
248 119
249<p> 120<p>
250This is a small, no-nonsense, bootable CD which sole purpose is to boot the 121The Minimal Installation CD is called <c>install-sparc64-minimal-2008.0.iso</c>
251system, prepare the networking and continue with the Gentoo installation. It 122and takes up only 44 MB of diskspace. You can use this Installation CD to
252does not contain any stages (or, in some cases, a single stage1 file), 123install Gentoo, but always with a working Internet connection only.
253source code or precompiled packages. For example the sparc64 variant of this
254LiveCD can be found in the <path>sparc64/</path> subdirectory and is called
255<c>install-sparc64-minimal-2004.1.iso</c>.
256</p> 124</p>
257 125
258<table> 126<table>
259<tr> 127<tr>
260 <th>Minimal LiveCD</th> 128 <th>Minimal Installation CD</th>
261 <th>Pros and Cons</th> 129 <th>Pros and Cons</th>
262</tr> 130</tr>
263<tr> 131<tr>
264 <th>+</th> 132 <th>+</th>
265 <ti>Smallest download</ti> 133 <ti>Smallest download</ti>
266</tr> 134</tr>
267<tr> 135<tr>
268 <th>+</th>
269 <ti>Suitable for a complete architecture</ti>
270</tr>
271<tr>
272 <th>+</th>
273 <ti>
274 You can do a stage1, stage2 or stage3 by getting the stage tarball off the
275 net
276 </ti>
277</tr>
278<tr>
279 <th>-</th> 136 <th>-</th>
280 <ti> 137 <ti>
281 Contains no stages, no portage snapshot, no GRP packages and therefore not 138 Contains no stage3 tarball, no Portage snapshot, no prebuilt packages and is
282 suitable for networkless installation 139 therefore not suitable for networkless installation
283 </ti> 140 </ti>
284</tr> 141</tr>
285</table> 142</table>
286 143
287</body> 144</body>
288</subsection> 145</subsection>
289<subsection> 146<subsection>
290<title>Gentoo's Universal LiveCD</title> 147<title>Gentoo's Universal Installation CD</title>
291<body> 148<body>
292 149
293<p>
294Gentoo's Universal LiveCD is a bootable CD suitable to install Gentoo without
295networking. It contains a stage1 and stage3 tarballs (optimized for the
296sparc architecture). For example the sparc64 variant of this CD is called
297<c>install-sparc64-universal-2004.1.iso</c> and can be found in the
298<path>sparc64/</path> subdirectory.
299</p> 150<p>
300 151The Universal Installation CD is called
301<p> 152<c>install-sparc64-universal-2008.0.iso</c> and uses 295 MB. You can use this
302If you take a closer look into the directories you will see 153Installation CD to install Gentoo, and you can even use it to install Gentoo
303that we provide a <e>Gentoo Package CD</e>. This CD (which isn't 154without a working internet connection.
304bootable) only contains precompiled packages and can be used to install software
305after a succesfull Gentoo Installation. To install Gentoo, you only
306need the Universal LiveCD, but if you want OpenOffice.org, Mozilla, KDE, GNOME
307etc. without having to compile every single one of them, you need the Packages
308CD too. Such a Packages CD for sparc64 is called
309<c>packages-sparc64-2004.1.iso</c>.
310</p> 155</p>
311 156
312<table> 157<table>
313<tr> 158<tr>
314 <th>Universal LiveCD with Packages CD</th> 159 <th>Universal Installation CD</th>
315 <th>Pros and Cons</th> 160 <th>Pros and Cons</th>
316</tr>
317<tr>
318 <th>+</th>
319 <ti>Packages CD is optimized to your architecture and subarchitecture</ti>
320</tr>
321<tr>
322 <th>+</th>
323 <ti>
324 Packages CD provides precompiled packages for fast Gentoo installations
325 </ti>
326</tr> 161</tr>
327<tr> 162<tr>
328 <th>+</th> 163 <th>+</th>
329 <ti> 164 <ti>
330 Contains everything you need. You can even install without a network 165 Contains everything you need. You can even install without a network
337</tr> 172</tr>
338</table> 173</table>
339 174
340</body> 175</body>
341</subsection> 176</subsection>
177<subsection>
178<title>Other CDs</title>
179<body>
180
181<p>
182You might find a <e>Package CD</e> on one of our mirrors. This CD is not an
183Installation CD but an additional resource that can be exploited during a
184networkless installation. It contains prebuilt packages (also known as the GRP
185set) that allow you to easily and quickly install additional applications
186(such as OpenOffice.org, KDE, GNOME, ...) immediately after the networkless
187Gentoo installation.
188</p>
189
190<p>
191If you intend to use the Packages CD to quickly install additional software,
192make sure that you use the same subarchitecture as the stage3 tarball you use.
193</p>
194
195</body>
196</subsection>
197<subsection>
198<title>The Stage3 Tarball</title>
199<body>
200
201<p>
202A stage3 tarball is an archive containing a minimal Gentoo environment, suitable
203to continue the Gentoo installation using the instructions in this manual.
204Previously, the Gentoo Handbook described the installation using one of three
205stage tarballs. While Gentoo still offers stage1 and stage2 tarballs, the
206official installation method uses the stage3 tarball. If you are interested in
207performing a Gentoo installation using a stage1 or stage2 tarball, please read
208the Gentoo FAQ on <uri link="/doc/en/faq.xml#stage12">How do I Install Gentoo
209Using a Stage1 or Stage2 Tarball?</uri>
210</p>
211
212</body>
213</subsection>
342</section> 214</section>
215<!-- STOP -->
343<section> 216<section>
344<title>Download, Burn and Boot a Gentoo LiveCD</title> 217<title>Download, Burn and Boot a Gentoo Installation CD</title>
345<subsection> 218<subsection>
346<title>Downloading and Burning the LiveCDs</title> 219<title>Downloading and Burning the Installation CDs</title>
347<body> 220<body>
348 221
349<p>
350You have chosen to use a Gentoo LiveCD (if not, then you are reading the
351wrong section). We'll first start by downloading and burning the chosen
352LiveCD. We previously discussed the several available LiveCDs, but where can you
353find them?
354</p> 222<p>
355 223You have chosen to use a Gentoo Installation CD. We'll first start by
224downloading and burning the chosen Installation CD. We previously discussed
225the several available Installation CDs, but where can you find them?
356<p> 226</p>
357Visit one of our <uri 227
358link="/main/en/mirrors.xml">mirrors</uri> and go to
359<path>releases/sparc/2004.1/livecd</path> where the LiveCD(s) of
360your choice are located. Inside the subdirectories <path>sparc32/</path> and
361<path>sparc64/</path> you'll find so-called ISO-files.
362Those are full CD images which you can write on a CD-R.
363</p> 228<p>
364 229You can download any of the Installation CDs (and, if you want to, a Packages CD
230as well) from one of our <uri link="/main/en/mirrors.xml">mirrors</uri>. The
231Installation CDs are located in the <path><keyval
232id="release-dir"/>installcd</path> directory.
365<p> 233</p>
234
235<p>
236Inside that directory you'll find ISO files. Those are full CD images which you
237can write on a CD-R.
238</p>
239
240<p>
366In case you wonder if your downloaded file is corrupted or not, you can 241In case you wonder if your downloaded file is corrupted or not, you can check its
367check its MD5 checksum and compare it with the MD5 checksum we provide (such as 242MD5 checksum and compare it with the MD5 checksum we provide (such as
368<path>install-sparc64-minimal-2004.1.iso.md5</path>). You can check the MD5 243<path>install-sparc64-minimal-2008.0.iso.DIGESTS</path>). You can check the MD5
369checksum with the <c>md5sum</c> tool under Linux/Unix or <uri 244checksum with the <c>md5sum</c> tool under Linux/Unix or <uri
370link="http://www.md5summer.org">md5summer</uri> for Windows. 245link="http://www.etree.org/md5com.html">md5sum</uri> for Windows.
246</p>
247
371</p> 248<p>
249Another way to check the validity of the downloaded file is to use GnuPG to
250verify the cryptographic signature that we provide (the file ending with
251<path>.asc</path>). Download the signature file and obtain the public key:
252</p>
253
254<pre caption="Obtaining the public key">
255$ <i>gpg --keyserver subkeys.pgp.net --recv-keys 17072058</i>
256</pre>
257
258<p>
259Now verify the signature:
260</p>
261
262<pre caption="Verify the cryptographic signature">
263$ <i>gpg --verify &lt;signature file&gt; &lt;downloaded iso&gt;</i>
264</pre>
372 265
373<p> 266<p>
374To burn the downloaded ISO(s), you have to select raw-burning. How you 267To burn the downloaded ISO(s), you have to select raw-burning. How you
375do this is highly program-dependent. We will discuss a couple of popular 268do this is highly program-dependent. We will discuss <c>cdrecord</c> and
376tools on how to do this. 269<c>K3B</c> here; more information can be found in our <uri
270link="/doc/en/faq.xml#isoburning">Gentoo FAQ</uri>.
377</p> 271</p>
378 272
379<ul> 273<ul>
380 <li> 274 <li>
381 With EasyCD Creator you select <c>File</c>, <c>Record CD 275 With cdrecord, you simply type <c>cdrecord dev=/dev/hdc &lt;downloaded iso
382 from CD image</c>. Then you change the <c>Files of type</c> to <c>ISO image 276 file&gt;</c> (replace <path>/dev/hdc</path> with your CD-RW drive's device
383 file</c>. Then locate the ISO file and click <c>Open</c>. When you click on 277 path).
384 <c>Start recording</c> the ISO image will be burned correctly onto the CD-R.
385 </li> 278 </li>
386 <li> 279 <li>
387 With Nero Burning ROM, select <c>File</c>, <c>Burn CD image</c>. Set the
388 type of file to <c>*.*</c> and select the ISO file. Older versions of Nero
389 will tell you they don't recognize the format -- confirm here, it does
390 recognize it but doesn't know it yet :) In the next dialog, set the
391 following parameters:
392 <ul>
393 <li>Type of image: <c>Data Mode 1</c></li>
394 <li>Block size: <c>2048 bytes</c></li>
395 <li>File precursor and length of the image trailer: <c>0 bytes</c></li>
396 <li>Scrambled: <c>no</c></li>
397 <li>Swapped: <c>no</c></li>
398 </ul>
399 Now click on <c>OK</c> and then <c>Burn</c> (the CD-R)
400 </li>
401 <li>
402 With cdrecord, you simply type <c>cdrecord dev=/dev/hdc</c> (replace
403 <path>/dev/hdc</path> with your CD-RW drive's device path) followed
404 by the path to the ISO file :)
405 </li>
406 <li>
407 With K3B, select <c>Tools</c> &gt; <c>CD</c> &gt; <c>Burn Image</c>. Then 280 With K3B, select <c>Tools</c> &gt; <c>Burn CD Image</c>. Then you can locate
408 you can locate your ISO file within the 'Image to Burn' area. Finally click 281 your ISO file within the 'Image to Burn' area. Finally click <c>Start</c>.
409 <c>Start</c>.
410 </li> 282 </li>
411</ul> 283</ul>
412 284
413</body> 285</body>
414</subsection> 286</subsection>
415<subsection> 287<subsection>
416<title>Booting the SPARC LiveCD</title> 288<title>Booting the Installation CD</title>
417<body> 289<body>
418 290
419<p> 291<p>
420Insert the Gentoo LiveCD in the CD-ROM and boot your system. During startup, 292Insert the Gentoo Installation CD in the CD-ROM and boot your system. During
421press Stop-A to enter OpenBootPROM (OBP). Once you are in the OBP, boot from the 293startup, press Stop-A to enter OpenBootPROM (OBP). Once you are in the OBP,
422CD-ROM: 294boot from the CD-ROM:
423</p> 295</p>
424 296
425<pre caption="Booting the LiveCD"> 297<pre caption="Booting the Installation CD">
426ok <i>boot cdrom</i> 298ok <i>boot cdrom</i>
427</pre> 299</pre>
428 300
429<p> 301<p>
430You will be greeted by the SILO boot manager (on the LiveCD). Type in 302You will be greeted by the SILO boot manager (on the Installation CD). You can
431<c>gentoo-2.4</c> (single-CPU kernel) or <c>gentoo-2.4-smp</c> 303hit Enter for more help if you want. Type in <c>gentoo</c> and press enter to
432(multi-CPU kernel) and press enter to continue booting the system. In the 304continue booting the system:
433following example we'll boot the <c>gentoo-2.4</c> kernel.
434</p> 305</p>
435 306
436<pre caption="Continue booting from the LiveCD"> 307<pre caption="Continue booting from the Installation CD">
437boot: <i>gentoo-2.4</i> 308boot: <i>gentoo</i>
438</pre> 309</pre>
439 310
440<p> 311<p>
441Once the LiveCD is booted, you will be greeted by a login prompt. Log on as 312Once the Installation CD is booted, you will be automatically logged on to the
442<c>root</c>. There is no password, so when you are asked for one, press Enter. 313system.
443</p>
444
445<pre caption="Logging on onto the LiveCD">
446login: <i>root</i>
447password: <comment>(Press Enter here)</comment>
448</pre>
449
450<p> 314</p>
315
316<p>
451You should have a root ("#") prompt on the current console and can also switch 317You should have a root ("#") prompt on the current console. You will also find a
452to other consoles by pressing Alt-F2, Alt-F3 and Alt-F4. Get back to the one you 318root prompt on the serial console (<path>ttyS0</path>).
453started on by pressing Alt-F1.
454</p> 319</p>
455 320
456<p> 321<p>
457Continue with <uri link="#hardware">Extra Hardware Configuration</uri>. 322Continue with <uri link="#hardware">Extra Hardware Configuration</uri>.
458</p> 323</p>
459 324
460</body> 325</body>
461</subsection> 326</subsection>
462<subsection id="hardware">
463<title>Extra Hardware Configuration</title>
464<body>
465 327
466<p>
467If not all hardware is supported out-of-the-box, you will need to load the
468appropriate kernel modules.
469</p>
470
471<p>
472In the next example we try to load the <c>8139too</c> module (support for
473certain kinds of network interfaces):
474</p>
475
476<pre caption="Loading kernel modules">
477# <i>modprobe 8139too</i>
478</pre>
479
480</body>
481</subsection> 328<subsection>
329<include href="hb-install-bootconfig.xml"/>
482<subsection> 330</subsection>
483<title>Optional: Tweaking Hard Disk Performance</title>
484<body>
485 331
486<p>
487If you are an advanced user, you might want to tweak the IDE hard disk
488performance using <c>hdparm</c>. With the <c>-tT</c> options you can
489test the performance of your disk (execute it several times to get a
490more precise impression):
491</p>
492
493<pre caption="Testing disk performance">
494# <i>hdparm -tT /dev/hda</i>
495</pre>
496
497<p>
498To tweak, you can use any of the following examples (or experiment
499yourself) which use <path>/dev/hda</path> as disk (substitute with your
500disk):
501</p>
502
503<pre caption="Tweaking hard disk performance">
504<comment>Activate DMA:</comment> # <i>hdparm -d 1 /dev/hda</i>
505<comment>Activate DMA + Safe Performance-enhancing Options:</comment> # <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i>
506</pre>
507
508</body>
509</subsection>
510<subsection>
511<title>Optional: User Accounts</title>
512<body>
513
514<p>
515If you plan on giving other people access to your installation
516environment or you want to chat using <c>irssi</c> without root privileges (for
517security reasons), you need to create the necessary user accounts and change
518the root password.
519</p>
520
521<p>
522To change the root password, use the <c>passwd</c> utility:
523</p>
524
525<pre caption="Changing the root password">
526# <i>passwd</i>
527New password: <comment>(Enter your new password)</comment>
528Re-enter password: <comment>(Re-enter your password)</comment>
529</pre>
530
531<p>
532To create a user account, we first enter their credentials, followed by
533its password. We use <c>useradd</c> and <c>passwd</c> for these tasks.
534In the next example, we create a user called &quot;john&quot;.
535</p>
536
537<pre caption="Creating a user account">
538# <i>useradd john</i>
539# <i>passwd john</i>
540New password: <comment>(Enter john's password)</comment>
541Re-enter password: <comment>(Re-enter john's password)</comment>
542</pre>
543
544<p>
545You can change your user id from root to the newly created user by using
546<c>su</c>:
547</p>
548
549<pre caption="Changing user id">
550# <i>su john -</i>
551</pre>
552
553</body>
554</subsection>
555<subsection>
556<title>Optional: Starting the SSH Daemon</title>
557<body>
558
559<p>
560If you want to allow other users to access your computer during the
561Gentoo installation (perhaps because those users are going to help you
562install Gentoo, or even do it for you), you need to create a user
563account for them and perhaps even provide them with your root password
564(<e>only</e> do that <e>if</e> you <b>fully trust</b> that user).
565</p>
566
567<p>
568To fire up the SSH daemon, execute the following command:
569</p>
570
571<pre caption="Starting the SSH daemon">
572# <i>/etc/init.d/sshd start</i>
573</pre>
574
575<p>
576To be able to use sshd, you first need to setup your networking. Continue with
577the chapter on <uri link="?part=1&amp;chap=3">Configuring your Network</uri>.
578</p>
579
580</body>
581</subsection>
582</section> 332</section>
583</sections> 333</sections>

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

  ViewVC Help
Powered by ViewVC 1.1.20