/[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.25 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.25 2004/12/26 19:33:16 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 10
11<version>1.21</version> 11<version>9.2</version>
12<date>2004-12-26</date> 12<date>2009-01-25</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 SPARC Architecture</title> 27<subsection>
28<title>Hardware Requirements</title>
30<body> 29<body>
31 30
32<p> 31<table>
33Check the following requirements before you 32<tr>
34continue with the Gentoo installation: 33 <th>Sparc System</th>
35</p> 34 <ti>
36 35 Please check the <uri link="/proj/en/base/sparc/sunhw.xml">Gentoo
37<ul> 36 Linux/SPARC64 Compatibility list</uri> or the <uri
38<li>
39 You need at least 1 GB of free disk space
40</li>
41<li>
42 If you do not use prebuilt packages, you need at least 300 MB of memory (RAM +
43 swap)
44</li>
45<li>
46 For the <e>SPARC architecture</e>, you should check with the <uri
47 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>
48</li> 38 </ti>
49</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>
50 59
51</body> 60</body>
52</subsection> 61</subsection>
53</section> 62</section>
63
64<!-- START -->
54<section> 65<section>
55<title>Make your Choice</title> 66<title>The Gentoo Installation CDs</title>
56<subsection> 67<subsection>
57<title>Introduction</title> 68<title>Introduction</title>
58<body> 69<body>
59 70
60<p> 71<p>
61Still interested in trying out Gentoo? Well, then it is now time to
62choose the installation medium you want to use. Yes, you have the
63choice, no, they are not all equal, and yes, the result is always the same: a
64Gentoo base system.
65</p>
66
67<p>
68The installation media we will describe are:
69</p>
70
71<ul>
72<li>Gentoo's Minimal LiveCD</li>
73<li>Gentoo's Universal LiveCD</li>
74</ul>
75
76<p>
77Every single media has its advantages and disadvantages. We will list
78the pros and cons of every medium so you have all the information to
79make a justified decision. But before we continue, let's explain our
80three-stage installation.
81</p>
82
83</body>
84</subsection>
85<subsection>
86<title>The Three Stages</title>
87<body>
88
89<p>
90Gentoo Linux can be installed using one of three <e>stage</e> tarball files.
91The one you choose depends on how much of the system you want to compile
92yourself. The <e>stage1</e> tarball is used when you want to bootstrap and
93build the entire system from scratch. The <e>stage2</e> tarball is used for
94building the entire system from a bootstrapped &quot;semi-compiled&quot; state.
95The <e>stage3</e> tarball already contains a basic Gentoo Linux system that has
96been built for you. As we will explain later, you can also install
97Gentoo without compiling anything (except your kernel and some optional
98packages). If you want this, you have to use a <e>stage3</e> tarball.
99</p>
100
101<p>
102Now what stage do you have to choose?
103</p>
104
105<p>
106Starting from a <e>stage1</e> allows you to have total control over the
107optimization settings and optional build-time functionality that is
108initially enabled on your system. This makes <e>stage1</e> installs good for
109power users who know what they are doing. It is also a great
110installation method for those who would like to know more about the
111inner workings of Gentoo Linux.
112</p>
113
114<p>
115A <e>stage1</e> installation can only be performed when you have a working
116Internet connection.
117</p>
118
119<table>
120<tr>
121 <th>Stage1</th>
122 <th>Pros and Cons</th>
123</tr>
124<tr>
125 <th>+</th>
126 <ti>
127 Allows you to have total control over the optimization settings and optional
128 build-time functionality that is initially enabled on your system
129 </ti>
130</tr>
131<tr>
132 <th>+</th>
133 <ti>Suitable for powerusers that know what they are doing</ti>
134</tr>
135<tr>
136 <th>+</th>
137 <ti>Allows you to learn more about the inner workings of Gentoo</ti>
138</tr>
139<tr>
140 <th>-</th>
141 <ti>Takes a long time to finish the installation</ti>
142</tr>
143<tr>
144 <th>-</th>
145 <ti>
146 If you don't intend to tweak the settings, it is probably a waste of time
147 </ti>
148</tr>
149<tr>
150 <th>-</th>
151 <ti>
152 Not suitable for networkless installations
153 </ti>
154</tr>
155</table>
156
157<p>
158<e>Stage2</e> installs allow you to skip the bootstrap process and doing this
159is fine if you are happy with the optimization settings that we chose
160for your particular <e>stage2</e> tarball.
161</p>
162
163<p>
164A <e>stage2</e> installation can only be performed when you have a working
165Internet connection.
166</p>
167
168<table>
169<tr>
170 <th>Stage2</th>
171 <th>Pros and Cons</th>
172</tr>
173<tr>
174 <th>+</th>
175 <ti>You don't need to bootstrap</ti>
176</tr>
177<tr>
178 <th>+</th>
179 <ti>Faster than starting with stage1</ti>
180</tr>
181<tr>
182 <th>+</th>
183 <ti>You can still tweak your settings</ti>
184</tr>
185<tr>
186 <th>-</th>
187 <ti>You cannot tweak as much as with a stage1</ti>
188</tr>
189<tr>
190 <th>-</th>
191 <ti>It's not the fastest way to install Gentoo</ti>
192</tr>
193<tr>
194 <th>-</th>
195 <ti>You have to accept the optimizations we chose for the bootstrap</ti>
196</tr>
197<tr>
198 <th>-</th>
199 <ti>
200 Not suitable for networkless installations
201 </ti>
202</tr>
203</table>
204
205<p>
206Choosing to go with a <e>stage3</e> allows for the fastest install of Gentoo
207Linux, but also means that your base system will have the optimization
208settings that we chose for you (which to be honest, are good settings
209and were carefully chosen to enhance performance while maintaining
210stability). <e>stage3</e> is also required if you want to install Gentoo using
211prebuilt packages or without a network connection.
212</p>
213
214<table>
215<tr>
216 <th>Stage3</th>
217 <th>Pros and Cons</th>
218</tr>
219<tr>
220 <th>+</th>
221 <ti>Fastest way to get a Gentoo base system</ti>
222</tr>
223<tr>
224 <th>+</th>
225 <ti>Suitable for networkless installations</ti>
226</tr>
227<tr>
228 <th>-</th>
229 <ti>You cannot tweak the base system - it's built already</ti>
230</tr>
231<tr>
232 <th>-</th>
233 <ti>You cannot brag about having used stage1 or stage2</ti>
234</tr>
235</table>
236
237<p>
238Write down (or remember) what stage you want to use. You need this later when
239you decide what LiveCD (or other installation medium) you want to use. You might
240be interested to know that, if you decide to use different optimization settings
241after having installed Gentoo, you will be able to recompile your entire system
242with the new optimization settings.
243</p>
244
245<p>
246Now take a look at the available installation media.
247</p>
248
249</body>
250</subsection>
251<subsection>
252<title>Gentoo LiveCDs</title>
253<body>
254
255<p>
256The <e>Gentoo LiveCDs</e> are bootable CDs which contain a 72The <e>Gentoo Installation CDs</e> are bootable CDs which contain a
257self-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.
258During the boot process your hardware is detected and the appropriate drivers 74During the boot process your hardware is detected and the appropriate drivers
259are loaded. They are maintained by Gentoo developers. 75are loaded. They are maintained by Gentoo developers.
260</p> 76</p>
261 77
262<p> 78<p>
263All LiveCDs allow you to boot, set up networking, initialize your 79All Installation CDs allow you to boot, set up networking, initialize your
264partitions and start installing Gentoo from the Internet. However, some 80partitions and start installing Gentoo from the Internet. We currently provide
265LiveCDs 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
266Gentoo without a working network configuration. 82as you're planning on performing an Internet-based installation using the latest
267</p> 83version of the available packages.
268
269<p> 84</p>
270Now what do these LiveCDs contain? 85
271</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>
272 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
273</body> 114</body>
274</subsection>
275<subsection> 115</subsection>
116<subsection>
276<title>Gentoo's Minimal LiveCD</title> 117<title>Gentoo's Minimal Installation CD</title>
277<body> 118<body>
278 119
279<p> 120<p>
280This 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>
281system, 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
282does not contain any stages (or, in some cases, a single stage1 file), 123install Gentoo, but always with a working Internet connection only.
283source code or precompiled packages. For example the sparc64 variant of this
284LiveCD can be found in the <path>sparc64/</path> subdirectory and is called
285<c>install-sparc64-minimal-2004.3.iso</c>.
286</p> 124</p>
287 125
288<table> 126<table>
289<tr> 127<tr>
290 <th>Minimal LiveCD</th> 128 <th>Minimal Installation CD</th>
291 <th>Pros and Cons</th> 129 <th>Pros and Cons</th>
292</tr> 130</tr>
293<tr> 131<tr>
294 <th>+</th> 132 <th>+</th>
295 <ti>Smallest download</ti> 133 <ti>Smallest download</ti>
296</tr> 134</tr>
297<tr> 135<tr>
298 <th>+</th>
299 <ti>Suitable for a complete architecture</ti>
300</tr>
301<tr>
302 <th>+</th>
303 <ti>
304 You can do a stage1, stage2 or stage3 by getting the stage tarball off the
305 net
306 </ti>
307</tr>
308<tr>
309 <th>-</th> 136 <th>-</th>
310 <ti> 137 <ti>
311 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
312 suitable for networkless installation 139 therefore not suitable for networkless installation
313 </ti> 140 </ti>
314</tr> 141</tr>
315</table> 142</table>
316 143
317</body> 144</body>
318</subsection> 145</subsection>
319<subsection> 146<subsection>
320<title>Gentoo's Universal LiveCD</title> 147<title>Gentoo's Universal Installation CD</title>
321<body> 148<body>
322 149
323<p>
324Gentoo's Universal LiveCD is a bootable CD suitable to install Gentoo without
325networking. It contains a stage1 and stage3 tarballs (optimized for the
326sparc architecture). For example the sparc64 variant of this CD is called
327<c>install-sparc64-universal-2004.3.iso</c> and can be found in the
328<path>sparc64/</path> subdirectory.
329</p> 150<p>
330 151The Universal Installation CD is called
331<p> 152<c>install-sparc64-universal-2008.0.iso</c> and uses 295 MB. You can use this
332If 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
333that we provide a <e>Gentoo Package CD</e>. This CD (which isn't 154without a working internet connection.
334bootable) only contains precompiled packages and can be used to install software
335after a succesfull Gentoo Installation. To install Gentoo, you only
336need the Universal LiveCD, but if you want OpenOffice.org, Mozilla, KDE, GNOME
337etc. without having to compile every single one of them, you need the Packages
338CD too. Such a Packages CD for sparc64 is called
339<c>packages-sparc64-2004.3.iso</c>.
340</p>
341
342<p>
343You only need the Packages CD if you want to perform a stage3 with GRP
344installation.
345</p> 155</p>
346 156
347<table> 157<table>
348<tr> 158<tr>
349 <th>Universal LiveCD with Packages CD</th> 159 <th>Universal Installation CD</th>
350 <th>Pros and Cons</th> 160 <th>Pros and Cons</th>
351</tr>
352<tr>
353 <th>+</th>
354 <ti>Packages CD is optimized to your architecture and subarchitecture</ti>
355</tr>
356<tr>
357 <th>+</th>
358 <ti>
359 Packages CD provides precompiled packages for fast Gentoo installations
360 </ti>
361</tr> 161</tr>
362<tr> 162<tr>
363 <th>+</th> 163 <th>+</th>
364 <ti> 164 <ti>
365 Contains everything you need. You can even install without a network 165 Contains everything you need. You can even install without a network
372</tr> 172</tr>
373</table> 173</table>
374 174
375</body> 175</body>
376</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>
377</section> 214</section>
215<!-- STOP -->
378<section> 216<section>
379<title>Download, Burn and Boot a Gentoo LiveCD</title> 217<title>Download, Burn and Boot a Gentoo Installation CD</title>
380<subsection> 218<subsection>
381<title>Downloading and Burning the LiveCDs</title> 219<title>Downloading and Burning the Installation CDs</title>
382<body> 220<body>
383 221
384<p>
385You have chosen to use a Gentoo LiveCD (if not, then you are reading the
386wrong section). We'll first start by downloading and burning the chosen
387LiveCD. We previously discussed the several available LiveCDs, but where can you
388find them?
389</p> 222<p>
390 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?
391<p> 226</p>
392Visit one of our <uri 227
393link="/main/en/mirrors.xml">mirrors</uri> and go to
394<path>releases/sparc/2004.3/livecd</path> where the LiveCD(s) of
395your choice are located. Inside the subdirectories <path>sparc32/</path> and
396<path>sparc64/</path> you'll find so-called ISO-files.
397Those are full CD images which you can write on a CD-R.
398</p> 228<p>
399 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.
400<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>
401In 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
402check 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
403<path>install-sparc64-minimal-2004.3.iso.md5</path>). You can check the MD5 243<path>install-sparc64-minimal-2008.0.iso.DIGESTS</path>). You can check the MD5
404checksum with the <c>md5sum</c> tool under Linux/Unix or <uri 244checksum with the <c>md5sum</c> tool under Linux/Unix or <uri
405link="http://www.etree.org/md5com.html">md5sum</uri> for Windows. 245link="http://www.etree.org/md5com.html">md5sum</uri> for Windows.
406</p> 246</p>
407 247
408<p> 248<p>
410verify the cryptographic signature that we provide (the file ending with 250verify the cryptographic signature that we provide (the file ending with
411<path>.asc</path>). Download the signature file and obtain the public key: 251<path>.asc</path>). Download the signature file and obtain the public key:
412</p> 252</p>
413 253
414<pre caption="Obtaining the public key"> 254<pre caption="Obtaining the public key">
415$ <i>gpg --keyserver pgp.mit.edu --recv-keys 17072058</i> 255$ <i>gpg --keyserver subkeys.pgp.net --recv-keys 17072058</i>
416</pre> 256</pre>
417 257
418<p> 258<p>
419Now verify the signature: 259Now verify the signature:
420</p> 260</p>
430link="/doc/en/faq.xml#isoburning">Gentoo FAQ</uri>. 270link="/doc/en/faq.xml#isoburning">Gentoo FAQ</uri>.
431</p> 271</p>
432 272
433<ul> 273<ul>
434 <li> 274 <li>
435 With cdrecord, you simply type <c>cdrecord dev=/dev/hdc</c> (replace 275 With cdrecord, you simply type <c>cdrecord dev=/dev/hdc &lt;downloaded iso
436 <path>/dev/hdc</path> with your CD-RW drive's device path) followed 276 file&gt;</c> (replace <path>/dev/hdc</path> with your CD-RW drive's device
437 by the path to the ISO file :) 277 path).
438 </li> 278 </li>
439 <li> 279 <li>
440 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
441 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>.
442 <c>Start</c>.
443 </li> 282 </li>
444</ul> 283</ul>
445 284
446</body> 285</body>
447</subsection> 286</subsection>
448<subsection> 287<subsection>
449<title>Booting the SPARC LiveCD</title> 288<title>Booting the Installation CD</title>
450<body> 289<body>
451 290
452<p> 291<p>
453Insert 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
454press 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,
455CD-ROM: 294boot from the CD-ROM:
456</p> 295</p>
457 296
458<pre caption="Booting the LiveCD"> 297<pre caption="Booting the Installation CD">
459ok <i>boot cdrom</i> 298ok <i>boot cdrom</i>
460</pre> 299</pre>
461 300
462<p> 301<p>
463You 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
464<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
465(multi-CPU kernel) and press enter to continue booting the system. In the 304continue booting the system:
466following example we'll boot the <c>gentoo-2.4</c> kernel.
467</p> 305</p>
468 306
469<pre caption="Continue booting from the LiveCD"> 307<pre caption="Continue booting from the Installation CD">
470boot: <i>gentoo-2.4</i> 308boot: <i>gentoo</i>
471</pre> 309</pre>
472 310
473<p> 311<p>
474Once the LiveCD is booted, you will be greeted by a login prompt <e>if</e> there 312Once the Installation CD is booted, you will be automatically logged on to the
475is no automated login. If that is the case, log on as <c>root</c>. There is no 313system.
476password, so when you are asked for one, press Enter.
477</p>
478
479<pre caption="Logging on onto the LiveCD">
480login: <i>root</i>
481password: <comment>(Press Enter here)</comment>
482</pre>
483
484<p> 314</p>
315
316<p>
485You 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
486to 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>).
487started on by pressing Alt-F1.
488</p> 319</p>
489 320
490<p> 321<p>
491Continue with <uri link="#hardware">Extra Hardware Configuration</uri>. 322Continue with <uri link="#hardware">Extra Hardware Configuration</uri>.
492</p> 323</p>
493 324
494</body> 325</body>
495</subsection> 326</subsection>
496<subsection id="hardware">
497<title>Extra Hardware Configuration</title>
498<body>
499 327
500<p>
501If not all hardware is supported out-of-the-box, you will need to load the
502appropriate kernel modules.
503</p>
504
505<p>
506In the next example we try to load the <c>8139too</c> module (support for
507certain kinds of network interfaces):
508</p>
509
510<pre caption="Loading kernel modules">
511# <i>modprobe 8139too</i>
512</pre>
513
514</body>
515</subsection> 328<subsection>
329<include href="hb-install-bootconfig.xml"/>
516<subsection> 330</subsection>
517<title>Optional: Tweaking Hard Disk Performance</title>
518<body>
519 331
520<p>
521If you are an advanced user, you might want to tweak the IDE hard disk
522performance using <c>hdparm</c>. With the <c>-tT</c> options you can
523test the performance of your disk (execute it several times to get a
524more precise impression):
525</p>
526
527<pre caption="Testing disk performance">
528# <i>hdparm -tT /dev/hda</i>
529</pre>
530
531<p>
532To tweak, you can use any of the following examples (or experiment
533yourself) which use <path>/dev/hda</path> as disk (substitute with your
534disk):
535</p>
536
537<pre caption="Tweaking hard disk performance">
538<comment>Activate DMA:</comment> # <i>hdparm -d 1 /dev/hda</i>
539<comment>Activate DMA + Safe Performance-enhancing Options:</comment> # <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i>
540</pre>
541
542</body>
543</subsection>
544<subsection id="useraccounts">
545<title>Optional: User Accounts</title>
546<body>
547
548<p>
549If you plan on giving other people access to your installation
550environment or you want to chat using <c>irssi</c> without root privileges (for
551security reasons), you need to create the necessary user accounts and change
552the root password.
553</p>
554
555<p>
556To change the root password, use the <c>passwd</c> utility:
557</p>
558
559<pre caption="Changing the root password">
560# <i>passwd</i>
561New password: <comment>(Enter your new password)</comment>
562Re-enter password: <comment>(Re-enter your password)</comment>
563</pre>
564
565<p>
566To create a user account, we first enter their credentials, followed by
567its password. We use <c>useradd</c> and <c>passwd</c> for these tasks.
568In the next example, we create a user called &quot;john&quot;.
569</p>
570
571<pre caption="Creating a user account">
572# <i>useradd -m -G users john</i>
573# <i>passwd john</i>
574New password: <comment>(Enter john's password)</comment>
575Re-enter password: <comment>(Re-enter john's password)</comment>
576</pre>
577
578<p>
579You can change your user id from root to the newly created user by using
580<c>su</c>:
581</p>
582
583<pre caption="Changing user id">
584# <i>su - john</i>
585</pre>
586
587</body>
588</subsection>
589<subsection>
590<title>Optional: Viewing Documentation while Installing</title>
591<body>
592
593<p>
594If you want to view the Gentoo Handbook (either from-CD or online) during the
595installation, make sure you have created a user account (see <uri
596link="#useraccounts">Optional: User Accounts</uri>). Then press <c>Alt-F2</c> to
597go to a new terminal and log in.
598</p>
599
600<p>
601If you want to view the documentation on the CD you can immediately run
602<c>links2</c> to read it:
603</p>
604
605<pre caption="Viewing the on-CD documentation">
606# <i>links2 /mnt/cdrom/docs/html/index.html</i>
607</pre>
608
609<p>
610However, it is preferred that you use the online Gentoo Handbook as it will be
611more recent than the one provided on the CD. You can view it using <c>links2</c>
612as well, but only after having completed the <e>Configuring your Network</e>
613chapter (otherwise you won't be able to go on the Internet to view the
614document):
615</p>
616
617<pre caption="Viewing the Online Documentation">
618# <i>links2 http://www.gentoo.org/doc/en/handbook/handbook-sparc.xml</i>
619</pre>
620
621<p>
622You can go back to your original terminal by pressing <c>Alt-F1</c>.
623</p>
624
625</body>
626</subsection>
627<subsection>
628<title>Optional: Starting the SSH Daemon</title>
629<body>
630
631<p>
632If you want to allow other users to access your computer during the
633Gentoo installation (perhaps because those users are going to help you
634install Gentoo, or even do it for you), you need to create a user
635account for them and perhaps even provide them with your root password
636(<e>only</e> do that <e>if</e> you <b>fully trust</b> that user).
637</p>
638
639<p>
640To fire up the SSH daemon, execute the following command:
641</p>
642
643<pre caption="Starting the SSH daemon">
644# <i>/etc/init.d/sshd start</i>
645</pre>
646
647<p>
648To be able to use sshd, you first need to set up your networking. Continue with
649the chapter on <uri link="?part=1&amp;chap=3">Configuring your Network</uri>.
650</p>
651
652</body>
653</subsection>
654</section> 332</section>
655</sections> 333</sections>

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

  ViewVC Help
Powered by ViewVC 1.1.20