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