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

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

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

Revision 1.3 Revision 1.32
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/1.0 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-medium.xml,v 1.3 2004/04/11 13:17:59 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-medium.xml,v 1.32 2004/11/09 13:01:52 swift Exp $ -->
8 8
9<sections> 9<sections>
10
11<version>1.31</version>
12<date>November 4, 2004</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>
30continue with the Gentoo installation: 34continue with the Gentoo installation:
31</p> 35</p>
32 36
33<ul> 37<ul>
34<li> 38<li>
35 You need at least 1 Gb of free disk space 39 You need at least 2 GB of free disk space
36</li> 40</li>
37<li> 41<li>
38 If you do not use prebuilt packages, you need at least 300 Mb of memory (RAM + 42 If you do not use prebuilt packages, you need at least 300 MB of memory (RAM +
39 swap) 43 swap), if you do use prebuilt packages you need at least 64 MB of memory to boot the system.
40</li> 44</li>
41<li> 45<li>
42 For the <e>PowerPC architecture</e>, you can install Gentoo/PPC on machines 46 For the <e>PowerPC architecture</e>, you can install Gentoo/PPC on NewWorld machines
43 having a Power or PowerPC microprocessor, including but not limited to G3, G4 47 having a Power or PowerPC microprocessor, including but not limited to G3, G4
44 or G5 powered Apple computers such as the iMac, the iBook, the PowerBook, 48 or G5 powered Apple computers such as the iMac, the eMac, the iBook, the PowerBook,
45 Xserve, PowerMac, ... We also provide limited support for oldworld systems, 49 Xserve, PowerMac, and bPlan's Pegasos II. We also provide limited
46 IBM (rs/6000, iSeries, zSeries, ...), Amiga and Pegasos systems. 50 support for OldWorld systems, IBM (RS/6000, iSeries, pSeries, ...) and Amiga
47 Be sure to read up on the <uri link="/doc/en/gentoo-ppc-faq.xml">Gentoo PPC 51 systems. Be sure to read up on the <uri link="/doc/en/gentoo-ppc-faq.xml">Gentoo
48 FAQ</uri> too before you begin. 52 PPC FAQ</uri> before you begin.
49</li> 53</li>
50</ul> 54</ul>
51 55
52</body> 56</body>
53</subsection> 57</subsection>
110power users who know what they are doing. It is also a great 114power users who know what they are doing. It is also a great
111installation method for those who would like to know more about the 115installation method for those who would like to know more about the
112inner workings of Gentoo Linux. 116inner workings of Gentoo Linux.
113</p> 117</p>
114 118
119<p>
120A <e>stage1</e> installation can only be performed when you have a working
121Internet connection.
122</p>
123
115<table> 124<table>
116<tr> 125<tr>
117 <th>Stage1</th> 126 <th>Stage1</th>
118 <th>Pros and Cons</th> 127 <th>Pros and Cons</th>
119</tr> 128</tr>
138</tr> 147</tr>
139<tr> 148<tr>
140 <th>-</th> 149 <th>-</th>
141 <ti> 150 <ti>
142 If you don't intend to tweak the settings, it is probably a waste of time 151 If you don't intend to tweak the settings, it is probably a waste of time
152 </ti>
153</tr>
154<tr>
155 <th>-</th>
156 <ti>
157 Not suitable for networkless installations
143 </ti> 158 </ti>
144</tr> 159</tr>
145</table> 160</table>
146 161
147<p> 162<p>
148<e>Stage2</e> installs allow you to skip the bootstrap process and doing this 163<e>Stage2</e> installs allow you to skip the bootstrap process and doing this
149is fine if you are happy with the optimization settings that we chose 164is fine if you are happy with the optimization settings that we chose
150for your particular <e>stage2</e> tarball. 165for your particular <e>stage2</e> tarball.
151</p> 166</p>
152 167
168<p>
169A <e>stage2</e> installation can only be performed when you have a working
170Internet connection.
171</p>
172
153<table> 173<table>
154<tr> 174<tr>
155 <th>Stage2</th> 175 <th>Stage2</th>
156 <th>Pros and Cons</th> 176 <th>Pros and Cons</th>
157</tr> 177</tr>
176 <ti>It's not the fastest way to install Gentoo</ti> 196 <ti>It's not the fastest way to install Gentoo</ti>
177</tr> 197</tr>
178<tr> 198<tr>
179 <th>-</th> 199 <th>-</th>
180 <ti>You have to accept the optimizations we chose for the bootstrap</ti> 200 <ti>You have to accept the optimizations we chose for the bootstrap</ti>
201</tr>
202<tr>
203 <th>-</th>
204 <ti>
205 Not suitable for networkless installations
206 </ti>
181</tr> 207</tr>
182</table> 208</table>
183 209
184<p> 210<p>
185Choosing to go with a <e>stage3</e> allows for the fastest install of Gentoo 211Choosing to go with a <e>stage3</e> allows for the fastest install of Gentoo
186Linux, but also means that your base system will have the optimization 212Linux, but also means that your base system will have the optimization
187settings that we chose for you (which to be honest, are good settings 213settings that we chose for you (which to be honest, are good settings
188and were carefully chosen to enhance performance while maintaining 214and were carefully chosen to enhance performance while maintaining
189stability). <e>stage3</e> is also required if you want to install Gentoo using 215stability). <e>stage3</e> is also required if you want to install Gentoo using
190prebuilt packages. 216prebuilt packages or without a network connection.
191</p> 217</p>
192 218
193<table> 219<table>
194<tr> 220<tr>
195 <th>Stage3</th> 221 <th>Stage3</th>
196 <th>Pros and Cons</th> 222 <th>Pros and Cons</th>
197</tr> 223</tr>
198<tr> 224<tr>
199 <th>+</th> 225 <th>+</th>
200 <ti>Fastest way to get a Gentoo base system</ti> 226 <ti>Fastest way to get a Gentoo base system</ti>
227</tr>
228<tr>
229 <th>+</th>
230 <ti>Suitable for networkless installations</ti>
201</tr> 231</tr>
202<tr> 232<tr>
203 <th>-</th> 233 <th>-</th>
204 <ti>You cannot tweak the base system - it's built already</ti> 234 <ti>You cannot tweak the base system - it's built already</ti>
205</tr> 235</tr>
225</subsection> 255</subsection>
226<subsection> 256<subsection>
227<title>Gentoo LiveCDs</title> 257<title>Gentoo LiveCDs</title>
228<body> 258<body>
229 259
260<note>
261The Gentoo/PPC 2004.2 release is not official, so you will not find them on the
262mirrors. All of our self-organised mirrors are currently down. The only chance
263you can get the LiveCDs is via <uri
264link="http://torrents.gentoo.org/torrents/">BitTorrent</uri>.
265</note>
266
267<note>
268It is known that the Pegasos II will not boot the 2004.2 LiveCD. Please use the
2692004.1 LiveCD.
270</note>
271
230<p> 272<p>
231The <e>Gentoo LiveCDs</e> are bootable CDs which contain a 273The <e>Gentoo LiveCDs</e> are bootable CDs which contain a
232self-sustained Gentoo environment. They allow you to boot Linux from the CD. 274self-sustained Gentoo environment. They allow you to boot Linux from the CD.
233During the boot process your hardware is detected and the appropriate drivers 275During the boot process your hardware is detected and the appropriate drivers
234are loaded. They are maintained by Gentoo developers. 276are loaded. They are maintained by Gentoo developers.
235</p> 277</p>
236 278
237<p> 279<p>
238All LiveCDs allow you to boot, setup networking, initialize your 280All LiveCDs allow you to boot, set up networking, initialize your
239partitions and start installing Gentoo from the Internet. However, some 281partitions and start installing Gentoo from the Internet. However, some
240LiveCDs also contain all necessary source code so you are able to install 282LiveCDs also contain all necessary source code so you are able to install
241Gentoo without a working network configuration. 283Gentoo without a working network configuration.
242</p> 284</p>
243 285
254<p> 296<p>
255This is a small, no-nonsense, bootable CD which sole purpose is to boot the 297This is a small, no-nonsense, bootable CD which sole purpose is to boot the
256system, prepare the networking and continue with the Gentoo installation. It 298system, prepare the networking and continue with the Gentoo installation. It
257does not contain any stages (or, in some cases, a single stage1 file), 299does not contain any stages (or, in some cases, a single stage1 file),
258source code or precompiled packages. For example the ppc variant of this 300source code or precompiled packages. For example the ppc variant of this
259LiveCD can be found in the <path>universal</path> subdirectory and is called 301LiveCD can be found in the <path>livecd</path> subdirectory and is called
260<c>install-ppc-minimal-2004.0.iso</c>. 302<c>install-ppc-minimal-2004.2.iso</c>.
261</p> 303</p>
262 304
263<table> 305<table>
264<tr> 306<tr>
265 <th>Minimal LiveCD</th> 307 <th>Minimal LiveCD</th>
281 </ti> 323 </ti>
282</tr> 324</tr>
283<tr> 325<tr>
284 <th>-</th> 326 <th>-</th>
285 <ti> 327 <ti>
286 Contains no stages, no portage snapshot, no GRP packages and therefore not 328 Contains no stages, no Portage snapshot, no GRP packages and therefore not
287 suitable for networkless installation 329 suitable for networkless installation
288 </ti> 330 </ti>
289</tr> 331</tr>
290</table> 332</table>
291 333
297 339
298<p> 340<p>
299Gentoo's Universal LiveCD is a bootable CD suitable to install Gentoo without 341Gentoo's Universal LiveCD is a bootable CD suitable to install Gentoo without
300networking. It contains a stage1 and several stage3 tarballs (optimized for the 342networking. It contains a stage1 and several stage3 tarballs (optimized for the
301individual subarchitectures). For example the ppc variant of this CD is called 343individual subarchitectures). For example the ppc variant of this CD is called
302<c>install-ppc-universal-2004.0.iso</c> and can be found in the 344<c>install-ppc-universal-2004.2.iso</c> and can be found in the
303<path>universal</path> subdirectory. 345<path>livecd</path> subdirectory.
304</p>
305
306<p> 346</p>
307If you take a closer look into our <path>livecd</path> directory you will see 347
348<p>
349If you take a closer look on our mirrors, you will see
308that some architectures provide <e>Gentoo Package CDs</e>. This CD (which isn't 350that we provide <e>Gentoo Package CDs</e>. This CD (which isn't
309bootable) only contains precompiled packages and can be used to install software 351bootable) only contains precompiled packages and can be used to install software
310after a succesfull Gentoo Installation. To install Gentoo, you only 352after a succesfull Gentoo Installation. To install Gentoo, you only
311need the Universal LiveCD, but if you want OpenOffice.org, Mozilla, KDE, GNOME 353need the Universal LiveCD, but if you want OpenOffice.org, Mozilla, KDE, GNOME
312etc. without having to compile every single one of them, you need the Packages 354etc. without having to compile every single one of them, you need the Packages
313CD too. For example the G4 (a subarchitecture of ppc) Packages CD is 355CD too. For example the G4 (a subarchitecture of ppc) Packages CD is
314called <c>packages-g4-2004.0.iso</c> and can be found in the appropriate 356called <c>packages-g4-2004.2.iso</c> and can be found in the appropriate
315subdirectory (<path>g4/</path>). 357subdirectory (<path>g4/</path>).
358</p>
359
360<p>
361You only need the Packages CD if you want to perform a stage3 with GRP
362installation.
316</p> 363</p>
317 364
318<table> 365<table>
319<tr> 366<tr>
320 <th>Universal LiveCD with Packages CD</th> 367 <th>Universal LiveCD with Packages CD</th>
360</p> 407</p>
361 408
362<p> 409<p>
363Visit one of our <uri 410Visit one of our <uri
364link="/main/en/mirrors.xml">mirrors</uri> and go to 411link="/main/en/mirrors.xml">mirrors</uri> and go to
365<path>releases/ppc/2004.0/livecd/universal</path>, which is 412<path>releases/ppc/2004.2/livecd</path>, which is
366the path where the LiveCD(s) of your choice are located. Inside that 413the path where the LiveCD(s) of your choice are located. Inside that
367directory you'll find so-called ISO-files. Those are full CD images 414directory you'll find so-called ISO-files. Those are full CD images
368which you can write on a CD-R. 415which you can write on a CD-R.
369</p> 416</p>
370 417
371<p> 418<p>
372In case you wonder if your downloaded file is corrupted or not, you can 419In case you wonder if your downloaded file is corrupted or not, you can
373check its MD5 checksum and compare it with the MD5 checksum we provide (such as 420check its MD5 checksum and compare it with the MD5 checksum we provide (such as
374<path>install-ppc-minimal-2004.0.iso.md5</path>). You can check the MD5 checksum 421<path>install-ppc-minimal-2004.2.iso.md5</path>). You can check the MD5 checksum
375with the <c>md5sum</c> tool under Linux/Unix or <uri 422with the <c>md5sum</c> tool under Linux/Unix or <uri
376link="http://www.md5summer.org">md5summer</uri> for Windows. 423link="http://www.etree.org/md5com.html">md5sum</uri> for Windows.
424</p>
425
426<p>
427As long as Mac OS X does not support <c>md5sum</c> you have to use the md5
428capability of <c>openssl</c>. Therefore type in Terminal.app:
429</p>
430
431<pre caption="md5sum with the help of openssl">
432$ <i>openssl md5 /path/to/iso</i>
433<comment>This could take some time depending of the size of the ISO and your CPU</comment>
434</pre>
435
436<p>
437Now compare this output with the appropriate file found on the server where you
438downloaded the ISO (the file will end with .md5). If it is the same, the ISO
439image downloaded correctly. Be sure you have not mounted it (e.g. with Disk
440Copy) yet!
441</p>
442
443<p>
444More information are available in our <uri
445link="/doc/en/gentoo-ppc-faq.xml">PPC FAQ.</uri>
377</p> 446</p>
378 447
379<p> 448<p>
380To burn the downloaded ISO(s), you have to select raw-burning. How you 449To burn the downloaded ISO(s), you have to select raw-burning. How you
381do this is highly program-dependent. We will discuss a couple of popular 450do this is highly program-dependent. We will discuss <c>cdrecord</c>,
382tools on how to do this. 451<c>k3b</c> and the MacOS burning possibilities here; more information can
452be found in our <uri link="/doc/en/faq.xml#isoburning">Gentoo FAQ</uri> and
453the <uri link="/doc/en/gentoo-ppc-faq.xml">PPC FAQ</uri>.
383</p> 454</p>
384 455
385<ul> 456<ul>
386 <li>
387 With EasyCD Creator you select <c>File</c>, <c>Record CD
388 from CD image</c>. Then you change the <c>Files of type</c> to <c>ISO image
389 file</c>. Then locate the ISO file and click <c>Open</c>. When you click on
390 <c>Start recording</c> the ISO image will be burned correctly onto the CD-R.
391 </li>
392 <li>
393 With Nero Burning ROM, select <c>File</c>, <c>Burn CD image</c>. Set the
394 type of file to <c>*.*</c> and select the ISO file. Older versions of Nero
395 will tell you they don't recognize the format -- confirm here, it does
396 recognize it but doesn't know it yet :) In the next dialog, set the
397 following parameters:
398 <ul>
399 <li>Type of image: <c>Data Mode 1</c></li>
400 <li>Block size: <c>2048 bytes</c></li>
401 <li>File precursor and length of the image trailer: <c>0 bytes</c></li>
402 <li>Scrambled: <c>no</c></li>
403 <li>Swapped: <c>no</c></li>
404 </ul>
405 Now click on <c>OK</c> and then <c>Burn</c> (the CD-R)
406 </li>
407 <li> 457 <li>
408 With cdrecord, you simply type <c>cdrecord dev=/dev/hdc</c> (replace 458 With cdrecord, you simply type <c>cdrecord dev=/dev/hdc</c> (replace
409 <path>/dev/hdc</path> with your CD-RW drive's device path) followed 459 <path>/dev/hdc</path> with your CD-RW drive's device path) followed
410 by the path to the ISO file :) 460 by the path to the ISO file :)
411 </li> 461 </li>
412 <li> 462 <li>
413 With K3B, select <c>Tools</c> &gt; <c>CD</c> &gt; <c>Burn Image</c>. The 463 With k3b, select <c>Tools</c> &gt; <c>CD</c> &gt; <c>Burn Image</c>. Then
414 under the 'Image to Burn' area, locate the ISO file. Finally click 464 you can locate your ISO file within the 'Image to Burn' area. Finally click
415 <c>Start</c>. 465 <c>Start</c>.
416 </li> 466 </li>
417 <li> 467 <li>
418 With Mac OS X Panther, launch <c>Disk Utility</c> from 468 With Mac OS X Panther, launch <c>Disk Utility</c> from
419 <path>Applications/Utilities</path>, select <c>Open</c> from the 469 <path>Applications/Utilities</path>, select <c>Open</c> from the
420 <c>Images</c> menu, select the mounted disk image in the main window and 470 <c>Images</c> menu, select the mounted disk image in the main window and
421 select <c>Burn</c> in the <c>Images</c> menu. 471 select <c>Burn</c> in the <c>Images</c> menu.
422 </li> 472 </li>
423 <li> 473 <li>
424 With Mac OS X Jaguar, launch <c>Disk Copy</c> from 474 With Mac OS X Jaguar, launch <c>Disk Copy</c> from
425 <path>Applications/Utilities</path>, select <c>Burn Image</c> from the 475 <path>Applications/Utilities</path>, select <c>Burn Image</c> from the
427 </li> 477 </li>
428</ul> 478</ul>
429 479
430</body> 480</body>
431</subsection> 481</subsection>
482</section>
432<subsection> 483<section>
433<title>Booting the PPC LiveCD(s)</title> 484<title>Booting the PPC LiveCD(s)</title>
485<subsection>
486<title>Default: Apple/IBM</title>
434<body> 487<body>
435 488
489<p>
490On NewWorld machines place the LiveCD in the CD-ROM and reboot the system. When
491the system-start-bell sounds, simply hold down the 'C' until the CD loads.
436<p> 492</p>
437Place the LiveCD in the CD-ROM and reboot the system. Hold down the 'C' key at 493
438bootup (or run an OldWorld bootloader like BootX or quik). You will be greeted 494<p>
439by a friendly welcome message and a <e>boot:</e> prompt at the bottom of the 495If you have an OldWorld Mac the bootable portion of the livecd can't be used.
440screen. 496Instead you need to download <uri
497link="http://penguinppc.org/projects/bootx/">BootX</uri> and have a working
498MacOS installed on your system. You need to copy the <c>BootX Extension</c> from
499the unpacked archive-file into the <c>Extensions Folder</c> and make a new
500directory called <c>Linux Kernels</c> in the System Folder. In the next step you
501need to copy the <c>G3</c> kernel and the <c>initrd.img.gz</c> from the LiveCD
502into the <c>Linux Kernels</c> directory. Then reboot the system and wait for
503BootX to load. After BootX loaded you still have to set up a few items. In the
504options dialog you need to check <c>Use Specified RAM Disk</c> and select the
505<c>initrd.img.gz</c> which you put in the <c>Linux Kernels</c> directory. The
506ramdisk size should be set to at least <c>32000</c>. Furthermore the kernel
507argument needs to be set to <c>rw init=/linuxrc cdroot</c>. Eventually you are
508able to boot the LiveCD when you select Linux on Startup.
509</p>
510
511<p>
512After the LiveCD loaded, you will be greeted by a friendly welcome message and a
513<e>boot:</e> prompt at the bottom of the screen.
441</p> 514</p>
442 515
443<p> 516<p>
444At this prompt you are able to select a kernel for the subarchitecture you use. 517At this prompt you are able to select a kernel for the subarchitecture you use.
445We provide <c>G3</c>, <c>G3-SMP</c>, <c>G4</c>, <c>G4-SMP</c>, <c>G5</c> and 518We provide <c>G3</c>, <c>G4</c> and <c>G5</c>. All kernels are built with
446<c>G5-SMP</c>. The various <c>-SMP</c> kernels are needed if your system has 519support for multiple CPUs, but they will boot on single processor machines as
447multiple CPUs. 520well.
448</p> 521</p>
449 522
450<p> 523<p>
451You are also able to tweak some kernel options at this prompt. The following 524You are also able to tweak some kernel options at this prompt. The following
452table lists the available boot options you can add: 525table lists the available boot options you can add:
468 </ti> 541 </ti>
469</tr> 542</tr>
470<tr> 543<tr>
471 <ti><c>nol3</c></ti> 544 <ti><c>nol3</c></ti>
472 <ti> 545 <ti>
473 Disables level 3 cache on some powerbooks (needed for at least the 17'') 546 Disables level 3 cache on some PowerBooks (needed for at least the 17&quot;)
474 </ti> 547 </ti>
475</tr> 548</tr>
476<tr> 549<tr>
477 <ti><c>debug</c></ti> 550 <ti><c>debug</c></ti>
478 <ti> 551 <ti>
479 Enables verbose booting, spawns an initrd shell that can be used to debug 552 Enables verbose booting, spawns an initrd shell that can be used to debug
480 the LiveCD 553 the LiveCD
481 </ti> 554 </ti>
482</tr> 555</tr>
556<tr>
557 <ti><c>sleep=X</c></ti>
558 <ti>
559 Wait X seconds before continuing; this can be needed by some very old SCSI
560 CD-ROMs which don't speed up the CD quick enough
561 </ti>
562</tr>
563<tr>
564 <ti><c>bootfrom=X</c></ti>
565 <ti>
566 Boot from a different device
567 </ti>
568</tr>
483</table> 569</table>
484 570
485<p> 571<p>
486At this prompt, hit enter, and a complete Gentoo Linux environment will be 572At this prompt, hit enter, and a complete Gentoo Linux environment will be
487loaded from the CD. If you experience problems booting, choose the <c>-safe</c> 573loaded from the CD. Continue with <uri link="#booted">And When You're
488option at boot. The safe option passes the following extra arguments to the 574Booted...</uri>.
489kernel: <c>append="video=ofonly nol3 init=/linuxrc"</c>.
490</p>
491
492<p> 575</p>
493When the LiveCD is booted, you will be greeted with a login prompt. Log on as 576
494<c>root</c> (you don't need to enter a password). 577</body>
578</subsection>
579<subsection>
580<title>Alternative: Pegasos</title>
581<body>
582
495</p> 583<p>
496 584On the Pegasos simply insert the CD and at the SmartFirmware boot-prompt type
497<pre caption="Logging on onto the LiveCD"> 585<c>boot cd /boot/pegasos root=/dev/ram0 init=/linuxrc looptype=gcloop
498login: <i>root</i> 586cdroot</c>. If you need any special boot options you can append them to the
499</pre> 587command-line. For instance <c>boot cd /boot/pegasos root=/dev/ram0
500 588init=/linuxrc looptype=gcloop cdroot video=radeonfb:1280x1024@75 mem=256M</c>.
501<p> 589</p>
502You should have a root ("#") prompt on the current console and can also switch 590
591</body>
592</subsection>
593<subsection id="booted">
594<title>And When You're Booted...</title>
595<body>
596
597<p>
598You will be greeted by a root ("#") prompt on the current console. You can also
503to other consoles by pressing Alt-fn-F2, Alt-fn-F3 and Alt-fn-F4. Get back to 599switch to other consoles by pressing Alt-fn-F2, Alt-fn-F3 and Alt-fn-F4. Get
504the one you started on by pressing Alt-fn-F1. 600back to the one you started on by pressing Alt-fn-F1.
505</p> 601</p>
506 602
507<p> 603<p>
508If you are installing Gentoo on a system with a non-US keyboard, use 604If you are installing Gentoo on a system with a non-US keyboard, use
509<c>loadkeys</c> to load the keymap for your keyboard. To list the available 605<c>loadkeys</c> to load the keymap for your keyboard. To list the available
510keymaps, execute <c>ls /usr/share/keymaps/i386</c>. 606keymaps, execute <c>ls /usr/share/keymaps/i386</c>. Do not use the keymaps in
607<path>ppc</path> or <path>mac</path> as they are for ADB-based OldWorld
608machines.
511</p> 609</p>
512 610
513<pre caption="Listing available keymaps"> 611<pre caption="Listing available keymaps">
514<comment>(PPC uses x86 keymaps on most systems. The mac/ppc keymaps provided 612<comment>(PPC uses x86 keymaps on most systems. The mac/ppc keymaps provided
515 on the LiveCD are ADB keymaps and unusable with the LiveCD kernel)</comment> 613 on the LiveCD are ADB keymaps and unusable with the LiveCD kernel)</comment>
519<p> 617<p>
520Now load the keymap of your choice: 618Now load the keymap of your choice:
521</p> 619</p>
522 620
523<pre caption="Loading a keymap"> 621<pre caption="Loading a keymap">
524# <i>loadkeys be2-latin1</i> 622# <i>loadkeys be-latin1</i>
525</pre> 623</pre>
526 624
527<p> 625<p>
528Now continue with <uri link="#hardware">Extra Hardware Configuration</uri>. 626Now continue with <uri link="#hardware">Extra Hardware Configuration</uri>.
529</p> 627</p>
533<subsection id="hardware"> 631<subsection id="hardware">
534<title>Extra Hardware Configuration</title> 632<title>Extra Hardware Configuration</title>
535<body> 633<body>
536 634
537<p> 635<p>
538When the Live CD boots, it tries to detect all your hardware devices and 636When the LiveCD boots, it tries to detect all your hardware devices and
539loads the appropriate kernel modules to support your hardware. In the 637loads the appropriate kernel modules to support your hardware. In the
540vast majority of cases, it does a very good job. However, in some cases (the 638vast majority of cases, it does a very good job. However, in some cases, it may
541SPARC LiveCDs don't even do autodetection), it may not auto-load the kernel 639not auto-load the kernel modules you need. If the PCI auto-detection missed some
542modules you need. If the PCI auto-detection missed some of your system's
543hardware, you will have to load the appropriate kernel modules manually. 640of your system's hardware, you will have to load the appropriate kernel modules
641manually.
544</p> 642</p>
545 643
546<p> 644<p>
547In the next example we try to load the <c>8139too</c> module (support for 645In the next example we try to load the <c>8139too</c> module (support for
548certain kinds of network interfaces): 646certain kinds of network interfaces):
549</p> 647</p>
550 648
551<pre caption="Loading kernel modules"> 649<pre caption="Loading kernel modules">
552# <i>modprobe 8139too</i> 650# <i>modprobe 8139too</i>
553</pre> 651</pre>
554
555<p>
556For instance, some PPC users might want to load <c>airport</c> or
557<c>sungem</c> (10/100 Mbit for most powerbooks). Thermal management for G5 is
558supported through the <c>therm_pm72</c> module.
559</p>
560 652
561</body> 653</body>
562</subsection> 654</subsection>
563<subsection> 655<subsection>
564<title>Optional: Tweaking Hard Disk Performance</title> 656<title>Optional: Tweaking Hard Disk Performance</title>
586<comment>Activate DMA + Safe Performance-enhancing Options:</comment> # <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i> 678<comment>Activate DMA + Safe Performance-enhancing Options:</comment> # <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i>
587</pre> 679</pre>
588 680
589</body> 681</body>
590</subsection> 682</subsection>
591<subsection> 683<subsection id="useraccounts">
592<title>Optional: User Accounts</title> 684<title>Optional: User Accounts</title>
593<body> 685<body>
594 686
595<p> 687<p>
596If you plan on giving other people access to your installation 688If you plan on giving other people access to your installation
608New password: <comment>(Enter your new password)</comment> 700New password: <comment>(Enter your new password)</comment>
609Re-enter password: <comment>(Re-enter your password)</comment> 701Re-enter password: <comment>(Re-enter your password)</comment>
610</pre> 702</pre>
611 703
612<p> 704<p>
613To create a user account, we first enter his credentials, followed by 705To create a user account, we first enter their credentials, followed by
614its password. We use <c>useradd</c> and <c>passwd</c> for these tasks. 706its password. We use <c>useradd</c> and <c>passwd</c> for these tasks.
615In the next example, we create a user called &quot;john&quot;. 707In the next example, we create a user called &quot;john&quot;.
616</p> 708</p>
617 709
618<pre caption="Creating a user account"> 710<pre caption="Creating a user account">
619# <i>useradd john</i> 711# <i>useradd -m -G users john</i>
620# <i>passwd john</i> 712# <i>passwd john</i>
621New password: <comment>(Enter john's password)</comment> 713New password: <comment>(Enter john's password)</comment>
622Re-enter password: <comment>(Re-enter john's password)</comment> 714Re-enter password: <comment>(Re-enter john's password)</comment>
623</pre> 715</pre>
624 716
626You can change your user id from root to the newly created user by using 718You can change your user id from root to the newly created user by using
627<c>su</c>: 719<c>su</c>:
628</p> 720</p>
629 721
630<pre caption="Changing user id"> 722<pre caption="Changing user id">
631# <i>su john -</i> 723# <i>su - john</i>
724</pre>
725
726</body>
727</subsection>
728<subsection>
729<title>Optional: Viewing Documentation while Installing</title>
730<body>
731
732<p>
733If you want to view the Gentoo Handbook (either from-CD or online) during the
734installation, make sure you have created a user account (see <uri
735link="#useraccounts">Optional: User Accounts</uri>). Then press <c>Alt-F2</c> to
736go to a new terminal and log in.
632</pre> 737</p>
738
739<p>
740If you want to view the documentation on the CD you can immediately run
741<c>links2</c> to read it:
742</p>
743
744<pre caption="Viewing the on-CD documentation">
745# <i>links2 /mnt/cdrom/docs/html/index.html</i>
746</pre>
747
748<p>
749However, it is preferred that you use the online Gentoo Handbook as it will be
750more recent than the one provided on the CD. You can view it using <c>links2</c>
751as well, but only after having completed the <e>Configuring your Network</e>
752chapter (otherwise you won't be able to go on the Internet to view the
753document):
754</p>
755
756<pre caption="Viewing the Online Documentation">
757# <i>links2 http://www.gentoo.org/doc/en/handbook/handbook-ppc.xml</i>
758</pre>
759
760<p>
761You can go back to your original terminal by pressing <c>Alt-F1</c>.
762</p>
633 763
634</body> 764</body>
635</subsection> 765</subsection>
636<subsection> 766<subsection>
637<title>Optional: Starting the SSH Daemon</title> 767<title>Optional: Starting the SSH Daemon</title>
652<pre caption="Starting the SSH daemon"> 782<pre caption="Starting the SSH daemon">
653# <i>/etc/init.d/sshd start</i> 783# <i>/etc/init.d/sshd start</i>
654</pre> 784</pre>
655 785
656<p> 786<p>
657To be able to use sshd, you first need to setup your networking. Continue with 787To be able to use sshd, you first need to set up your networking. Continue with
658the chapter on <uri link="?part=1&amp;chap=3">Configuring your Network</uri>. 788the chapter on <uri link="?part=1&amp;chap=3">Configuring your Network</uri>.
659</p> 789</p>
660 790
661</body> 791</body>
662</subsection> 792</subsection>

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.32

  ViewVC Help
Powered by ViewVC 1.1.20