| … | |
… | |
| 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.2 2004/04/04 19:36:23 pylon 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> |
| … | |
… | |
| 30 | continue with the Gentoo installation: |
34 | continue 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> |
| … | |
… | |
| 110 | power users who know what they are doing. It is also a great |
114 | power users who know what they are doing. It is also a great |
| 111 | installation method for those who would like to know more about the |
115 | installation method for those who would like to know more about the |
| 112 | inner workings of Gentoo Linux. |
116 | inner workings of Gentoo Linux. |
| 113 | </p> |
117 | </p> |
| 114 | |
118 | |
|
|
119 | <p> |
|
|
120 | A <e>stage1</e> installation can only be performed when you have a working |
|
|
121 | Internet 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 |
| 149 | is fine if you are happy with the optimization settings that we chose |
164 | is fine if you are happy with the optimization settings that we chose |
| 150 | for your particular <e>stage2</e> tarball. |
165 | for your particular <e>stage2</e> tarball. |
| 151 | </p> |
166 | </p> |
| 152 | |
167 | |
|
|
168 | <p> |
|
|
169 | A <e>stage2</e> installation can only be performed when you have a working |
|
|
170 | Internet 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> |
| 185 | Choosing to go with a <e>stage3</e> allows for the fastest install of Gentoo |
211 | Choosing to go with a <e>stage3</e> allows for the fastest install of Gentoo |
| 186 | Linux, but also means that your base system will have the optimization |
212 | Linux, but also means that your base system will have the optimization |
| 187 | settings that we chose for you (which to be honest, are good settings |
213 | settings that we chose for you (which to be honest, are good settings |
| 188 | and were carefully chosen to enhance performance while maintaining |
214 | and were carefully chosen to enhance performance while maintaining |
| 189 | stability). <e>stage3</e> is also required if you want to install Gentoo using |
215 | stability). <e>stage3</e> is also required if you want to install Gentoo using |
| 190 | prebuilt packages. |
216 | prebuilt 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> |
|
|
261 | The Gentoo/PPC 2004.2 release is not official, so you will not find them on the |
|
|
262 | mirrors. All of our self-organised mirrors are currently down. The only chance |
|
|
263 | you can get the LiveCDs is via <uri |
|
|
264 | link="http://torrents.gentoo.org/torrents/">BitTorrent</uri>. |
|
|
265 | </note> |
|
|
266 | |
|
|
267 | <note> |
|
|
268 | It is known that the Pegasos II will not boot the 2004.2 LiveCD. Please use the |
|
|
269 | 2004.1 LiveCD. |
|
|
270 | </note> |
|
|
271 | |
| 230 | <p> |
272 | <p> |
| 231 | The <e>Gentoo LiveCDs</e> are bootable CDs which contain a |
273 | The <e>Gentoo LiveCDs</e> are bootable CDs which contain a |
| 232 | self-sustained Gentoo environment. They allow you to boot Linux from the CD. |
274 | self-sustained Gentoo environment. They allow you to boot Linux from the CD. |
| 233 | During the boot process your hardware is detected and the appropriate drivers |
275 | During the boot process your hardware is detected and the appropriate drivers |
| 234 | are loaded. They are maintained by Gentoo developers. |
276 | are loaded. They are maintained by Gentoo developers. |
| 235 | </p> |
277 | </p> |
| 236 | |
278 | |
| 237 | <p> |
279 | <p> |
| 238 | All LiveCDs allow you to boot, setup networking, initialize your |
280 | All LiveCDs allow you to boot, set up networking, initialize your |
| 239 | partitions and start installing Gentoo from the Internet. However, some |
281 | partitions and start installing Gentoo from the Internet. However, some |
| 240 | LiveCDs also contain all necessary source code so you are able to install |
282 | LiveCDs also contain all necessary source code so you are able to install |
| 241 | Gentoo without a working network configuration. |
283 | Gentoo without a working network configuration. |
| 242 | </p> |
284 | </p> |
| 243 | |
285 | |
| … | |
… | |
| 254 | <p> |
296 | <p> |
| 255 | This is a small, no-nonsense, bootable CD which sole purpose is to boot the |
297 | This is a small, no-nonsense, bootable CD which sole purpose is to boot the |
| 256 | system, prepare the networking and continue with the Gentoo installation. It |
298 | system, prepare the networking and continue with the Gentoo installation. It |
| 257 | does not contain any stages (or, in some cases, a single stage1 file), |
299 | does not contain any stages (or, in some cases, a single stage1 file), |
| 258 | source code or precompiled packages. For example the ppc variant of this |
300 | source code or precompiled packages. For example the ppc variant of this |
| 259 | LiveCD can be found in the <path>universal</path> subdirectory and is called |
301 | LiveCD 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> |
| 299 | Gentoo's Universal LiveCD is a bootable CD suitable to install Gentoo without |
341 | Gentoo's Universal LiveCD is a bootable CD suitable to install Gentoo without |
| 300 | networking. It contains a stage1 and several stage3 tarballs (optimized for the |
342 | networking. It contains a stage1 and several stage3 tarballs (optimized for the |
| 301 | individual subarchitectures). For example the ppc variant of this CD is called |
343 | individual 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> |
| 307 | If you take a closer look into our <path>livecd</path> directory you will see |
347 | |
|
|
348 | <p> |
|
|
349 | If you take a closer look on our mirrors, you will see |
| 308 | that some architectures provide <e>Gentoo Package CDs</e>. This CD (which isn't |
350 | that we provide <e>Gentoo Package CDs</e>. This CD (which isn't |
| 309 | bootable) only contains precompiled packages and can be used to install software |
351 | bootable) only contains precompiled packages and can be used to install software |
| 310 | after a succesfull Gentoo Installation. To install Gentoo, you only |
352 | after a succesfull Gentoo Installation. To install Gentoo, you only |
| 311 | need the Universal LiveCD, but if you want OpenOffice.org, Mozilla, KDE, GNOME |
353 | need the Universal LiveCD, but if you want OpenOffice.org, Mozilla, KDE, GNOME |
| 312 | etc. without having to compile every single one of them, you need the Packages |
354 | etc. without having to compile every single one of them, you need the Packages |
| 313 | CD too. For example the G4 (a subarchitecture of ppc) Packages CD is |
355 | CD too. For example the G4 (a subarchitecture of ppc) Packages CD is |
| 314 | called <c>packages-g4-2004.0.iso</c> and can be found in the appropriate |
356 | called <c>packages-g4-2004.2.iso</c> and can be found in the appropriate |
| 315 | subdirectory (<path>g4/</path>). |
357 | subdirectory (<path>g4/</path>). |
|
|
358 | </p> |
|
|
359 | |
|
|
360 | <p> |
|
|
361 | You only need the Packages CD if you want to perform a stage3 with GRP |
|
|
362 | installation. |
| 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> |
| 363 | Visit one of our <uri |
410 | Visit one of our <uri |
| 364 | link="/main/en/mirrors.xml">mirrors</uri> and go to |
411 | link="/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 |
| 366 | the path where the LiveCD(s) of your choice are located. Inside that |
413 | the path where the LiveCD(s) of your choice are located. Inside that |
| 367 | directory you'll find so-called ISO-files. Those are full CD images |
414 | directory you'll find so-called ISO-files. Those are full CD images |
| 368 | which you can write on a CD-R. |
415 | which you can write on a CD-R. |
| 369 | </p> |
416 | </p> |
| 370 | |
417 | |
| 371 | <p> |
418 | <p> |
| 372 | In case you wonder if your downloaded file is corrupted or not, you can |
419 | In case you wonder if your downloaded file is corrupted or not, you can |
| 373 | check its MD5 checksum and compare it with the MD5 checksum we provide (such as |
420 | check 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 |
| 375 | with the <c>md5sum</c> tool under Linux/Unix or <uri |
422 | with the <c>md5sum</c> tool under Linux/Unix or <uri |
| 376 | link="http://www.md5summer.org">md5summer</uri> for Windows. |
423 | link="http://www.etree.org/md5com.html">md5sum</uri> for Windows. |
|
|
424 | </p> |
|
|
425 | |
|
|
426 | <p> |
|
|
427 | As long as Mac OS X does not support <c>md5sum</c> you have to use the md5 |
|
|
428 | capability 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> |
|
|
437 | Now compare this output with the appropriate file found on the server where you |
|
|
438 | downloaded the ISO (the file will end with .md5). If it is the same, the ISO |
|
|
439 | image downloaded correctly. Be sure you have not mounted it (e.g. with Disk |
|
|
440 | Copy) yet! |
|
|
441 | </p> |
|
|
442 | |
|
|
443 | <p> |
|
|
444 | More information are available in our <uri |
|
|
445 | link="/doc/en/gentoo-ppc-faq.xml">PPC FAQ.</uri> |
| 377 | </p> |
446 | </p> |
| 378 | |
447 | |
| 379 | <p> |
448 | <p> |
| 380 | To burn the downloaded ISO(s), you have to select raw-burning. How you |
449 | To burn the downloaded ISO(s), you have to select raw-burning. How you |
| 381 | do this is highly program-dependent. We will discuss a couple of popular |
450 | do this is highly program-dependent. We will discuss <c>cdrecord</c>, |
| 382 | tools on how to do this. |
451 | <c>k3b</c> and the MacOS burning possibilities here; more information can |
|
|
452 | be found in our <uri link="/doc/en/faq.xml#isoburning">Gentoo FAQ</uri> and |
|
|
453 | the <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> |
|
|
463 | With k3b, select <c>Tools</c> > <c>CD</c> > <c>Burn Image</c>. Then |
|
|
464 | you can locate your ISO file within the 'Image to Burn' area. Finally click |
|
|
465 | <c>Start</c>. |
|
|
466 | </li> |
|
|
467 | <li> |
| 413 | With Mac OS X Panther, launch <c>Disk Utility</c> from |
468 | With Mac OS X Panther, launch <c>Disk Utility</c> from |
| 414 | <path>Applications/Utilities</path>, select <c>Open</c> from the |
469 | <path>Applications/Utilities</path>, select <c>Open</c> from the |
| 415 | <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 |
| 416 | select <c>Burn</c> in the <c>Images</c> menu. |
471 | select <c>Burn</c> in the <c>Images</c> menu. |
| 417 | </li> |
472 | </li> |
| 418 | <li> |
473 | <li> |
| 419 | With Mac OS X Jaguar, launch <c>Disk Copy</c> from |
474 | With Mac OS X Jaguar, launch <c>Disk Copy</c> from |
| 420 | <path>Applications/Utilities</path>, select <c>Burn Image</c> from the |
475 | <path>Applications/Utilities</path>, select <c>Burn Image</c> from the |
| … | |
… | |
| 422 | </li> |
477 | </li> |
| 423 | </ul> |
478 | </ul> |
| 424 | |
479 | |
| 425 | </body> |
480 | </body> |
| 426 | </subsection> |
481 | </subsection> |
|
|
482 | </section> |
| 427 | <subsection> |
483 | <section> |
| 428 | <title>Booting the PPC LiveCD(s)</title> |
484 | <title>Booting the PPC LiveCD(s)</title> |
|
|
485 | <subsection> |
|
|
486 | <title>Default: Apple/IBM</title> |
| 429 | <body> |
487 | <body> |
| 430 | |
488 | |
|
|
489 | <p> |
|
|
490 | On NewWorld machines place the LiveCD in the CD-ROM and reboot the system. When |
|
|
491 | the system-start-bell sounds, simply hold down the 'C' until the CD loads. |
| 431 | <p> |
492 | </p> |
| 432 | Place the LiveCD in the CD-ROM and reboot the system. Hold down the 'C' key at |
493 | |
| 433 | bootup (or run an OldWorld bootloader like BootX or quik). You will be greeted |
494 | <p> |
| 434 | by a friendly welcome message and a <e>boot:</e> prompt at the bottom of the |
495 | If you have an OldWorld Mac the bootable portion of the livecd can't be used. |
| 435 | screen. |
496 | Instead you need to download <uri |
|
|
497 | link="http://penguinppc.org/projects/bootx/">BootX</uri> and have a working |
|
|
498 | MacOS installed on your system. You need to copy the <c>BootX Extension</c> from |
|
|
499 | the unpacked archive-file into the <c>Extensions Folder</c> and make a new |
|
|
500 | directory called <c>Linux Kernels</c> in the System Folder. In the next step you |
|
|
501 | need to copy the <c>G3</c> kernel and the <c>initrd.img.gz</c> from the LiveCD |
|
|
502 | into the <c>Linux Kernels</c> directory. Then reboot the system and wait for |
|
|
503 | BootX to load. After BootX loaded you still have to set up a few items. In the |
|
|
504 | options 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 |
|
|
506 | ramdisk size should be set to at least <c>32000</c>. Furthermore the kernel |
|
|
507 | argument needs to be set to <c>rw init=/linuxrc cdroot</c>. Eventually you are |
|
|
508 | able to boot the LiveCD when you select Linux on Startup. |
|
|
509 | </p> |
|
|
510 | |
|
|
511 | <p> |
|
|
512 | After 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. |
| 436 | </p> |
514 | </p> |
| 437 | |
515 | |
| 438 | <p> |
516 | <p> |
| 439 | At this prompt you are able to select a kernel for the subarchitecture you use. |
517 | At this prompt you are able to select a kernel for the subarchitecture you use. |
| 440 | We provide <c>G3</c>, <c>G3-SMP</c>, <c>G4</c>, <c>G4-SMP</c>, <c>G5</c> and |
518 | We provide <c>G3</c>, <c>G4</c> and <c>G5</c>. All kernels are built with |
| 441 | <c>G5-SMP</c>. The various <c>-SMP</c> kernels are needed if your system has |
519 | support for multiple CPUs, but they will boot on single processor machines as |
| 442 | multiple CPUs. |
520 | well. |
| 443 | </p> |
521 | </p> |
| 444 | |
522 | |
| 445 | <p> |
523 | <p> |
| 446 | You are also able to tweak some kernel options at this prompt. The following |
524 | You are also able to tweak some kernel options at this prompt. The following |
| 447 | table lists the available boot options you can add: |
525 | table lists the available boot options you can add: |
| … | |
… | |
| 463 | </ti> |
541 | </ti> |
| 464 | </tr> |
542 | </tr> |
| 465 | <tr> |
543 | <tr> |
| 466 | <ti><c>nol3</c></ti> |
544 | <ti><c>nol3</c></ti> |
| 467 | <ti> |
545 | <ti> |
| 468 | 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") |
| 469 | </ti> |
547 | </ti> |
| 470 | </tr> |
548 | </tr> |
| 471 | <tr> |
549 | <tr> |
| 472 | <ti><c>debug</c></ti> |
550 | <ti><c>debug</c></ti> |
| 473 | <ti> |
551 | <ti> |
| 474 | 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 |
| 475 | the LiveCD |
553 | the LiveCD |
| 476 | </ti> |
554 | </ti> |
| 477 | </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> |
| 478 | </table> |
569 | </table> |
| 479 | |
570 | |
| 480 | <p> |
571 | <p> |
| 481 | At this prompt, hit enter, and a complete Gentoo Linux environment will be |
572 | At this prompt, hit enter, and a complete Gentoo Linux environment will be |
| 482 | loaded from the CD. If you experience problems booting, choose the <c>-safe</c> |
573 | loaded from the CD. Continue with <uri link="#booted">And When You're |
| 483 | option at boot. The safe option passes the following extra arguments to the |
574 | Booted...</uri>. |
| 484 | kernel: <c>append="video=ofonly nol3 init=/linuxrc"</c>. |
|
|
| 485 | </p> |
|
|
| 486 | |
|
|
| 487 | <p> |
575 | </p> |
| 488 | When the LiveCD is booted, you will be greeted with a login prompt. Log on as |
576 | |
| 489 | <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 | |
| 490 | </p> |
583 | <p> |
| 491 | |
584 | On the Pegasos simply insert the CD and at the SmartFirmware boot-prompt type |
| 492 | <pre caption="Logging on onto the LiveCD"> |
585 | <c>boot cd /boot/pegasos root=/dev/ram0 init=/linuxrc looptype=gcloop |
| 493 | login: <i>root</i> |
586 | cdroot</c>. If you need any special boot options you can append them to the |
| 494 | </pre> |
587 | command-line. For instance <c>boot cd /boot/pegasos root=/dev/ram0 |
| 495 | |
588 | init=/linuxrc looptype=gcloop cdroot video=radeonfb:1280x1024@75 mem=256M</c>. |
| 496 | <p> |
589 | </p> |
| 497 | You 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> |
|
|
598 | You will be greeted by a root ("#") prompt on the current console. You can also |
| 498 | to other consoles by pressing Alt-fn-F2, Alt-fn-F3 and Alt-fn-F4. Get back to |
599 | switch to other consoles by pressing Alt-fn-F2, Alt-fn-F3 and Alt-fn-F4. Get |
| 499 | the one you started on by pressing Alt-fn-F1. |
600 | back to the one you started on by pressing Alt-fn-F1. |
| 500 | </p> |
601 | </p> |
| 501 | |
602 | |
| 502 | <p> |
603 | <p> |
| 503 | If you are installing Gentoo on a system with a non-US keyboard, use |
604 | If you are installing Gentoo on a system with a non-US keyboard, use |
| 504 | <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 |
| 505 | keymaps, execute <c>ls /usr/share/keymaps/i386</c>. |
606 | keymaps, 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 |
|
|
608 | machines. |
| 506 | </p> |
609 | </p> |
| 507 | |
610 | |
| 508 | <pre caption="Listing available keymaps"> |
611 | <pre caption="Listing available keymaps"> |
| 509 | <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 |
| 510 | 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> |
| … | |
… | |
| 514 | <p> |
617 | <p> |
| 515 | Now load the keymap of your choice: |
618 | Now load the keymap of your choice: |
| 516 | </p> |
619 | </p> |
| 517 | |
620 | |
| 518 | <pre caption="Loading a keymap"> |
621 | <pre caption="Loading a keymap"> |
| 519 | # <i>loadkeys be2-latin1</i> |
622 | # <i>loadkeys be-latin1</i> |
| 520 | </pre> |
623 | </pre> |
| 521 | |
624 | |
| 522 | <p> |
625 | <p> |
| 523 | Now continue with <uri link="#hardware">Extra Hardware Configuration</uri>. |
626 | Now continue with <uri link="#hardware">Extra Hardware Configuration</uri>. |
| 524 | </p> |
627 | </p> |
| … | |
… | |
| 528 | <subsection id="hardware"> |
631 | <subsection id="hardware"> |
| 529 | <title>Extra Hardware Configuration</title> |
632 | <title>Extra Hardware Configuration</title> |
| 530 | <body> |
633 | <body> |
| 531 | |
634 | |
| 532 | <p> |
635 | <p> |
| 533 | When the Live CD boots, it tries to detect all your hardware devices and |
636 | When the LiveCD boots, it tries to detect all your hardware devices and |
| 534 | loads the appropriate kernel modules to support your hardware. In the |
637 | loads the appropriate kernel modules to support your hardware. In the |
| 535 | vast majority of cases, it does a very good job. However, in some cases (the |
638 | vast majority of cases, it does a very good job. However, in some cases, it may |
| 536 | SPARC LiveCDs don't even do autodetection), it may not auto-load the kernel |
639 | not auto-load the kernel modules you need. If the PCI auto-detection missed some |
| 537 | modules you need. If the PCI auto-detection missed some of your system's |
|
|
| 538 | hardware, you will have to load the appropriate kernel modules manually. |
640 | of your system's hardware, you will have to load the appropriate kernel modules |
|
|
641 | manually. |
| 539 | </p> |
642 | </p> |
| 540 | |
643 | |
| 541 | <p> |
644 | <p> |
| 542 | In the next example we try to load the <c>8139too</c> module (support for |
645 | In the next example we try to load the <c>8139too</c> module (support for |
| 543 | certain kinds of network interfaces): |
646 | certain kinds of network interfaces): |
| 544 | </p> |
647 | </p> |
| 545 | |
648 | |
| 546 | <pre caption="Loading kernel modules"> |
649 | <pre caption="Loading kernel modules"> |
| 547 | # <i>modprobe 8139too</i> |
650 | # <i>modprobe 8139too</i> |
| 548 | </pre> |
651 | </pre> |
| 549 | |
|
|
| 550 | <p> |
|
|
| 551 | For instance, some PPC users might want to load <c>airport</c> or |
|
|
| 552 | <c>sungem</c> (10/100 Mbit for most powerbooks). Thermal management for G5 is |
|
|
| 553 | supported through the <c>therm_pm72</c> module. |
|
|
| 554 | </p> |
|
|
| 555 | |
652 | |
| 556 | </body> |
653 | </body> |
| 557 | </subsection> |
654 | </subsection> |
| 558 | <subsection> |
655 | <subsection> |
| 559 | <title>Optional: Tweaking Hard Disk Performance</title> |
656 | <title>Optional: Tweaking Hard Disk Performance</title> |
| … | |
… | |
| 581 | <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> |
| 582 | </pre> |
679 | </pre> |
| 583 | |
680 | |
| 584 | </body> |
681 | </body> |
| 585 | </subsection> |
682 | </subsection> |
| 586 | <subsection> |
683 | <subsection id="useraccounts"> |
| 587 | <title>Optional: User Accounts</title> |
684 | <title>Optional: User Accounts</title> |
| 588 | <body> |
685 | <body> |
| 589 | |
686 | |
| 590 | <p> |
687 | <p> |
| 591 | If you plan on giving other people access to your installation |
688 | If you plan on giving other people access to your installation |
| … | |
… | |
| 603 | New password: <comment>(Enter your new password)</comment> |
700 | New password: <comment>(Enter your new password)</comment> |
| 604 | Re-enter password: <comment>(Re-enter your password)</comment> |
701 | Re-enter password: <comment>(Re-enter your password)</comment> |
| 605 | </pre> |
702 | </pre> |
| 606 | |
703 | |
| 607 | <p> |
704 | <p> |
| 608 | To create a user account, we first enter his credentials, followed by |
705 | To create a user account, we first enter their credentials, followed by |
| 609 | its password. We use <c>useradd</c> and <c>passwd</c> for these tasks. |
706 | its password. We use <c>useradd</c> and <c>passwd</c> for these tasks. |
| 610 | In the next example, we create a user called "john". |
707 | In the next example, we create a user called "john". |
| 611 | </p> |
708 | </p> |
| 612 | |
709 | |
| 613 | <pre caption="Creating a user account"> |
710 | <pre caption="Creating a user account"> |
| 614 | # <i>useradd john</i> |
711 | # <i>useradd -m -G users john</i> |
| 615 | # <i>passwd john</i> |
712 | # <i>passwd john</i> |
| 616 | New password: <comment>(Enter john's password)</comment> |
713 | New password: <comment>(Enter john's password)</comment> |
| 617 | Re-enter password: <comment>(Re-enter john's password)</comment> |
714 | Re-enter password: <comment>(Re-enter john's password)</comment> |
| 618 | </pre> |
715 | </pre> |
| 619 | |
716 | |
| … | |
… | |
| 621 | You can change your user id from root to the newly created user by using |
718 | You can change your user id from root to the newly created user by using |
| 622 | <c>su</c>: |
719 | <c>su</c>: |
| 623 | </p> |
720 | </p> |
| 624 | |
721 | |
| 625 | <pre caption="Changing user id"> |
722 | <pre caption="Changing user id"> |
| 626 | # <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> |
|
|
733 | If you want to view the Gentoo Handbook (either from-CD or online) during the |
|
|
734 | installation, make sure you have created a user account (see <uri |
|
|
735 | link="#useraccounts">Optional: User Accounts</uri>). Then press <c>Alt-F2</c> to |
|
|
736 | go to a new terminal and log in. |
| 627 | </pre> |
737 | </p> |
|
|
738 | |
|
|
739 | <p> |
|
|
740 | If 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> |
|
|
749 | However, it is preferred that you use the online Gentoo Handbook as it will be |
|
|
750 | more recent than the one provided on the CD. You can view it using <c>links2</c> |
|
|
751 | as well, but only after having completed the <e>Configuring your Network</e> |
|
|
752 | chapter (otherwise you won't be able to go on the Internet to view the |
|
|
753 | document): |
|
|
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> |
|
|
761 | You can go back to your original terminal by pressing <c>Alt-F1</c>. |
|
|
762 | </p> |
| 628 | |
763 | |
| 629 | </body> |
764 | </body> |
| 630 | </subsection> |
765 | </subsection> |
| 631 | <subsection> |
766 | <subsection> |
| 632 | <title>Optional: Starting the SSH Daemon</title> |
767 | <title>Optional: Starting the SSH Daemon</title> |
| … | |
… | |
| 647 | <pre caption="Starting the SSH daemon"> |
782 | <pre caption="Starting the SSH daemon"> |
| 648 | # <i>/etc/init.d/sshd start</i> |
783 | # <i>/etc/init.d/sshd start</i> |
| 649 | </pre> |
784 | </pre> |
| 650 | |
785 | |
| 651 | <p> |
786 | <p> |
| 652 | To be able to use sshd, you first need to setup your networking. Continue with |
787 | To be able to use sshd, you first need to set up your networking. Continue with |
| 653 | the chapter on <uri link="?part=1&chap=3">Configuring your Network</uri>. |
788 | the chapter on <uri link="?part=1&chap=3">Configuring your Network</uri>. |
| 654 | </p> |
789 | </p> |
| 655 | |
790 | |
| 656 | </body> |
791 | </body> |
| 657 | </subsection> |
792 | </subsection> |