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

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

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

Revision 1.24 Revision 1.54
1<?xml version='1.0' encoding='UTF-8'?> 1<?xml version='1.0' encoding='UTF-8'?>
2<!DOCTYPE sections SYSTEM "/dtd/book.dtd"> 2<!DOCTYPE sections SYSTEM "/dtd/book.dtd">
3 3
4<!-- The content of this document is licensed under the CC-BY-SA license --> 4<!-- The content of this document is licensed under the CC-BY-SA license -->
5<!-- See http://creativecommons.org/licenses/by-sa/1.0 --> 5<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc64-medium.xml,v 1.24 2005/10/09 16:33:54 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc64-medium.xml,v 1.54 2014/04/12 12:25:48 swift Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<abstract>
12You can install Gentoo in many ways. This chapter explains how to install
13Gentoo using the minimal Installation CD.
14</abstract>
15
11<version>2.7</version> 16<version>22</version>
12<date>2005-10-09</date> 17<date>2014-04-12</date>
13 18
14<section> 19<section>
15<title>Hardware Requirements</title> 20<title>Hardware Requirements</title>
16<subsection> 21<subsection>
17<title>Introduction</title> 22<title>Introduction</title>
53</tr> 58</tr>
54</table> 59</table>
55 60
56<p> 61<p>
57For a full list of supported systems, please go to 62For a full list of supported systems, please go to
58<uri>http://www.linuxppc64.org/hardware.shtml</uri>. 63<uri>http://penguinppc.org/about/intro.php#hardware</uri>.
59</p> 64</p>
60 65
61</body> 66</body>
62</subsection> 67</subsection>
63</section> 68</section>
64<!-- Copy/paste from hb-install-x86-medium.xml, with s/x86/ppc64/ --> 69
65<!-- START --> 70<!-- START -->
66<section> 71<section>
67<title>The Gentoo Installation Approaches</title>
68<subsection>
69<title>Introduction</title>
70<body>
71
72<p>
73Gentoo Linux can be installed using one of three <e>stage</e> tarball files.
74A stage file is a tarball (compressed archive) that contains a minimal
75environment.
76</p>
77
78<ul>
79 <li>
80 A stage1 file contains nothing more than a compiler, Portage (Gentoo's
81 software management system) and a couple of packages on which the compiler
82 or Portage depends.
83 </li>
84 <li>
85 A stage2 file contains a so-called bootstrapped system, a minimal
86 environment from which one can start building all other necessary
87 applications that make a Gentoo environment complete.
88 </li>
89 <li>
90 A stage3 file contains a prebuilt minimal system which is almost fully
91 deployable. It only lacks a few applications where you, the Gentoo user,
92 needs to choose which one you want to install.
93 </li>
94</ul>
95
96<p>
97To help you decide what stage file you want to use, we have written down the
98major advantages and disadvantages of each stage file.
99</p>
100
101</body>
102</subsection>
103<subsection>
104<title>A Stage1 Approach</title>
105<body>
106
107<p>
108A <e>stage1</e> is used when you want to bootstrap and build the entire system
109from scratch.
110</p>
111
112<p>
113This approach builds core system packages that are vital to your system and is
114used by Gentoo developers to prepare the Gentoo release media. It is a great
115installation method for those who would like to learn more about the inner
116workings of bootstrapping, toolchains and the like.
117</p>
118
119<p>
120However, if you do not plan to tweak the bootstrapping instructions in the
121<path>bootstrap.sh</path> script written by the Gentoo developers, then a
122stage1 approach has no benefits for you.
123</p>
124
125<table>
126<tr>
127 <th>Stage1</th>
128 <th>Pros and Cons</th>
129</tr>
130<tr>
131 <th>+</th>
132 <ti>
133 Allows you to have total control over the installation routine, bootstrap
134 sequence, etc.
135 </ti>
136</tr>
137<tr>
138 <th>+</th>
139 <ti>Suitable for powerusers and developers who know what they are doing</ti>
140</tr>
141<tr>
142 <th>-</th>
143 <ti>
144 Takes a long time to finish the installation (it is the lengthiest approach)
145 </ti>
146</tr>
147<tr>
148 <th>-</th>
149 <ti>
150 If you don't intend to tweak the settings, it is a waste of time
151 </ti>
152</tr>
153<tr>
154 <th>-</th>
155 <ti>
156 Requires a working Internet connection during the installation
157 </ti>
158</tr>
159</table>
160
161</body>
162</subsection>
163<subsection>
164<title>A Stage2 Approach</title>
165<body>
166
167<p>
168A <e>stage2</e> is used for building the entire system from a bootstrapped
169"semi-compiled" state.
170</p>
171
172<p>
173When you perform a stage2 installation approach, you will build all system
174packages (core packages, including toolchain) using your specific <c>USE</c>,
175<c>CFLAGS</c> and <c>CXXFLAGS</c> settings. Any package build will therefore be
176optimized to your preference.
177</p>
178
179<p>
180However, this installation takes some time and if you do not intend to change
181the <c>CFLAGS</c> and <c>CXXFLAGS</c> settings that we have defined as a "good
182default", using this approach only makes sense if your <c>USE</c> variable is
183sufficiently different from the default <c>USE</c> we provide.
184</p>
185
186<table>
187<tr>
188 <th>Stage2</th>
189 <th>Pros and Cons</th>
190</tr>
191<tr>
192 <th>+</th>
193 <ti>You don't need to bootstrap</ti>
194</tr>
195<tr>
196 <th>+</th>
197 <ti>Faster than starting with stage1</ti>
198</tr>
199<tr>
200 <th>+</th>
201 <ti>You can still tweak your settings</ti>
202</tr>
203<tr>
204 <th>-</th>
205 <ti>It's still not the fastest way to install Gentoo</ti>
206</tr>
207<tr>
208 <th>-</th>
209 <ti>
210 Requires a working Internet connection during the installation
211 </ti>
212</tr>
213</table>
214
215</body>
216</subsection>
217<subsection>
218<title>A Stage3 Approach</title>
219<body>
220
221<p>
222A <e>stage3</e> installation contains a basic Gentoo Linux system that has been
223built for you. You will only need to build a few packages (such as system
224logger, networking tools, ...) before you can boot into a base Gentoo
225installation.
226</p>
227
228<p>
229Choosing to go with a stage3 allows for the fastest install of Gentoo
230Linux, but also means that your base system will have the optimization
231settings that we chose for you (which to be honest, are good settings
232and were carefully chosen to enhance performance while maintaining
233stability). Stage3 is also required if you want to install Gentoo using
234prebuilt packages or without a network connection.
235</p>
236
237<table>
238<tr>
239 <th>Stage3</th>
240 <th>Pros and Cons</th>
241</tr>
242<tr>
243 <th>+</th>
244 <ti>Fastest way to get a Gentoo base system</ti>
245</tr>
246<tr>
247 <th>+</th>
248 <ti>
249 You can still tweak your system
250 </ti>
251</tr>
252</table>
253
254<p>
255You might be interested to know that, if you decide to use different
256optimization settings after having installed Gentoo, you will be able to
257recompile your entire system with the new optimization settings. The same goes
258for any <c>USE</c> flag changes: Portage is intelligent enough to know what
259packages need to be rebuild.
260</p>
261
262</body>
263</subsection>
264</section>
265
266<section>
267<title>The Gentoo Installation CDs</title> 72<title>The Gentoo Installation CD</title>
268<subsection> 73<subsection>
269<title>Introduction</title> 74<title>Gentoo Minimal Installation CD</title>
270<body> 75<body>
271 76
272<p> 77<p>
273The <e>Gentoo Installation CDs</e> are bootable CDs which contain a 78The <e>Minimal Installation CD</e> is a bootable CD which contains a
274self-sustained Gentoo environment. They allow you to boot Linux from the CD. 79self-sustained Gentoo environment. It allows you to boot Linux from the CD.
275During the boot process your hardware is detected and the appropriate drivers 80During the boot process your hardware is detected and the appropriate drivers
276are loaded. They are maintained by Gentoo developers. 81are loaded. The CD is maintained by Gentoo developers and allows you to install
277</p> 82Gentoo with an active Internet connection.
278
279<p> 83</p>
280All Installation CDs allow you to boot, set up networking, initialize your 84
281partitions and start installing Gentoo from the Internet. We currently provide
282two Installation CDs which are equaly suitable to install Gentoo from, as long
283as you're planning on performing an Internet-based installation using the
284latest version of the available packages.
285</p> 85<p>
286 86The Minimal Installation CD is called <c><keyval id="min-cd-name"/></c> and
87takes up around <keyval id="min-cd-size"/> MB of diskspace.
287<p> 88</p>
288If you wish to install Gentoo without a working Internet connection, please use
289the installation instructions described in the <uri
290link="2005.1/index.xml">Gentoo 2005.1 Handbooks</uri>. This is currently not
291supported for the PPC64 architecture though.
292</p>
293 89
294<p>
295For the PowerPC64 architecture, we only supply a <e>Minimal</e> Installation CD,
296a small, no-nonsense, bootable CD which sole purpose is to boot the system,
297prepare the networking and continue with the Gentoo installation.
298</p>
299
300</body> 90</body>
301</subsection>
302<subsection> 91</subsection>
303<title>Gentoo's Minimal Installation CD</title> 92<subsection>
93<title>The Stage3 Tarball</title>
94<body>
95
96<p>
97A stage3 tarball is an archive containing a minimal Gentoo environment,
98suitable to continue the Gentoo installation using the instructions in this
99manual. Previously, the Gentoo Handbook described the installation using one of
100three stage tarballs. While Gentoo still offers stage1 and stage2 tarballs, the
101official installation method uses the stage3 tarball. If you are interested in
102performing a Gentoo installation using a stage1 or stage2 tarball, please read
103the Gentoo FAQ on <uri link="https://wiki.gentoo.org/wiki/FAQ#How_do_I_Install_Gentoo_Using_a_Stage1_or_Stage2_Tarball.3F">How
104do I Install Gentoo Using a Stage1 or Stage2 Tarball?</uri>
105</p>
106
107<p>
108Stage3 tarballs can be downloaded from <path><keyval
109id="release-dir"/>current-stage3/</path> on any of the <uri
110link="/main/en/mirrors.xml">Official Gentoo Mirrors</uri> and are not provided
111on the LiveCD.
112</p>
113
304<body> 114</body>
115</subsection>
116<subsection>
117<title>Choosing a userland</title>
118<body>
305 119
306<p>
307The Minimal Installation CD is called
308<c>install-ppc64-g5-minimal-2005.1.iso</c> or
309<c>install-ppc64-ibm-minimal-2005.1.iso</c> and takes up only 350 MB of
310diskspace. You can use this Installation CD to install Gentoo, but always with a
311working Internet connection only.
312</p> 120<p>
121On PPC64, the kernel is 64-bit and the <e>userland</e> can be 32-bit or 64-bit.
122The userland is basically the applications you are running, such as <c>bash</c>
123or <c>firefox</c>. They can be compiled and run in either 64-bit or
12432-bit modes. The Gentoo/PPC64 team provides both 32-bit and 64-bit userlands,
125so which one should you use?
126</p>
313 127
314<table> 128<p>
315<tr> 129You may have heard that 64-bit applications are better, but in fact, 32-bit
316 <th>Minimal Installation CD</th> 130applications take up slightly less memory and often run a little bit faster than
317 <th>Pros and Cons</th> 13164-bit applications.
318</tr> 132</p>
319<tr> 133
320 <th>+</th> 134<p>
321 <ti>Smallest download</ti> 135You really only need 64-bit applications when you need more memory than a 32-bit
322</tr> 136userland allows, or if you do a lot of 64-bit number crunching. If you have 4GB
323<tr> 137or more of memory or you run scientific applications, you should choose the
324 <th>+</th> 13864-bit userland. Otherwise, choose the 32-bit userland, as it is recommended by
325 <ti> 139the Gentoo/PPC64 developers.
326 You can do a stage1, stage2 or stage3 by getting the stage tarball off the 140</p>
327 net 141
328 </ti> 142<p>
329</tr> 143Additionally, the 32-bit userland has been available in Portage longer than the
330<tr> 14464-bit userland has. This means that there are more applications tested in the
331 <th>-</th> 14532-bit userland that just work "out of the box." Many applications compiled for
332 <ti> 146the 64-bit userland may be just as stable as the 32-bit version, but they
333 Contains no stages, no Portage snapshot, no prebuilt packages and is 147haven't been tested yet. Though testing isn't difficult to do, it can be
334 therefore not suitable for networkless installation 148annoying and time consuming if you want to use many untested 64-bit
335 </ti> 149applications. Also, some programs just won't run in the 64-bit userland until
336</tr> 150their code is fixed, such as LibreOffice.
337</table> 151</p>
338 152
339</body> 153</body>
340</subsection> 154</subsection>
341</section> 155</section>
342<!-- STOP --> 156<!-- STOP -->
343<section> 157<section>
344<title>Download, Burn and Boot a Gentoo Installation CD</title> 158<title>Download, Burn and Boot a Gentoo Installation CD</title>
345<subsection> 159<subsection>
346<title>Downloading and Burning the Installation CDs</title> 160<title>Downloading and Burning the Installation CD</title>
347<body> 161<body>
348 162
349<p> 163<p>
350You have chosen to use a Gentoo Installation CD. We'll first start by 164You have chosen to use a Gentoo Installation CD. We'll first start by
351downloading and burning the chosen Installation CD. We previously discussed the 165downloading and burning the chosen Installation CD. We previously discussed the
352several available Installation CDs, but where can you find them? 166Installation CD, but where can you find it?
353</p>
354
355<p> 167</p>
356You can download any of the Installation CDs (and, if you want to, a Packages 168
357CD as well) from one of our <uri link="/main/en/mirrors.xml">mirrors</uri>. The
358Installation CDs are located in the <path>releases/ppc64/2005.1/installcd</path>
359directory.
360</p> 169<p>
361 170You can download the Installation CD from one of our <uri
171link="/main/en/mirrors.xml">mirrors</uri>. The Installation CD is located in
172the <path><keyval id="release-dir"/>current-iso/</path> directory.
362<p> 173</p>
174
175<p>
363Inside that directory you'll find so-called ISO-files. Those are full CD images 176Inside that directory you'll find the ISO file. This is a full CD image
364which you can write on a CD-R. 177which you can write on a CD-R.
365</p> 178</p>
366 179
367<p> 180<p>
368In case you wonder if your downloaded file is corrupted or not, you can 181In case you wonder if your downloaded file is corrupted or not, you can check
369check its MD5 checksum and compare it with the MD5 checksum we provide (such as 182its SHA-2 checksum and compare it with the SHA-2 checksum we provide (such as
370<path>install-ppc64-g5-minimal-2005.1.iso.md5</path>). You can check the MD5 183<path><keyval id="min-cd-name"/>.DIGESTS</path>). You can check the SHA-2
371checksum with the <c>md5sum</c> tool under Linux/Unix or <uri 184checksum with the <c>sha512sum</c> tool under Linux/Unix or <uri
372link="http://www.etree.org/md5com.html">md5sum</uri> for Windows. 185link="http://www.sinf.gr/en/hashcalc.html">Checksums calculator</uri> for Windows.
186</p>
187
188<note>
189The tool will attempt to verify the checksums in the list, even if the checksum
190is made with a different algorithm. Therefore, the output of the command might
191give both success (for SHA checksums) and failures (for other checksums). At
192least one OK needs to be provided for each file.
193</note>
194
195<pre caption="Verifying the SHA-2 checksum">
196$ <i>sha512sum -c &lt;downloaded iso.DIGESTS&gt;</i>
373</p> 197</pre>
198
199<note>
200If you get the message that no properly formatted SHA checksum was found, take a
201look at the DIGESTS file yourself to see what the supported checksums are.
202</note>
374 203
375<p> 204<p>
376Another way to check the validity of the downloaded file is to use GnuPG to 205Another way to check the validity of the downloaded file is to use GnuPG to
377verify the cryptographic signature that we provide (the file ending with 206verify the cryptographic signature that we provide (the file ending with
378<path>.asc</path>). Download the signature file and obtain the public key: 207<path>.asc</path>). Download the signature file and obtain the public keys whose
208key ids can be found on the <uri link="/proj/en/releng/index.xml">release
209engineering project site</uri>.
379</p> 210</p>
380 211
381<pre caption="Obtaining the public key"> 212<pre caption="Obtaining the public key">
213<comment>(... Substitute the key ids with those mentioned on the release engineering site ...)</comment>
382$ <i>gpg --keyserver pgp.mit.edu --recv-keys 17072058</i> 214$ <i>gpg --keyserver subkeys.pgp.net --recv-keys 96D8BF6D 2D182910 17072058</i>
383</pre> 215</pre>
384 216
385<p> 217<p>
386Now verify the signature: 218Now verify the signature:
387</p> 219</p>
388 220
389<pre caption="Verify the cryptographic signature"> 221<pre caption="Verify the files">
390$ <i>gpg --verify &lt;signature file&gt; &lt;downloaded iso&gt;</i> 222$ <i>gpg --verify &lt;downloaded iso.DIGESTS.asc&gt;</i>
223$ <i>sha512sum -c &lt;downloaded iso.DIGESTS.asc&gt;</i>
391</pre> 224</pre>
392 225
393<p> 226<p>
394To burn the downloaded ISO(s), you have to select raw-burning. How you 227To burn the downloaded ISO(s), you have to select raw-burning. How you
395do this is highly program-dependent. We will discuss <c>cdrecord</c> and 228do this is highly program-dependent. We will discuss <c>cdrecord</c> and
396<c>K3B</c> here; more information can be found in our <uri 229<c>K3B</c> here; more information can be found in our <uri
397link="/doc/en/faq.xml#isoburning">Gentoo FAQ</uri>. 230link="https://wiki.gentoo.org/wiki/FAQ#How_do_I_burn_an_ISO_file.3F">Gentoo FAQ</uri>.
398</p> 231</p>
399 232
400<ul> 233<ul>
401 <li> 234 <li>
402 With cdrecord, you simply type <c>cdrecord dev=/dev/hdc &lt;downloaded iso 235 With cdrecord, you simply type <c>cdrecord dev=/dev/sr0 &lt;downloaded iso
403 file&gt;</c> (replace <path>/dev/hdc</path> with your CD-RW drive's 236 file&gt;</c> (replace <path>/dev/sr0</path> with your CD-RW drive's
404 device path). 237 device path).
405 </li> 238 </li>
406 <li> 239 <li>
407 With K3B, select <c>Tools</c> &gt; <c>CD</c> &gt; <c>Burn Image</c>. Then 240 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 241 your ISO file within the 'Image to Burn' area. Finally click <c>Start</c>.
409 <c>Start</c>.
410 </li> 242 </li>
411 <li> 243 <li>
412 With Mac OS X Panther, launch <c>Disk Utility</c> from 244 With Mac OS X Panther, launch <c>Disk Utility</c> from
413 <path>Applications/Utilities</path>, select <c>Open</c> from the 245 <path>Applications/Utilities</path>, select <c>Open</c> from the
414 <c>Images</c> menu, select the mounted disk image in the main window and 246 <c>Images</c> menu, select the mounted disk image in the main window and
445</tr> 277</tr>
446<tr> 278<tr>
447 <ti><c>video</c></ti> 279 <ti><c>video</c></ti>
448 <ti> 280 <ti>
449 This option takes one of the following vendor-specific tags: 281 This option takes one of the following vendor-specific tags:
450 <c>radeonfb</c>, <c>rivafb</c>, <c>atyfb</c>, <c>aty128</c> or 282 <c>radeonfb</c>, <c>rivafb</c>, <c>atyfb</c>, <c>aty128</c>, <c>nvidiafb</c>
451 <c>ofonly</c>. You can follow this tag with the resolution and refreshrate 283 or <c>ofonly</c>. You can follow this tag with the resolution and
452 you want to use. For instance <c>video=radeonfb:1280x1024@75</c>. If you are 284 refreshrate you want to use. For instance
285 <c>video=radeonfb:1280x1024@75</c>. If you are uncertain what to choose,
453 uncertain what to choose, <c>ofonly</c> will most certainly work. 286 <c>ofonly</c> will most certainly work.
454 </ti> 287 </ti>
455</tr> 288</tr>
456<tr> 289<tr>
457 <ti><c>nol3</c></ti> 290 <ti><c>nol3</c></ti>
458 <ti> 291 <ti>
459 Disables level 3 cache on some powerbooks (needed for at least the 17'') 292 Disables level 3 cache on some powerbooks (needed for at least the 17")
460 </ti> 293 </ti>
461</tr> 294</tr>
462<tr> 295<tr>
463 <ti><c>debug</c></ti> 296 <ti><c>debug</c></ti>
464 <ti> 297 <ti>
475</tr> 308</tr>
476<tr> 309<tr>
477 <ti><c>bootfrom=X</c></ti> 310 <ti><c>bootfrom=X</c></ti>
478 <ti> 311 <ti>
479 Boot from a different device 312 Boot from a different device
313 </ti>
314</tr>
315<tr>
316 <ti><c>dosshd</c></ti>
317 <ti>Starts <c>sshd</c>. Useful for unattended installs.</ti>
318</tr>
319<tr>
320 <ti><c>passwd=foo</c></ti>
321 <ti>
322 Sets whatever is after the = as the root password. Use with <c>dosshd</c>
323 for remote installs.
480 </ti> 324 </ti>
481</tr> 325</tr>
482</table> 326</table>
483 327
484<p> 328<p>
492<subsection> 336<subsection>
493<title>IBM pSeries</title> 337<title>IBM pSeries</title>
494<body> 338<body>
495 339
496<p> 340<p>
497For pSeries boxes, sometimes the cds might not autoboot. You might have 341The CD should autoboot on your pSeries box, but sometimes it does not. In that
498to set up your cdrom as a bootable device in the multi-boot menu. (F1 at 342case, you have to set up your cdrom as a bootable device in the multi-boot
499startup) The other option is to jump into OF and do it from there: 343menu. If you start your machine with a monitor and a keyboard attached, you can
500</p> 344reach the multi-boot menu pressing the F1 key on startup. But if you start your
501 345machine using the serial console, then you have to press <c>1</c>. Press the
346key when you see the beginning of the following line on the serial console:
502<p> 347</p>
5031) Boot into OF (this is 8 from the serial cons or F8 from a graphics 348
504cons, start hitting the key when you see the keyboard mouse etc etc 349<pre caption="Hit the '1' key when this line appears">
505messages 350memory keyboard network scsi speaker
351</pre>
352
506</p> 353<p>
354The other option is to jump into Open Firmware and do it from there:
507<p> 355</p>
356
357<ol>
358 <li>
359 Boot into Open Firmware: same procedure as getting into multi-boot
360 (described a few lines above), but use F8 and 8 instead of F1 and 1.
361 </li>
5082) run the command 0> boot cdrom:1,yaboot 362 <li>Run the command 0> boot cdrom:1,yaboot</li>
363 <li>Stand back and enjoy!</li>
364</ol>
365
366<note>
367If you get something like the following output, then Open Firmware isn't set up
368correctly. Please use the multi-boot option described above.
369</note>
370
371<pre caption="Output if Open Firmware is not set up correctly">
3720 > boot cdrom:1,yaboot
373 ok
3740 >
509</p> 375</pre>
510<p>
5113) stand back and enjoy!
512</p>
513 376
514</body> 377</body>
515</subsection> 378</subsection>
516<subsection id="booted"> 379<subsection id="booted">
517<title>And When You're Booted...</title> 380<title>And When You're Booted...</title>
528<c>loadkeys</c> to load the keymap for your keyboard. To list the available 391<c>loadkeys</c> to load the keymap for your keyboard. To list the available
529keymaps, execute <c>ls /usr/share/keymaps/i386</c>. 392keymaps, execute <c>ls /usr/share/keymaps/i386</c>.
530</p> 393</p>
531 394
532<pre caption="Listing available keymaps"> 395<pre caption="Listing available keymaps">
533<comment>(PPC uses x86 keymaps on most systems. The mac/ppc keymaps provided 396<comment>(PPC uses x86 keymaps on most systems)</comment>
534 on the Installation CD are ADB keymaps and unusable with the
535 Installation CD kernel)</comment>
536# <i>ls /usr/share/keymaps/i386</i> 397# <i>ls /usr/share/keymaps/i386</i>
537</pre> 398</pre>
538 399
539<p> 400<p>
540Now load the keymap of your choice: 401Now load the keymap of your choice:
548Now continue with <uri link="#hardware">Extra Hardware Configuration</uri>. 409Now continue with <uri link="#hardware">Extra Hardware Configuration</uri>.
549</p> 410</p>
550 411
551</body> 412</body>
552</subsection> 413</subsection>
553<subsection id="hardware">
554<title>Extra Hardware Configuration</title>
555<body>
556 414
557<p>
558When the Installation CD boots, it tries to detect all your hardware devices and
559loads the appropriate kernel modules to support your hardware. In the
560vast majority of cases, it does a very good job. However, in some cases it may
561not auto-load the kernel
562modules you need. If the PCI auto-detection missed some of your system's
563hardware, you will have to load the appropriate kernel modules manually.
564</p>
565
566<p>
567In the next example we try to load the <c>8139too</c> module (support for
568certain kinds of network interfaces):
569</p>
570
571<pre caption="Loading kernel modules">
572# <i>modprobe 8139too</i>
573</pre>
574
575</body>
576</subsection> 415<subsection>
416<include href="hb-install-bootconfig.xml"/>
577<subsection> 417</subsection>
578<title>Optional: Tweaking Hard Disk Performance</title>
579<body>
580 418
581<p>
582If you are an advanced user, you might want to tweak the IDE hard disk
583performance using <c>hdparm</c>. With the <c>-tT</c> options you can
584test the performance of your disk (execute it several times to get a
585more precise impression):
586</p>
587
588<pre caption="Testing disk performance">
589# <i>hdparm -tT /dev/hda</i>
590</pre>
591
592<p>
593To tweak, you can use any of the following examples (or experiment
594yourself) which use <path>/dev/hda</path> as disk (substitute with your
595disk):
596</p>
597
598<pre caption="Tweaking hard disk performance">
599<comment>Activate DMA:</comment> # <i>hdparm -d 1 /dev/hda</i>
600<comment>Activate DMA + Safe Performance-enhancing Options:</comment> # <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i>
601</pre>
602
603</body>
604</subsection>
605<subsection id="useraccounts">
606<title>Optional: User Accounts</title>
607<body>
608
609<p>
610If you plan on giving other people access to your installation
611environment or you want to chat using <c>irssi</c> without root privileges (for
612security reasons), you need to create the necessary user accounts and change
613the root password.
614</p>
615
616<p>
617To change the root password, use the <c>passwd</c> utility:
618</p>
619
620<pre caption="Changing the root password">
621# <i>passwd</i>
622New password: <comment>(Enter your new password)</comment>
623Re-enter password: <comment>(Re-enter your password)</comment>
624</pre>
625
626<p>
627To create a user account, we first enter their credentials, followed by
628its password. We use <c>useradd</c> and <c>passwd</c> for these tasks.
629In the next example, we create a user called &quot;john&quot;.
630</p>
631
632<pre caption="Creating a user account">
633# <i>useradd -m -G users john</i>
634# <i>passwd john</i>
635New password: <comment>(Enter john's password)</comment>
636Re-enter password: <comment>(Re-enter john's password)</comment>
637</pre>
638
639<p>
640You can change your user id from root to the newly created user by using
641<c>su</c>:
642</p>
643
644<pre caption="Changing user id">
645# <i>su - john</i>
646</pre>
647
648</body>
649</subsection>
650<subsection>
651<title>Optional: Viewing Documentation while Installing</title>
652<body>
653
654<p>
655If you want to view the Gentoo Handbook during the installation, make sure you
656have created a user account (see <uri link="#useraccounts">Optional: User
657Accounts</uri>). Then press <c>Alt-F2</c> to go to a new terminal and log in.
658</p>
659
660<p>
661If you want to view the documentation on the CD you can immediately run
662<c>links2</c> to read it:
663</p>
664
665<pre caption="Viewing the on-CD documentation">
666# <i>links2 /mnt/cdrom/docs/handbook/html/index.html</i>
667</pre>
668
669<p>
670However, it is preferred that you use the online Gentoo Handbook as it will be
671more recent than the one provided on the CD.
672</p>
673
674<pre caption="Viewing the Online Documentation">
675# <i>links2 http://www.gentoo.org/doc/en/handbook/handbook-ppc64.xml</i>
676</pre>
677
678<p>
679You can go back to your original terminal by pressing <c>Alt-F1</c>.
680</p>
681
682</body>
683</subsection>
684<subsection>
685<title>Optional: Starting the SSH Daemon</title>
686<body>
687
688<p>
689If you want to allow other users to access your computer during the
690Gentoo installation (perhaps because those users are going to help you
691install Gentoo, or even do it for you), you need to create a user
692account for them and perhaps even provide them with your root password
693(<e>only</e> do that <e>if</e> you <b>fully trust</b> that user).
694</p>
695
696<p>
697To fire up the SSH daemon, execute the following command:
698</p>
699
700<pre caption="Starting the SSH daemon">
701# <i>/etc/init.d/sshd start</i>
702</pre>
703
704<p>
705To be able to use sshd, you first need to set up your networking. Continue with
706the chapter on <uri link="?part=1&amp;chap=3">Configuring your Network</uri>.
707</p>
708
709</body>
710</subsection>
711</section> 419</section>
712</sections> 420</sections>

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

  ViewVC Help
Powered by ViewVC 1.1.20