… | |
… | |
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/2.5 --> |
5 | <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
6 | |
6 | |
7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-medium.xml,v 1.53 2006/07/25 18:01:45 josejx Exp $ --> |
7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-medium.xml,v 1.68 2011/11/27 18:17:23 swift Exp $ --> |
8 | |
8 | |
9 | <sections> |
9 | <sections> |
10 | |
10 | |
|
|
11 | <abstract> |
|
|
12 | You can install Gentoo in many ways. This chapter explains how to install |
|
|
13 | Gentoo using the minimal Installation CD. |
|
|
14 | </abstract> |
|
|
15 | |
11 | <version>2.10</version> |
16 | <version>13</version> |
12 | <date>2006-07-25</date> |
17 | <date>2011-11-27</date> |
13 | |
18 | |
14 | <section> |
19 | <section> |
15 | <title>Hardware Requirements</title> |
20 | <title>Hardware Requirements</title> |
16 | <subsection> |
21 | <subsection> |
17 | <title>Introduction</title> |
22 | <title>Introduction</title> |
… | |
… | |
37 | </ti> |
42 | </ti> |
38 | </tr> |
43 | </tr> |
39 | <tr> |
44 | <tr> |
40 | <th>Apple OldWorld machines</th> |
45 | <th>Apple OldWorld machines</th> |
41 | <ti> |
46 | <ti> |
42 | Apple Machines with an OpenFirmware revision less than 3, such as the Beige |
47 | Apple Machines with an Open Firmware revision less than 3, such as the Beige |
43 | G3s, PCI PowerMacs and PCI PowerBooks. PCI based Apple Clones should also |
48 | G3s, PCI PowerMacs and PCI PowerBooks. PCI-based Apple Clones should also |
44 | be supported. |
49 | be supported. |
45 | </ti> |
50 | </ti> |
46 | </tr> |
51 | </tr> |
47 | <tr> |
52 | <tr> |
48 | <th>Genesi's Pegasos</th> |
53 | <th>Genesi</th> |
49 | <ti> |
54 | <ti> |
50 | Pegasos I/II, Open Desktop Workstation |
55 | Pegasos I/II, Open Desktop Workstation, Efika |
51 | </ti> |
56 | </ti> |
52 | </tr> |
57 | </tr> |
53 | <tr> |
58 | <tr> |
54 | <th>IBM</th> |
59 | <th>IBM</th> |
55 | <ti> |
60 | <ti> |
… | |
… | |
77 | </p> |
82 | </p> |
78 | |
83 | |
79 | </body> |
84 | </body> |
80 | </subsection> |
85 | </subsection> |
81 | </section> |
86 | </section> |
82 | <!-- Copy/paste from hb-install-x86-medium.xml (with s/x86/ppc/) --> |
87 | |
83 | <!-- START --> |
88 | <!-- START --> |
84 | <section> |
89 | <section> |
85 | <title>The Gentoo Installation CDs</title> |
90 | <title>The Gentoo Installation CDs</title> |
86 | <subsection> |
91 | <subsection> |
87 | <title>Introduction</title> |
92 | <title>Introduction</title> |
… | |
… | |
94 | are loaded. They are maintained by Gentoo developers. |
99 | are loaded. They are maintained by Gentoo developers. |
95 | </p> |
100 | </p> |
96 | |
101 | |
97 | <p> |
102 | <p> |
98 | All Installation CDs allow you to boot, set up networking, initialize your |
103 | All Installation CDs allow you to boot, set up networking, initialize your |
99 | partitions and start installing Gentoo from the Internet. We currently provide |
104 | partitions and start installing Gentoo from the Internet. |
100 | two Installation CDs which are equaly suitable to install Gentoo from, as long |
|
|
101 | as you're planning on performing an Internet-based installation using the |
|
|
102 | latest version of the available packages. |
|
|
103 | </p> |
|
|
104 | |
|
|
105 | <p> |
105 | </p> |
|
|
106 | |
|
|
107 | <!-- |
|
|
108 | <impo> |
106 | If you wish to install Gentoo without a working Internet connection, please use |
109 | If you wish to install Gentoo without a working Internet connection, or would |
107 | the installation instructions described in the <uri |
110 | like to use one of the provided installers, please use the installation |
108 | link="2006.0/index.xml">Gentoo 2006.0 Handbooks</uri>. |
111 | instructions described in the <uri link="2008.0/">Gentoo 2008.0 |
|
|
112 | Handbooks</uri>. |
|
|
113 | </impo> |
|
|
114 | --> |
|
|
115 | <!-- |
109 | </p> |
116 | <p> |
110 | |
|
|
111 | <p> |
|
|
112 | The two Installation CDs that we currently provide are: |
117 | The Installation CDs that we currently provide are: |
113 | </p> |
118 | </p> |
114 | |
119 | |
115 | <ul> |
120 | <ul> |
116 | <li> |
121 | <li> |
117 | The Gentoo <e>Minimal</e> Installation CD, a small, no-nonsense, bootable |
122 | The Gentoo <e>Minimal</e> Installation CD, a small, no-nonsense, bootable |
118 | CD which sole purpose is to boot the system, prepare the networking and |
123 | CD which sole purpose is to boot the system, prepare the networking and |
119 | continue with the Gentoo installation. |
124 | continue with the Gentoo installation. |
120 | </li> |
125 | </li> |
121 | <li> |
126 | <li> |
122 | The Gentoo <e>Universal</e> Installation CD, a bootable CD with the same |
127 | The Universal Installation CD contains everything you need to install |
123 | abilities as the Minimal Installation CD. Additionally, it contains |
128 | Gentoo. It provides stage3 files for common architectures, source code |
124 | several stage3 tarballs (optimized for the individual subarchitectures). |
129 | for the extra applications you need to choose from and, of course, the |
|
|
130 | installation instructions for your architecture. |
125 | </li> |
131 | </li> |
126 | </ul> |
132 | </ul> |
127 | |
133 | |
128 | <p> |
134 | <p> |
129 | To help you decide which Installation CD you need, we have written down the |
135 | Gentoo also provides a Package CD. This is not an Installation CD but an |
130 | major advantages and disadvantages of each Installation CD. |
136 | additional resource that you can exploit during the installation of your Gentoo |
|
|
137 | system. It contains prebuilt packages (also known as the GRP set) that allow |
|
|
138 | you to easily and quickly install additional applications (such as |
|
|
139 | OpenOffice.org, KDE, GNOME, ...) immediately after the Gentoo installation and |
|
|
140 | right before you update your Portage tree. |
|
|
141 | </p> |
|
|
142 | |
131 | </p> |
143 | <p> |
132 | |
144 | The use of the Package CD is covered later in this document. |
|
|
145 | </p> |
|
|
146 | --> |
133 | </body> |
147 | </body> |
134 | </subsection> |
|
|
135 | <subsection> |
148 | </subsection> |
|
|
149 | <subsection> |
136 | <title>Gentoo's Minimal Installation CD</title> |
150 | <title>Gentoo Minimal Installation CD</title> |
137 | <body> |
151 | <body> |
138 | |
152 | |
139 | <p> |
|
|
140 | The Minimal Installation CD is called <c>install-ppc-minimal-2006.0.iso</c> and |
|
|
141 | takes up only 52 MB of diskspace. You can use this Installation CD to install |
|
|
142 | Gentoo, but always with a working Internet connection only. |
|
|
143 | </p> |
153 | <p> |
144 | |
154 | The Minimal Installation CD is called <c><keyval id="min-cd-name"/></c> and |
|
|
155 | takes up only <keyval id="min-cd-size"/> MB of diskspace. You can use this |
|
|
156 | Installation CD to install Gentoo, but <e>only</e> with a working Internet |
|
|
157 | connection. |
|
|
158 | </p> |
|
|
159 | <!-- |
145 | <table> |
160 | <table> |
146 | <tr> |
161 | <tr> |
147 | <th>Minimal Installation CD</th> |
162 | <th>Minimal Installation CD</th> |
148 | <th>Pros and Cons</th> |
163 | <th>Pros and Cons</th> |
149 | </tr> |
164 | </tr> |
… | |
… | |
152 | <ti>Smallest download</ti> |
167 | <ti>Smallest download</ti> |
153 | </tr> |
168 | </tr> |
154 | <tr> |
169 | <tr> |
155 | <th>-</th> |
170 | <th>-</th> |
156 | <ti> |
171 | <ti> |
157 | Contains no stage3 tarball, no Portage snapshot, no prebuilt packages and is |
172 | Contains no stage3 tarball, no Portage snapshot, no prebuilt packages and |
158 | therefore not suitable for networkless installation |
173 | is therefore not suitable for networkless installation |
159 | </ti> |
174 | </ti> |
160 | </tr> |
175 | </tr> |
161 | </table> |
176 | </table> |
162 | |
177 | --> |
163 | </body> |
|
|
164 | </subsection> |
|
|
165 | <subsection> |
|
|
166 | <title>Gentoo's Universal Installation CD</title> |
|
|
167 | <body> |
|
|
168 | |
|
|
169 | <p> |
|
|
170 | The Universal Installation CD is called <c>install-ppc-universal-2006.0.iso</c> |
|
|
171 | and consumes about 578 MB on a CD. You can use this Installation CD to install |
|
|
172 | Gentoo, and you can even use it to install Gentoo without a working internet |
|
|
173 | connection, just in case you want to bring Gentoo to another PC than the one |
|
|
174 | you are currently installing Gentoo on :) |
|
|
175 | </p> |
|
|
176 | |
|
|
177 | <table> |
|
|
178 | <tr> |
|
|
179 | <th>Universal Installation CD</th> |
|
|
180 | <th>Pros and Cons</th> |
|
|
181 | </tr> |
|
|
182 | <tr> |
|
|
183 | <th>+</th> |
|
|
184 | <ti> |
|
|
185 | Contains everything you need. You can even install without a network |
|
|
186 | connection. |
|
|
187 | </ti> |
|
|
188 | </tr> |
|
|
189 | <tr> |
|
|
190 | <th>-</th> |
|
|
191 | <ti>Huge download</ti> |
|
|
192 | </tr> |
|
|
193 | </table> |
|
|
194 | |
|
|
195 | </body> |
|
|
196 | </subsection> |
|
|
197 | <subsection> |
|
|
198 | <title>Other CDs</title> |
|
|
199 | <body> |
|
|
200 | |
|
|
201 | <p> |
|
|
202 | You might find a <e>Package CD</e> on one of our mirrors. This CD is not an |
|
|
203 | Installation CD but an additional resource that can be exploited during a |
|
|
204 | networkless installation. It contains prebuilt packages (also known as the GRP |
|
|
205 | set) that allow you to easily and quickly install additional applications (such |
|
|
206 | as OpenOffice.org, KDE, GNOME, ...) immediately after the networkless Gentoo |
|
|
207 | installation. |
|
|
208 | </p> |
|
|
209 | |
|
|
210 | <p> |
|
|
211 | If you intend to use the Packages CD to quickly install additional software, |
|
|
212 | make sure that you use the same subarchitecture as the stage3 tarball you use. |
|
|
213 | </p> |
|
|
214 | |
|
|
215 | </body> |
178 | </body> |
216 | </subsection> |
179 | </subsection> |
217 | <subsection> |
180 | <subsection> |
218 | <title>The Stage3 Tarball</title> |
181 | <title>The Stage3 Tarball</title> |
219 | <body> |
182 | <body> |
220 | |
183 | |
221 | <p> |
184 | <p> |
222 | A stage3 tarball is an archive containing a minimal Gentoo environment, suitable |
185 | A stage3 tarball is an archive containing a minimal Gentoo environment, |
223 | to continue the Gentoo installation using the instructions in this manual. |
186 | suitable to continue the Gentoo installation using the instructions in this |
224 | Previously, the Gentoo Handbook described the installation using one of three |
187 | manual. Previously, the Gentoo Handbook described the installation using one of |
225 | stage tarballs. While Gentoo still offers stage1 and stage2 tarballs, the |
188 | three stage tarballs. While Gentoo still offers stage1 and stage2 tarballs, the |
226 | official installation method uses the stage3 tarball. If you are interested in |
189 | official installation method uses the stage3 tarball. If you are interested in |
227 | performing a Gentoo installation using a stage1 or stage2 tarball, please read |
190 | performing a Gentoo installation using a stage1 or stage2 tarball, please read |
228 | the Gentoo FAQ on <uri link="/doc/en/faq.xml#stage12">How do I Install Gentoo |
191 | the Gentoo FAQ on <uri link="/doc/en/faq.xml#stage12">How do I Install Gentoo |
229 | Using a Stage1 or Stage2 Tarball?</uri> |
192 | Using a Stage1 or Stage2 Tarball?</uri> |
230 | </p> |
193 | </p> |
231 | |
194 | |
|
|
195 | <p> |
|
|
196 | Stage3 tarballs can be downloaded from <path><keyval |
|
|
197 | id="release-dir"/>current-stage3/</path> on any of the <uri |
|
|
198 | link="/main/en/mirrors.xml">Official Gentoo Mirrors</uri> and are not provided |
|
|
199 | on the LiveCD. |
|
|
200 | </p> |
|
|
201 | |
232 | </body> |
202 | </body> |
233 | </subsection> |
203 | </subsection> |
234 | </section> |
204 | </section> |
|
|
205 | |
|
|
206 | |
235 | <!-- STOP --> |
207 | <!-- STOP --> |
236 | <section> |
208 | <section> |
237 | <title>Download, Burn and Boot a Gentoo Installation CD</title> |
209 | <title>Download, Burn and Boot a Gentoo Installation CD</title> |
238 | <subsection> |
210 | <subsection> |
239 | <title>Downloading and Burning the Installation CDs</title> |
211 | <title>Downloading and Burning the Installation CDs</title> |
240 | <body> |
212 | <body> |
241 | |
213 | |
242 | <p> |
214 | <p> |
243 | You have chosen to use a Gentoo Installation CD. We'll first start by |
215 | You have chosen to use a Gentoo Installation CD. We'll first start by |
244 | downloading and burning the chosen Installation CD. We previously discussed |
216 | downloading and burning the chosen Installation CD. We previously discussed |
245 | the several available Installation CDs, but where can you find them? |
217 | the several available Installation CDs, but where can you find them? |
246 | </p> |
|
|
247 | |
|
|
248 | <p> |
218 | </p> |
249 | You can download any of the Installation CDs (and, if you want to, a Packages |
219 | |
250 | CD as well) from one of our <uri link="/main/en/mirrors.xml">mirrors</uri>. The |
|
|
251 | Installation CDs are located in the <path>releases/ppc/2006.0/ppc32/installcd</path> |
|
|
252 | directory. |
|
|
253 | </p> |
220 | <p> |
254 | |
221 | You can download any of the Installation CDs from one of our <uri |
|
|
222 | link="/main/en/mirrors.xml">mirrors</uri>. The Installation CDs are located in |
|
|
223 | the <path><keyval id="release-dir"/>current-iso/</path> directory. |
255 | <p> |
224 | </p> |
|
|
225 | |
|
|
226 | <p> |
256 | Inside that directory you'll find ISO-files. Those are full CD images which you |
227 | Inside that directory you'll find ISO files. Those are full CD images which you |
257 | can write on a CD-R. |
228 | can write on a CD-R. |
258 | </p> |
229 | </p> |
259 | |
230 | |
260 | <p> |
231 | <p> |
261 | In case you wonder if your downloaded file is corrupted or not, you can |
232 | In case you wonder if your downloaded file is corrupted or not, you can check |
262 | check its MD5 checksum and compare it with the MD5 checksum we provide (such as |
233 | its MD5 checksum and compare it with the MD5 checksum we provide (such as |
263 | <path>install-ppc-minimal-2006.0.iso.DIGESTS</path>). You can check the MD5 checksum |
234 | <path><keyval id="min-cd-name"/>.DIGESTS</path>). You can check the MD5 |
264 | with the <c>md5sum</c> tool under Linux/Unix or |
235 | checksum with the <c>md5sum</c> tool under Linux/Unix or <uri |
265 | <uri link="http://www.etree.org/md5com.html">md5sum</uri> for Windows. If |
236 | link="http://www.etree.org/md5com.html">md5sum</uri> for Windows. |
266 | <c>md5sum</c> is not available on Mac OS X, see the |
|
|
267 | <uri link="/doc/en/gentoo-ppc-faq.xml#doc_chap1">Gentoo PPC FAQ</uri> for help. |
|
|
268 | </p> |
237 | </p> |
269 | |
238 | |
270 | <p> |
239 | <p> |
271 | Another way to check the validity of the downloaded file is to use GnuPG to |
240 | Another way to check the validity of the downloaded file is to use GnuPG to |
272 | verify the cryptographic signature that we provide (the file ending with |
241 | verify the cryptographic signature that we provide (the file ending with |
273 | <path>.asc</path>). Download the signature file and obtain the public key: |
242 | <path>.asc</path>). Download the signature file and obtain the public keys: |
274 | </p> |
243 | </p> |
275 | |
244 | |
276 | <pre caption="Obtaining the public key"> |
245 | <pre caption="Obtaining the public key"> |
277 | $ <i>gpg --keyserver subkeys.pgp.net --recv-keys 17072058</i> |
246 | $ <i>gpg --keyserver subkeys.pgp.net --recv-keys 96D8BF6D 2D182910 17072058</i> |
278 | </pre> |
247 | </pre> |
279 | |
248 | |
280 | <p> |
249 | <p> |
281 | Now verify the signature: |
250 | Now verify the signature: |
282 | </p> |
251 | </p> |
283 | |
252 | |
284 | <pre caption="Verify the cryptographic signature"> |
253 | <pre caption="Verify the files"> |
285 | $ <i>gpg --verify <signature file> <downloaded iso></i> |
254 | <comment>(Verify the cryptographic signature)</comment> |
|
|
255 | $ <i>gpg --verify <downloaded iso.DIGESTS.asc></i> |
|
|
256 | <comment>(Verify the checksum)</comment> |
|
|
257 | $ <i>sha1sum -c <downloaded iso.DIGESTS.asc></i> |
286 | </pre> |
258 | </pre> |
287 | |
259 | |
288 | <p> |
260 | <p> |
289 | To burn the downloaded ISO(s), you have to select raw-burning. How you |
261 | To burn the downloaded ISO(s), you have to select raw-burning. How you |
290 | do this is highly program-dependent. We will discuss <c>cdrecord</c> and |
262 | do this is highly program-dependent. We will discuss <c>cdrecord</c> and |
… | |
… | |
292 | link="/doc/en/faq.xml#isoburning">Gentoo FAQ</uri>. |
264 | link="/doc/en/faq.xml#isoburning">Gentoo FAQ</uri>. |
293 | </p> |
265 | </p> |
294 | |
266 | |
295 | <ul> |
267 | <ul> |
296 | <li> |
268 | <li> |
297 | With cdrecord, you simply type <c>cdrecord dev=/dev/hdc <downloaded iso |
269 | With cdrecord, you simply type <c>cdrecord dev=/dev/hdc <downloaded iso |
298 | file></c> (replace <path>/dev/hdc</path> with your CD-RW drive's |
270 | file></c> (replace <path>/dev/hdc</path> with your CD-RW drive's device |
299 | device path). |
271 | path). |
300 | </li> |
272 | </li> |
301 | <li> |
273 | <li> |
302 | With K3B, select <c>Tools</c> > <c>CD</c> > <c>Burn Image</c>. Then |
274 | With K3B, select <c>Tools</c> > <c>Burn CD Image</c>. Then you can locate |
303 | you can locate your ISO file within the 'Image to Burn' area. Finally click |
275 | your ISO file within the 'Image to Burn' area. Finally click <c>Start</c>. |
304 | <c>Start</c>. |
|
|
305 | </li> |
276 | </li> |
306 | </ul> |
277 | </ul> |
307 | |
278 | |
308 | </body> |
279 | </body> |
309 | </subsection> |
280 | </subsection> |
… | |
… | |
311 | <title>Default: Booting the Installation CD with Yaboot</title> |
282 | <title>Default: Booting the Installation CD with Yaboot</title> |
312 | <body> |
283 | <body> |
313 | |
284 | |
314 | <p> |
285 | <p> |
315 | On NewWorld machines place the Installation CD in the CD-ROM and reboot the |
286 | On NewWorld machines place the Installation CD in the CD-ROM and reboot the |
316 | system. When the system-start-bell sounds, simply hold down the 'C' until the |
287 | system. When the system-start-bell sounds, simply hold down the 'C' until the |
317 | CD loads. |
288 | CD loads. |
318 | </p> |
289 | </p> |
319 | |
290 | |
320 | <p> |
291 | <p> |
321 | After the Installation CD loaded, you will be greeted by a friendly welcome |
292 | After the Installation CD loaded, you will be greeted by a friendly welcome |
… | |
… | |
363 | </ti> |
334 | </ti> |
364 | </tr> |
335 | </tr> |
365 | <tr> |
336 | <tr> |
366 | <ti><c>dopcmcia</c></ti> |
337 | <ti><c>dopcmcia</c></ti> |
367 | <ti> |
338 | <ti> |
368 | If you want to use PCMCIA devices during your installation (like PCMCIA |
339 | If you want to use PCMCIA devices during your installation (like PCMCIA |
369 | network cards) you have to enable this option. |
340 | network cards) you have to enable this option. |
|
|
341 | </ti> |
|
|
342 | </tr> |
|
|
343 | <tr> |
|
|
344 | <ti><c>dosshd</c></ti> |
|
|
345 | <ti>Starts <c>sshd</c>. Useful for unattended installs.</ti> |
|
|
346 | </tr> |
|
|
347 | <tr> |
|
|
348 | <ti><c>passwd=foo</c></ti> |
|
|
349 | <ti> |
|
|
350 | Sets whatever is after the = as the root password. Use with <c>dosshd</c> |
|
|
351 | for remote installs. |
370 | </ti> |
352 | </ti> |
371 | </tr> |
353 | </tr> |
372 | </table> |
354 | </table> |
373 | |
355 | |
374 | <p> |
356 | <p> |
375 | To use the above options, at the <e>boot:</e> prompt, type <e>ppc32</e> followed |
357 | To use the above options, at the <e>boot:</e> prompt, type <e>ppc32</e> followed |
376 | by the desired option. In the example below, we'll force the kernel to use the |
358 | by the desired option. In the example below, we'll force the kernel to use the |
377 | OpenFirmware framebuffer instead of the device specific driver. |
359 | Open Firmware framebuffer instead of the device specific driver. |
378 | </p> |
360 | </p> |
379 | |
361 | |
380 | <pre caption="Force the use of the OpenFirmware framebuffer"> |
362 | <pre caption="Force the use of the Open Firmware framebuffer"> |
381 | boot: <i>ppc32 video=ofonly</i> |
363 | boot: <i>ppc32 video=ofonly</i> |
382 | </pre> |
364 | </pre> |
383 | |
365 | |
384 | <p> |
366 | <p> |
385 | If you don't need to add any options, just hit enter at this prompt, and a |
367 | If you don't need to add any options, just type ppc32 at this prompt, and a |
386 | complete Gentoo Linux environment will be loaded from the CD. Continue with |
368 | complete Gentoo Linux environment will be loaded from the CD. Continue with |
387 | <uri link="#booted">And When You're Booted...</uri>. |
369 | <uri link="#booted">And When You're Booted...</uri>. |
388 | </p> |
370 | </p> |
389 | |
371 | |
390 | </body> |
372 | </body> |
… | |
… | |
399 | between several preconfigured video configs. If you need any special boot |
381 | between several preconfigured video configs. If you need any special boot |
400 | options you can append them to the command-line just like with Yaboot above. |
382 | options you can append them to the command-line just like with Yaboot above. |
401 | For example: <c>boot cd /boot/pegasos video=radeonfb:1280x1024@75 mem=256M</c>. |
383 | For example: <c>boot cd /boot/pegasos video=radeonfb:1280x1024@75 mem=256M</c>. |
402 | The default kernel options (in case something goes wrong and you need it) are |
384 | The default kernel options (in case something goes wrong and you need it) are |
403 | preconfigured with <c>console=ttyS0,115200 console=tty0 init=/linuxrc |
385 | preconfigured with <c>console=ttyS0,115200 console=tty0 init=/linuxrc |
404 | looptype=squashfs loop=/image.squashfs udev nodevfs cdroot root=/dev/ram0</c>. |
386 | looptype=squashfs loop=/image.squashfs cdroot root=/dev/ram0</c>. |
405 | </p> |
387 | </p> |
406 | |
388 | |
407 | </body> |
389 | </body> |
408 | </subsection> |
390 | </subsection> |
409 | |
391 | |
… | |
… | |
416 | The most simple solution is to use MacOS 9 or earlier to bootstrap into a Linux |
398 | The most simple solution is to use MacOS 9 or earlier to bootstrap into a Linux |
417 | environment with a tool called BootX. |
399 | environment with a tool called BootX. |
418 | </p> |
400 | </p> |
419 | |
401 | |
420 | <p> |
402 | <p> |
421 | First, download <uri link="http://penguinppc.org/projects/bootx/">BootX</uri> |
403 | First, download <uri link="http://penguinppc.org/bootloaders/bootx/">BootX</uri> |
422 | and unpack the archive. Copy the the <c>BootX Extension</c> from the unpacked |
404 | and unpack the archive. Copy the the <c>BootX Extension</c> from the unpacked |
423 | archive into <c>Extensions Folder</c> and the BootX App Control Panel into |
405 | archive into <c>Extensions Folder</c> and the BootX App Control Panel into |
424 | <c>Control Panels</c>, both of which are located in your MacOS System Folder. |
406 | <c>Control Panels</c>, both of which are located in your MacOS System Folder. |
425 | Next, create a folder called "Linux Kernels" in your System folder and copy the |
407 | Next, create a folder called "Linux Kernels" in your System folder and copy the |
426 | <c>ppc32</c> kernel from the CD to this folder. Finally, copy <c>ppc32.igz</c> |
408 | <c>ppc32</c> kernel from the CD to this folder. Finally, copy <c>ppc32.igz</c> |
… | |
… | |
435 | ramdisk size is at least <c>32000</c>. Finally, set the kernel arguments as |
417 | ramdisk size is at least <c>32000</c>. Finally, set the kernel arguments as |
436 | shown below: |
418 | shown below: |
437 | </p> |
419 | </p> |
438 | |
420 | |
439 | <pre caption="BootX kernel arguments"> |
421 | <pre caption="BootX kernel arguments"> |
440 | cdroot root=/dev/ram0 init=linuxrc loop=image.squashfs looptype=squashfs console=tty0 nodevfs udev |
422 | cdroot root=/dev/ram0 init=linuxrc loop=image.squashfs looptype=squashfs console=tty0 |
441 | </pre> |
423 | </pre> |
442 | |
424 | |
443 | <note> |
425 | <note> |
444 | The kernel parameters in the yaboot section above are also applicable here. You |
426 | The kernel parameters in the yaboot section above are also applicable here. You |
445 | can append any of those options to the kernel arguments above. |
427 | can append any of those options to the kernel arguments above. |
… | |
… | |
468 | </p> |
450 | </p> |
469 | |
451 | |
470 | <p> |
452 | <p> |
471 | If you are installing Gentoo on a system with a non-US keyboard, use |
453 | If you are installing Gentoo on a system with a non-US keyboard, use |
472 | <c>loadkeys</c> to load the keymap for your keyboard. To list the available |
454 | <c>loadkeys</c> to load the keymap for your keyboard. To list the available |
473 | keymaps, execute <c>ls /usr/share/keymaps/i386</c>. On NewWorld machines or the |
455 | keymaps, execute <c>ls /usr/share/keymaps/i386</c>. |
474 | Pegasos do not use the keymaps in <path>ppc</path> or <path>mac</path> as they |
|
|
475 | are for ADB-based OldWorld machines. |
|
|
476 | </p> |
456 | </p> |
477 | |
457 | |
478 | <pre caption="Listing available keymaps"> |
458 | <pre caption="Listing available keymaps"> |
479 | <comment>(PPC uses x86 keymaps on most systems. The mac/ppc keymaps provided |
459 | <comment>(PPC uses x86 keymaps on most systems.)</comment> |
480 | on the Installation CD are ADB keymaps and unusable with the Installation CD |
|
|
481 | kernel)</comment> |
|
|
482 | # <i>ls /usr/share/keymaps/i386</i> |
460 | # <i>ls /usr/share/keymaps/i386</i> |
483 | </pre> |
461 | </pre> |
484 | |
462 | |
485 | <p> |
463 | <p> |
486 | Now load the keymap of your choice: |
464 | Now load the keymap of your choice: |
… | |
… | |
494 | Now continue with <uri link="#hardware">Extra Hardware Configuration</uri>. |
472 | Now continue with <uri link="#hardware">Extra Hardware Configuration</uri>. |
495 | </p> |
473 | </p> |
496 | |
474 | |
497 | </body> |
475 | </body> |
498 | </subsection> |
476 | </subsection> |
499 | <subsection id="hardware"> |
|
|
500 | <title>Extra Hardware Configuration</title> |
|
|
501 | <body> |
|
|
502 | |
477 | |
503 | <p> |
|
|
504 | When the Installation CD boots, it tries to detect all your hardware devices and |
|
|
505 | loads the appropriate kernel modules to support your hardware. In the |
|
|
506 | vast majority of cases, it does a very good job. However, in some cases, it may |
|
|
507 | not auto-load the kernel modules you need. If the PCI auto-detection missed some |
|
|
508 | of your system's hardware, you will have to load the appropriate kernel modules |
|
|
509 | manually. |
|
|
510 | </p> |
|
|
511 | |
|
|
512 | <p> |
|
|
513 | In the next example we try to load the <c>airport</c> module. This module |
|
|
514 | supports only the old Airport cards (802.11b). Airport Extreme (802.11g) is not |
|
|
515 | supported on the InstallCD due to restrictions on firmware distribution. |
|
|
516 | </p> |
|
|
517 | |
|
|
518 | <pre caption="Loading the airport module"> |
|
|
519 | # <i>modprobe airport</i> |
|
|
520 | </pre> |
|
|
521 | |
|
|
522 | <p> |
|
|
523 | On older iMacs, sometimes the network card is not detected properly. These use |
|
|
524 | the BMAC driver: |
|
|
525 | </p> |
|
|
526 | |
|
|
527 | <pre caption="Loading the bmac module"> |
|
|
528 | # <i>modprobe bmac</i> |
|
|
529 | </pre> |
|
|
530 | |
|
|
531 | </body> |
|
|
532 | </subsection> |
478 | <subsection> |
|
|
479 | <include href="hb-install-bootconfig.xml"/> |
533 | <subsection> |
480 | </subsection> |
534 | <title>Optional: Tweaking Hard Disk Performance</title> |
|
|
535 | <body> |
|
|
536 | |
481 | |
537 | <p> |
|
|
538 | If you are an advanced user, you might want to tweak the IDE hard disk |
|
|
539 | performance using <c>hdparm</c>. With the <c>-tT</c> options you can |
|
|
540 | test the performance of your disk (execute it several times to get a |
|
|
541 | more precise impression): |
|
|
542 | </p> |
|
|
543 | |
|
|
544 | <pre caption="Testing disk performance"> |
|
|
545 | # <i>hdparm -tT /dev/hda</i> |
|
|
546 | </pre> |
|
|
547 | |
|
|
548 | <p> |
|
|
549 | To tweak, you can use any of the following examples (or experiment |
|
|
550 | yourself) which use <path>/dev/hda</path> as disk (substitute with your |
|
|
551 | disk): |
|
|
552 | </p> |
|
|
553 | |
|
|
554 | <pre caption="Tweaking hard disk performance"> |
|
|
555 | <comment>Activate DMA:</comment> # <i>hdparm -d 1 /dev/hda</i> |
|
|
556 | <comment>Activate DMA + Safe Performance-enhancing Options:</comment> # <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i> |
|
|
557 | </pre> |
|
|
558 | |
|
|
559 | </body> |
|
|
560 | </subsection> |
|
|
561 | <subsection id="useraccounts"> |
|
|
562 | <title>Optional: User Accounts</title> |
|
|
563 | <body> |
|
|
564 | |
|
|
565 | <p> |
|
|
566 | If you plan on giving other people access to your installation |
|
|
567 | environment or you want to chat using <c>irssi</c> without root privileges (for |
|
|
568 | security reasons), you need to create the necessary user accounts and change |
|
|
569 | the root password. |
|
|
570 | </p> |
|
|
571 | |
|
|
572 | <p> |
|
|
573 | To change the root password, use the <c>passwd</c> utility: |
|
|
574 | </p> |
|
|
575 | |
|
|
576 | <pre caption="Changing the root password"> |
|
|
577 | # <i>passwd</i> |
|
|
578 | New password: <comment>(Enter your new password)</comment> |
|
|
579 | Re-enter password: <comment>(Re-enter your password)</comment> |
|
|
580 | </pre> |
|
|
581 | |
|
|
582 | <p> |
|
|
583 | To create a user account, we first enter their credentials, followed by |
|
|
584 | its password. We use <c>useradd</c> and <c>passwd</c> for these tasks. |
|
|
585 | In the next example, we create a user called "john". |
|
|
586 | </p> |
|
|
587 | |
|
|
588 | <pre caption="Creating a user account"> |
|
|
589 | # <i>useradd -m -G users john</i> |
|
|
590 | # <i>passwd john</i> |
|
|
591 | New password: <comment>(Enter john's password)</comment> |
|
|
592 | Re-enter password: <comment>(Re-enter john's password)</comment> |
|
|
593 | </pre> |
|
|
594 | |
|
|
595 | <p> |
|
|
596 | You can change your user id from root to the newly created user by using |
|
|
597 | <c>su</c>: |
|
|
598 | </p> |
|
|
599 | |
|
|
600 | <pre caption="Changing user id"> |
|
|
601 | # <i>su - john</i> |
|
|
602 | </pre> |
|
|
603 | |
|
|
604 | </body> |
|
|
605 | </subsection> |
|
|
606 | <subsection> |
|
|
607 | <title>Optional: Viewing Documentation while Installing</title> |
|
|
608 | <body> |
|
|
609 | |
|
|
610 | <p> |
|
|
611 | If you want to view the Gentoo Handbook (either from-CD or online) during the |
|
|
612 | installation, make sure you have created a user account (see <uri |
|
|
613 | link="#useraccounts">Optional: User Accounts</uri>). Then press <c>Alt-F2</c> to |
|
|
614 | go to a new terminal and log in. |
|
|
615 | </p> |
|
|
616 | |
|
|
617 | <p> |
|
|
618 | If you want to view the documentation on the CD you can immediately run |
|
|
619 | <c>links</c> to read it: |
|
|
620 | </p> |
|
|
621 | |
|
|
622 | <pre caption="Viewing the on-CD documentation"> |
|
|
623 | # <i>links /mnt/cdrom/docs/handbook/html/index.html</i> |
|
|
624 | </pre> |
|
|
625 | |
|
|
626 | <p> |
|
|
627 | However, it is preferred that you use the online Gentoo Handbook as it will be |
|
|
628 | more recent than the one provided on the CD. You can view it using <c>links</c> |
|
|
629 | as well, but only after having completed the <e>Configuring your Network</e> |
|
|
630 | chapter (otherwise you won't be able to go on the Internet to view the |
|
|
631 | document): |
|
|
632 | </p> |
|
|
633 | |
|
|
634 | <pre caption="Viewing the Online Documentation"> |
|
|
635 | # <i>links http://www.gentoo.org/doc/en/handbook/handbook-ppc.xml</i> |
|
|
636 | </pre> |
|
|
637 | |
|
|
638 | <p> |
|
|
639 | You can go back to your original terminal by pressing <c>Alt-F1</c>. |
|
|
640 | </p> |
|
|
641 | |
|
|
642 | </body> |
|
|
643 | </subsection> |
|
|
644 | <subsection> |
|
|
645 | <title>Optional: Starting the SSH Daemon</title> |
|
|
646 | <body> |
|
|
647 | |
|
|
648 | <p> |
|
|
649 | If you want to allow other users to access your computer during the |
|
|
650 | Gentoo installation (perhaps because those users are going to help you |
|
|
651 | install Gentoo, or even do it for you), you need to create a user |
|
|
652 | account for them and perhaps even provide them with your root password |
|
|
653 | (<e>only</e> do that <e>if</e> you <b>fully trust</b> that user). |
|
|
654 | </p> |
|
|
655 | |
|
|
656 | <p> |
|
|
657 | To fire up the SSH daemon, execute the following command: |
|
|
658 | </p> |
|
|
659 | |
|
|
660 | <pre caption="Starting the SSH daemon"> |
|
|
661 | # <i>/etc/init.d/sshd start</i> |
|
|
662 | </pre> |
|
|
663 | |
|
|
664 | <p> |
|
|
665 | To be able to use sshd, you first need to set up your networking. Continue with |
|
|
666 | the chapter on <uri link="?part=1&chap=3">Configuring your Network</uri>. |
|
|
667 | </p> |
|
|
668 | |
|
|
669 | </body> |
|
|
670 | </subsection> |
|
|
671 | </section> |
482 | </section> |
672 | </sections> |
483 | </sections> |