/[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.8 Revision 1.43
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.8 2004/05/09 10:36:50 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-medium.xml,v 1.43 2007/05/07 18:11:41 nightmorph Exp $ -->
8 8
9<sections> 9<sections>
10
11<version>8.0</version>
12<date>2007-05-07</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<!-- Copy/Paste from hb-install-x86-medium.xml -->
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<p>
111A <e>stage1</e> installation can only be performed when you have a working
112Internet connection.
113</p>
114
115<table>
116<tr>
117 <th>Stage1</th>
118 <th>Pros and Cons</th>
119</tr>
120<tr>
121 <th>+</th>
122 <ti>
123 Allows you to have total control over the optimization settings and optional
124 build-time functionality that is initially enabled on your system
125 </ti>
126</tr>
127<tr>
128 <th>+</th>
129 <ti>Suitable for powerusers that know what they are doing</ti>
130</tr>
131<tr>
132 <th>+</th>
133 <ti>Allows you to learn more about the inner workings of Gentoo</ti>
134</tr>
135<tr>
136 <th>-</th>
137 <ti>Takes a long time to finish the installation</ti>
138</tr>
139<tr>
140 <th>-</th>
141 <ti>
142 If you don't intend to tweak the settings, it is probably a waste of time
143 </ti>
144</tr>
145<tr>
146 <th>-</th>
147 <ti>
148 Not suitable for networkless installations
149 </ti>
150</tr>
151</table>
152
153<p>
154<e>Stage2</e> installs allow you to skip the bootstrap process and doing this
155is fine if you are happy with the optimization settings that we chose
156for your particular <e>stage2</e> tarball.
157</p>
158
159<p>
160A <e>stage2</e> installation can only be performed when you have a working
161Internet connection.
162</p>
163
164<table>
165<tr>
166 <th>Stage2</th>
167 <th>Pros and Cons</th>
168</tr>
169<tr>
170 <th>+</th>
171 <ti>You don't need to bootstrap</ti>
172</tr>
173<tr>
174 <th>+</th>
175 <ti>Faster than starting with stage1</ti>
176</tr>
177<tr>
178 <th>+</th>
179 <ti>You can still tweak your settings</ti>
180</tr>
181<tr>
182 <th>-</th>
183 <ti>You cannot tweak as much as with a stage1</ti>
184</tr>
185<tr>
186 <th>-</th>
187 <ti>It's not the fastest way to install Gentoo</ti>
188</tr>
189<tr>
190 <th>-</th>
191 <ti>You have to accept the optimizations we chose for the bootstrap</ti>
192</tr>
193<tr>
194 <th>-</th>
195 <ti>
196 Not suitable for networkless installations
197 </ti>
198</tr>
199</table>
200
201<p>
202Choosing to go with a <e>stage3</e> allows for the fastest install of Gentoo
203Linux, but also means that your base system will have the optimization
204settings that we chose for you (which to be honest, are good settings
205and were carefully chosen to enhance performance while maintaining
206stability). <e>stage3</e> is also required if you want to install Gentoo using
207prebuilt packages or without a network connection.
208</p>
209
210<table>
211<tr>
212 <th>Stage3</th>
213 <th>Pros and Cons</th>
214</tr>
215<tr>
216 <th>+</th>
217 <ti>Fastest way to get a Gentoo base system</ti>
218</tr>
219<tr>
220 <th>+</th>
221 <ti>Suitable for networkless installations</ti>
222</tr>
223<tr>
224 <th>-</th>
225 <ti>You cannot tweak the base system - it's built already</ti>
226</tr>
227<tr>
228 <th>-</th>
229 <ti>You cannot brag about having used stage1 or stage2</ti>
230</tr>
231</table>
232
233<p>
234Write down (or remember) what stage you want to use. You need this later when
235you decide what LiveCD (or other installation medium) you want to use. You might
236be interested to know that, if you decide to use different optimization settings
237after having installed Gentoo, you will be able to recompile your entire system
238with the new optimization settings.
239</p>
240
241<p>
242Now take a look at the available installation media.
243</p>
244
245</body>
246</subsection>
247<subsection>
248<title>Gentoo LiveCDs</title>
249<body>
250
251<p>
252The <e>Gentoo LiveCDs</e> are bootable CDs which contain a 72The <e>Gentoo Installation CDs</e> are bootable CDs which contain a
253self-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.
254During the boot process your hardware is detected and the appropriate drivers 74During the boot process your hardware is detected and the appropriate drivers
255are loaded. They are maintained by Gentoo developers. 75are loaded. They are maintained by Gentoo developers.
256</p> 76</p>
257 77
258<p> 78<p>
259All LiveCDs allow you to boot, setup networking, initialize your 79All Installation CDs allow you to boot, set up networking, initialize your
260partitions and start installing Gentoo from the Internet. However, some 80partitions and start installing Gentoo from the Internet. We currently provide
261LiveCDs also contain all necessary source code so you are able to install 81two Installation CDs which are equaly suitable to install Gentoo from, as long
262Gentoo without a working network configuration. 82as you're planning on performing an Internet-based installation using the latest
263</p> 83version of the available packages.
264
265<p> 84</p>
266Now what do these LiveCDs contain? 85
267</p> 86<p>
87If you wish to install Gentoo without a working Internet connection, please use
88the installation instructions described in the <uri
89link="2007.0/index.xml">Gentoo 2007.0 Handbooks</uri>.
90</p>
268 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
269</body> 114</body>
270</subsection>
271<subsection> 115</subsection>
116<subsection>
272<title>Gentoo's Minimal LiveCD</title> 117<title>Gentoo's Minimal Installation CD</title>
273<body> 118<body>
274 119
275<p> 120<p>
276This is a small, no-nonsense, bootable CD which sole purpose is to boot the 121The Minimal Installation CD is called <c>install-sparc64-minimal-2007.0.iso</c>
277system, prepare the networking and continue with the Gentoo installation. It 122and takes up only 32 MB of diskspace. You can use this Installation CD to
278does not contain any stages (or, in some cases, a single stage1 file), 123install Gentoo, but always with a working Internet connection only.
279source code or precompiled packages. For example the sparc64 variant of this
280LiveCD can be found in the <path>sparc64/</path> subdirectory and is called
281<c>install-sparc64-minimal-2004.1.iso</c>.
282</p> 124</p>
283 125
284<table> 126<table>
285<tr> 127<tr>
286 <th>Minimal LiveCD</th> 128 <th>Minimal Installation CD</th>
287 <th>Pros and Cons</th> 129 <th>Pros and Cons</th>
288</tr> 130</tr>
289<tr> 131<tr>
290 <th>+</th> 132 <th>+</th>
291 <ti>Smallest download</ti> 133 <ti>Smallest download</ti>
292</tr> 134</tr>
293<tr> 135<tr>
294 <th>+</th>
295 <ti>Suitable for a complete architecture</ti>
296</tr>
297<tr>
298 <th>+</th>
299 <ti>
300 You can do a stage1, stage2 or stage3 by getting the stage tarball off the
301 net
302 </ti>
303</tr>
304<tr>
305 <th>-</th> 136 <th>-</th>
306 <ti> 137 <ti>
307 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
308 suitable for networkless installation 139 therefore not suitable for networkless installation
309 </ti> 140 </ti>
310</tr> 141</tr>
311</table> 142</table>
312 143
313</body> 144</body>
314</subsection> 145</subsection>
315<subsection> 146<subsection>
316<title>Gentoo's Universal LiveCD</title> 147<title>Gentoo's Universal Installation CD</title>
317<body> 148<body>
318 149
319<p>
320Gentoo's Universal LiveCD is a bootable CD suitable to install Gentoo without
321networking. It contains a stage1 and stage3 tarballs (optimized for the
322sparc architecture). For example the sparc64 variant of this CD is called
323<c>install-sparc64-universal-2004.1.iso</c> and can be found in the
324<path>sparc64/</path> subdirectory.
325</p> 150<p>
326 151The Universal Installation CD is called
327<p> 152<c>install-sparc64-universal-2007.0.iso</c> and uses 287 MB. You can use this
328If 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
329that we provide a <e>Gentoo Package CD</e>. This CD (which isn't 154without a working internet connection, just in case you want to bring Gentoo to
330bootable) only contains precompiled packages and can be used to install software 155another PC than the one you are currently installing Gentoo on :)
331after a succesfull Gentoo Installation. To install Gentoo, you only
332need the Universal LiveCD, but if you want OpenOffice.org, Mozilla, KDE, GNOME
333etc. without having to compile every single one of them, you need the Packages
334CD too. Such a Packages CD for sparc64 is called
335<c>packages-sparc64-2004.1.iso</c>.
336</p> 156</p>
337 157
338<table> 158<table>
339<tr> 159<tr>
340 <th>Universal LiveCD with Packages CD</th> 160 <th>Universal Installation CD</th>
341 <th>Pros and Cons</th> 161 <th>Pros and Cons</th>
342</tr>
343<tr>
344 <th>+</th>
345 <ti>Packages CD is optimized to your architecture and subarchitecture</ti>
346</tr>
347<tr>
348 <th>+</th>
349 <ti>
350 Packages CD provides precompiled packages for fast Gentoo installations
351 </ti>
352</tr> 162</tr>
353<tr> 163<tr>
354 <th>+</th> 164 <th>+</th>
355 <ti> 165 <ti>
356 Contains everything you need. You can even install without a network 166 Contains everything you need. You can even install without a network
363</tr> 173</tr>
364</table> 174</table>
365 175
366</body> 176</body>
367</subsection> 177</subsection>
178<subsection>
179<title>Other CDs</title>
180<body>
181
182<p>
183You might find a <e>Package CD</e> on one of our mirrors. This CD is not an
184Installation CD but an additional resource that can be exploited during a
185networkless installation. It contains prebuilt packages (also known as the GRP
186set) that allow you to easily and quickly install additional applications
187(such as OpenOffice.org, KDE, GNOME, ...) immediately after the networkless
188Gentoo installation.
189</p>
190
191<p>
192If you intend to use the Packages CD to quickly install additional software,
193make sure that you use the same subarchitecture as the stage3 tarball you use.
194</p>
195
196</body>
197</subsection>
198<subsection>
199<title>The Stage3 Tarball</title>
200<body>
201
202<p>
203A stage3 tarball is an archive containing a minimal Gentoo environment, suitable
204to continue the Gentoo installation using the instructions in this manual.
205Previously, the Gentoo Handbook described the installation using one of three
206stage tarballs. While Gentoo still offers stage1 and stage2 tarballs, the
207official installation method uses the stage3 tarball. If you are interested in
208performing a Gentoo installation using a stage1 or stage2 tarball, please read
209the Gentoo FAQ on <uri link="/doc/en/faq.xml#stage12">How do I Install Gentoo
210Using a Stage1 or Stage2 Tarball?</uri>
211</p>
212
213</body>
214</subsection>
368</section> 215</section>
216<!-- STOP -->
369<section> 217<section>
370<title>Download, Burn and Boot a Gentoo LiveCD</title> 218<title>Download, Burn and Boot a Gentoo Installation CD</title>
371<subsection> 219<subsection>
372<title>Downloading and Burning the LiveCDs</title> 220<title>Downloading and Burning the Installation CDs</title>
373<body> 221<body>
374 222
375<p>
376You have chosen to use a Gentoo LiveCD (if not, then you are reading the
377wrong section). We'll first start by downloading and burning the chosen
378LiveCD. We previously discussed the several available LiveCDs, but where can you
379find them?
380</p> 223<p>
381 224You have chosen to use a Gentoo Installation CD. We'll first start by
225downloading and burning the chosen Installation CD. We previously discussed
226the several available Installation CDs, but where can you find them?
382<p> 227</p>
383Visit one of our <uri 228
384link="/main/en/mirrors.xml">mirrors</uri> and go to
385<path>releases/sparc/2004.1/livecd</path> where the LiveCD(s) of
386your choice are located. Inside the subdirectories <path>sparc32/</path> and
387<path>sparc64/</path> you'll find so-called ISO-files.
388Those are full CD images which you can write on a CD-R.
389</p> 229<p>
390 230You can download any of the Installation CDs (and, if you want to, a Packages CD
231as well) from one of our <uri link="/main/en/mirrors.xml">mirrors</uri>. The
232Installation CDs are located in the <path><keyval
233id="release-dir"/>installcd</path> directory.
391<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>
392In 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 its
393check its MD5 checksum and compare it with the MD5 checksum we provide (such as 243MD5 checksum and compare it with the MD5 checksum we provide (such as
394<path>install-sparc64-minimal-2004.1.iso.md5</path>). You can check the MD5 244<path>install-sparc64-minimal-2007.0.iso.DIGESTS</path>). You can check the MD5
395checksum with the <c>md5sum</c> tool under Linux/Unix or <uri 245checksum with the <c>md5sum</c> tool under Linux/Unix or <uri
396link="http://www.md5summer.org">md5summer</uri> for Windows. 246link="http://www.etree.org/md5com.html">md5sum</uri> for Windows.
247</p>
248
397</p> 249<p>
250Another way to check the validity of the downloaded file is to use GnuPG to
251verify the cryptographic signature that we provide (the file ending with
252<path>.asc</path>). Download the signature file and obtain the public key:
253</p>
254
255<pre caption="Obtaining the public key">
256$ <i>gpg --keyserver subkeys.pgp.net --recv-keys 17072058</i>
257</pre>
258
259<p>
260Now verify the signature:
261</p>
262
263<pre caption="Verify the cryptographic signature">
264$ <i>gpg --verify &lt;signature file&gt; &lt;downloaded iso&gt;</i>
265</pre>
398 266
399<p> 267<p>
400To burn the downloaded ISO(s), you have to select raw-burning. How you 268To burn the downloaded ISO(s), you have to select raw-burning. How you
401do this is highly program-dependent. We will discuss a couple of popular 269do this is highly program-dependent. We will discuss <c>cdrecord</c> and
402tools on how to do this. 270<c>K3B</c> here; more information can be found in our <uri
271link="/doc/en/faq.xml#isoburning">Gentoo FAQ</uri>.
403</p> 272</p>
404 273
405<ul> 274<ul>
406 <li> 275 <li>
407 With EasyCD Creator you select <c>File</c>, <c>Record CD
408 from CD image</c>. Then you change the <c>Files of type</c> to <c>ISO image
409 file</c>. Then locate the ISO file and click <c>Open</c>. When you click on
410 <c>Start recording</c> the ISO image will be burned correctly onto the CD-R.
411 </li>
412 <li>
413 With Nero Burning ROM, select <c>File</c>, <c>Burn CD image</c>. Set the
414 type of file to <c>*.*</c> and select the ISO file. Older versions of Nero
415 will tell you they don't recognize the format -- confirm here, it does
416 recognize it but doesn't know it yet :) In the next dialog, set the
417 following parameters:
418 <ul>
419 <li>Type of image: <c>Data Mode 1</c></li>
420 <li>Block size: <c>2048 bytes</c></li>
421 <li>File precursor and length of the image trailer: <c>0 bytes</c></li>
422 <li>Scrambled: <c>no</c></li>
423 <li>Swapped: <c>no</c></li>
424 </ul>
425 Now click on <c>OK</c> and then <c>Burn</c> (the CD-R)
426 </li>
427 <li>
428 With cdrecord, you simply type <c>cdrecord dev=/dev/hdc</c> (replace 276 With cdrecord, you simply type <c>cdrecord dev=/dev/hdc &lt;downloaded iso
429 <path>/dev/hdc</path> with your CD-RW drive's device path) followed 277 file&gt;</c> (replace <path>/dev/hdc</path> with your CD-RW drive's device
430 by the path to the ISO file :) 278 path).
431 </li> 279 </li>
432 <li> 280 <li>
433 With K3B, select <c>Tools</c> &gt; <c>CD</c> &gt; <c>Burn Image</c>. Then 281 With K3B, select <c>Tools</c> &gt; <c>CD</c> &gt; <c>Burn Image</c>. Then
434 you can locate your ISO file within the 'Image to Burn' area. Finally click 282 you can locate your ISO file within the 'Image to Burn' area. Finally click
435 <c>Start</c>. 283 <c>Start</c>.
437</ul> 285</ul>
438 286
439</body> 287</body>
440</subsection> 288</subsection>
441<subsection> 289<subsection>
442<title>Booting the SPARC LiveCD</title> 290<title>Booting the Installation CD</title>
443<body> 291<body>
444 292
445<p> 293<p>
446Insert the Gentoo LiveCD in the CD-ROM and boot your system. During startup, 294Insert the Gentoo Installation CD in the CD-ROM and boot your system. During
447press Stop-A to enter OpenBootPROM (OBP). Once you are in the OBP, boot from the 295startup, press Stop-A to enter OpenBootPROM (OBP). Once you are in the OBP,
448CD-ROM: 296boot from the CD-ROM:
449</p> 297</p>
450 298
451<pre caption="Booting the LiveCD"> 299<pre caption="Booting the Installation CD">
452ok <i>boot cdrom</i> 300ok <i>boot cdrom</i>
453</pre> 301</pre>
454 302
455<p> 303<p>
456You will be greeted by the SILO boot manager (on the LiveCD). Type in 304You will be greeted by the SILO boot manager (on the Installation CD). You can
457<c>gentoo-2.4</c> (single-CPU kernel) or <c>gentoo-2.4-smp</c> 305hit Enter for more help if you want. Type in <c>2617</c> (if you have an FC-AL
458(multi-CPU kernel) and press enter to continue booting the system. In the 306machine; check the <uri
459following example we'll boot the <c>gentoo-2.4</c> kernel. 307link="http://www.gentoo.org/proj/en/base/sparc/sunhw.xml">Hardware Compatibility
460</p> 308List</uri>) or <c>2620</c> (for everyone else) and press enter to continue
461 309booting the system:
462<pre caption="Continue booting from the LiveCD">
463boot: <i>gentoo-2.4</i>
464</pre>
465
466<p> 310</p>
467Once the LiveCD is booted, you will be greeted by a login prompt. Log on as 311
468<c>root</c>. There is no password, so when you are asked for one, press Enter. 312<pre caption="Continue booting from the Installation CD">
313boot: <i>2620</i>
314</pre>
315
469</p> 316<p>
470 317Once the Installation CD is booted, you will be automatically logged on to the
471<pre caption="Logging on onto the LiveCD"> 318system.
472login: <i>root</i>
473password: <comment>(Press Enter here)</comment>
474</pre>
475
476<p> 319</p>
320
321<p>
477You should have a root ("#") prompt on the current console and can also switch 322You should have a root ("#") prompt on the current console. You will also find a
478to other consoles by pressing Alt-F2, Alt-F3 and Alt-F4. Get back to the one you 323root prompt on the serial console (<path>ttyS0</path>).
479started on by pressing Alt-F1.
480</p> 324</p>
481 325
482<p> 326<p>
483Continue with <uri link="#hardware">Extra Hardware Configuration</uri>. 327Continue with <uri link="#hardware">Extra Hardware Configuration</uri>.
484</p> 328</p>
503# <i>modprobe 8139too</i> 347# <i>modprobe 8139too</i>
504</pre> 348</pre>
505 349
506</body> 350</body>
507</subsection> 351</subsection>
508<subsection> 352<subsection id="useraccounts">
509<title>Optional: Tweaking Hard Disk Performance</title>
510<body>
511
512<p>
513If you are an advanced user, you might want to tweak the IDE hard disk
514performance using <c>hdparm</c>. With the <c>-tT</c> options you can
515test the performance of your disk (execute it several times to get a
516more precise impression):
517</p>
518
519<pre caption="Testing disk performance">
520# <i>hdparm -tT /dev/hda</i>
521</pre>
522
523<p>
524To tweak, you can use any of the following examples (or experiment
525yourself) which use <path>/dev/hda</path> as disk (substitute with your
526disk):
527</p>
528
529<pre caption="Tweaking hard disk performance">
530<comment>Activate DMA:</comment> # <i>hdparm -d 1 /dev/hda</i>
531<comment>Activate DMA + Safe Performance-enhancing Options:</comment> # <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i>
532</pre>
533
534</body>
535</subsection>
536<subsection>
537<title>Optional: User Accounts</title> 353<title>Optional: User Accounts</title>
538<body> 354<body>
539 355
540<p> 356<p>
541If you plan on giving other people access to your installation 357If you plan on giving other people access to your installation
559its password. We use <c>useradd</c> and <c>passwd</c> for these tasks. 375its password. We use <c>useradd</c> and <c>passwd</c> for these tasks.
560In the next example, we create a user called &quot;john&quot;. 376In the next example, we create a user called &quot;john&quot;.
561</p> 377</p>
562 378
563<pre caption="Creating a user account"> 379<pre caption="Creating a user account">
564# <i>useradd john</i> 380# <i>useradd -m -G users john</i>
565# <i>passwd john</i> 381# <i>passwd john</i>
566New password: <comment>(Enter john's password)</comment> 382New password: <comment>(Enter john's password)</comment>
567Re-enter password: <comment>(Re-enter john's password)</comment> 383Re-enter password: <comment>(Re-enter john's password)</comment>
568</pre> 384</pre>
569 385
571You can change your user id from root to the newly created user by using 387You can change your user id from root to the newly created user by using
572<c>su</c>: 388<c>su</c>:
573</p> 389</p>
574 390
575<pre caption="Changing user id"> 391<pre caption="Changing user id">
576# <i>su john -</i> 392# <i>su - john</i>
393</pre>
394
395</body>
396</subsection>
397<subsection>
398<title>Optional: Viewing Documentation while Installing</title>
399<body>
400
401<p>
402If you want to view the Gentoo Handbook (either from-CD or online) during the
403installation, make sure you have created a user account (see <uri
404link="#useraccounts">Optional: User Accounts</uri>). Then press <c>Alt-F2</c> to
405go to a new terminal and log in.
577</pre> 406</p>
407
408<p>
409If you want to view the documentation on the CD you can immediately run
410<c>links</c> to read it:
411</p>
412
413<pre caption="Viewing the on-CD documentation">
414# <i>links /mnt/cdrom/docs/handbook/html/index.html</i>
415</pre>
416
417<p>
418However, it is preferred that you use the online Gentoo Handbook as it will be
419more recent than the one provided on the CD. You can view it using <c>links</c>
420as well, but only after having completed the <e>Configuring your Network</e>
421chapter (otherwise you won't be able to go on the Internet to view the
422document):
423</p>
424
425<pre caption="Viewing the Online Documentation">
426# <i>links http://www.gentoo.org/doc/en/handbook/<keyval id="online-book"/></i>
427</pre>
428
429<p>
430You can go back to your original terminal by pressing <c>Alt-F1</c>.
431</p>
578 432
579</body> 433</body>
580</subsection> 434</subsection>
581<subsection> 435<subsection>
582<title>Optional: Starting the SSH Daemon</title> 436<title>Optional: Starting the SSH Daemon</title>
597<pre caption="Starting the SSH daemon"> 451<pre caption="Starting the SSH daemon">
598# <i>/etc/init.d/sshd start</i> 452# <i>/etc/init.d/sshd start</i>
599</pre> 453</pre>
600 454
601<p> 455<p>
602To be able to use sshd, you first need to setup your networking. Continue with 456To be able to use sshd, you first need to set up your networking. Continue with
603the chapter on <uri link="?part=1&amp;chap=3">Configuring your Network</uri>. 457the chapter on <uri link="?part=1&amp;chap=3">Configuring your Network</uri>.
604</p> 458</p>
605 459
606</body> 460</body>
607</subsection> 461</subsection>

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

  ViewVC Help
Powered by ViewVC 1.1.20