1 |
josejx 06/02/13 17:07:35 |
2 |
|
3 |
Modified: xml/htdocs/doc/en/handbook/draft/2006.0 handbook-ppc.xml |
4 |
hb-install-config.xml hb-install-ppc-bootloader.xml |
5 |
hb-install-ppc-disk.xml hb-install-ppc-kernel.xml |
6 |
hb-install-ppc-medium.xml |
7 |
Log: |
8 |
PPC specific fixes for bug #122406. |
9 |
|
10 |
Revision Changes Path |
11 |
1.4 +6 -3 xml/htdocs/doc/en/handbook/draft/2006.0/handbook-ppc.xml |
12 |
|
13 |
file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/draft/2006.0/handbook-ppc.xml?rev=1.4&content-type=text/x-cvsweb-markup&cvsroot=gentoo |
14 |
plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/draft/2006.0/handbook-ppc.xml?rev=1.4&content-type=text/plain&cvsroot=gentoo |
15 |
diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/draft/2006.0/handbook-ppc.xml.diff?r1=1.3&r2=1.4&cvsroot=gentoo |
16 |
|
17 |
Index: handbook-ppc.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/2006.0/handbook-ppc.xml,v |
20 |
retrieving revision 1.3 |
21 |
retrieving revision 1.4 |
22 |
diff -u -r1.3 -r1.4 |
23 |
--- handbook-ppc.xml 10 Feb 2006 17:45:04 -0000 1.3 |
24 |
+++ handbook-ppc.xml 13 Feb 2006 17:07:35 -0000 1.4 |
25 |
@@ -1,7 +1,7 @@ |
26 |
<?xml version='1.0' encoding='UTF-8'?> |
27 |
<!DOCTYPE book SYSTEM "/dtd/book.dtd"> |
28 |
|
29 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/2006.0/handbook-ppc.xml,v 1.3 2006/02/10 17:45:04 fox2mike Exp $ --> |
30 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/2006.0/handbook-ppc.xml,v 1.4 2006/02/13 17:07:35 josejx Exp $ --> |
31 |
|
32 |
<book link="handbook-ppc.xml"> |
33 |
<title>Gentoo Linux 2006.0 PPC Handbook</title> |
34 |
@@ -101,6 +101,9 @@ |
35 |
<author title="Editor"> |
36 |
<mail link="neysx@g.o">Xavier Neys</mail> |
37 |
</author> |
38 |
+<author title="Editor"> |
39 |
+ <mail link="josejx@g.o">Joseph Jezak</mail> |
40 |
+</author> |
41 |
<author title="Reviewer"> |
42 |
<mail link="g2boojum@g.o">Grant Goodyear</mail> |
43 |
</author> |
44 |
@@ -124,8 +127,8 @@ |
45 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
46 |
<license/> |
47 |
|
48 |
-<version>5.2</version> |
49 |
-<date>2005-10-13</date> |
50 |
+<version>5.3</version> |
51 |
+<date>2006-02-09</date> |
52 |
|
53 |
<part> |
54 |
<title>Installing Gentoo</title> |
55 |
|
56 |
|
57 |
|
58 |
1.2 +5 -4 xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-config.xml |
59 |
|
60 |
file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-config.xml?rev=1.2&content-type=text/x-cvsweb-markup&cvsroot=gentoo |
61 |
plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-config.xml?rev=1.2&content-type=text/plain&cvsroot=gentoo |
62 |
diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-config.xml.diff?r1=1.1&r2=1.2&cvsroot=gentoo |
63 |
|
64 |
Index: hb-install-config.xml |
65 |
=================================================================== |
66 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-config.xml,v |
67 |
retrieving revision 1.1 |
68 |
retrieving revision 1.2 |
69 |
diff -u -r1.1 -r1.2 |
70 |
--- hb-install-config.xml 1 Feb 2006 18:38:17 -0000 1.1 |
71 |
+++ hb-install-config.xml 13 Feb 2006 17:07:35 -0000 1.2 |
72 |
@@ -4,12 +4,12 @@ |
73 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
74 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
75 |
|
76 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-config.xml,v 1.1 2006/02/01 18:38:17 fox2mike Exp $ --> |
77 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-config.xml,v 1.2 2006/02/13 17:07:35 josejx Exp $ --> |
78 |
|
79 |
<sections> |
80 |
|
81 |
-<version>5.3</version> |
82 |
-<date>2005-11-19</date> |
83 |
+<version>5.4</version> |
84 |
+<date>2006-02-09</date> |
85 |
|
86 |
<section> |
87 |
<title>Filesystem Information</title> |
88 |
@@ -80,7 +80,8 @@ |
89 |
<p> |
90 |
Let us take a look at how we write down the options for the <path>/boot</path> |
91 |
partition. This is just an example, so if your architecture doesn't require a |
92 |
-<path>/boot</path> partition (such as <b>PPC</b>), don't copy it verbatim. |
93 |
+<path>/boot</path> partition (such as Apple <b>PPC</b> machines), don't copy it |
94 |
+verbatim. |
95 |
</p> |
96 |
|
97 |
<p> |
98 |
|
99 |
|
100 |
|
101 |
1.2 +33 -21 xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-ppc-bootloader.xml |
102 |
|
103 |
file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-ppc-bootloader.xml?rev=1.2&content-type=text/x-cvsweb-markup&cvsroot=gentoo |
104 |
plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-ppc-bootloader.xml?rev=1.2&content-type=text/plain&cvsroot=gentoo |
105 |
diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-ppc-bootloader.xml.diff?r1=1.1&r2=1.2&cvsroot=gentoo |
106 |
|
107 |
Index: hb-install-ppc-bootloader.xml |
108 |
=================================================================== |
109 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-ppc-bootloader.xml,v |
110 |
retrieving revision 1.1 |
111 |
retrieving revision 1.2 |
112 |
diff -u -r1.1 -r1.2 |
113 |
--- hb-install-ppc-bootloader.xml 1 Feb 2006 18:38:17 -0000 1.1 |
114 |
+++ hb-install-ppc-bootloader.xml 13 Feb 2006 17:07:35 -0000 1.2 |
115 |
@@ -4,12 +4,12 @@ |
116 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
117 |
<!-- See http://creativecommons.org/licenses/by-sa/1.0 --> |
118 |
|
119 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-ppc-bootloader.xml,v 1.1 2006/02/01 18:38:17 fox2mike Exp $ --> |
120 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-ppc-bootloader.xml,v 1.2 2006/02/13 17:07:35 josejx Exp $ --> |
121 |
|
122 |
<sections> |
123 |
|
124 |
-<version>5.3</version> |
125 |
-<date>2006-01-19</date> |
126 |
+<version>5.4</version> |
127 |
+<date>2006-02-09</date> |
128 |
|
129 |
<section> |
130 |
<title>Choosing a Bootloader</title> |
131 |
@@ -45,14 +45,19 @@ |
132 |
</impo> |
133 |
|
134 |
<p> |
135 |
-In order to find the boot devices, yaboot needs access to the <path>/dev</path> |
136 |
-filesystem. To do this, you will need to "bind-map" the <path>/dev</path> |
137 |
-filesystem from the Installation CD to <path>/dev</path> inside of the chroot. |
138 |
+In order to find the boot devices, yaboot needs access to the device nodes |
139 |
+created by udev on startup and the sysfs filesystem. These two filesystems |
140 |
+are found at <path>/dev</path> and <path>sys</path> respectively. To do this, |
141 |
+you will need to "bind mount" these filesystems from the Installation CD's root |
142 |
+to the <path>/dev</path> and <path>/sys</path> mount points inside the chroot. |
143 |
+If you have already bind mounted these filesystems, there is no need to do it |
144 |
+again. |
145 |
</p> |
146 |
|
147 |
-<pre caption="Bind-mounting the /dev-filesystem"> |
148 |
+<pre caption="Bind-mounting the device and sysfs filesystems"> |
149 |
# <i>exit </i> # this will exit the chroot |
150 |
# <i>mount -o bind /dev /mnt/gentoo/dev</i> |
151 |
+# <i>mount -o bind /sys /mnt/gentoo/sys</i> |
152 |
# <i>chroot /mnt/gentoo /bin/bash</i> |
153 |
# <i>/usr/sbin/env-update && source /etc/profile </i> |
154 |
</pre> |
155 |
@@ -107,9 +112,10 @@ |
156 |
|
157 |
<p> |
158 |
To use <c>yabootconfig</c>, your drive must have an Apple_Bootstrap partition, |
159 |
-and <path>/etc/fstab</path> must be configured with your Linux partitions. Both |
160 |
-of these should have been done already in the steps above. To start, ensure that |
161 |
-you have the latest <c>yaboot</c> installed. |
162 |
+and <path>/etc/fstab</path> must be configured to reflect your Linux |
163 |
+partitions. These steps should have already been completed before, but check |
164 |
+<path>/etc/fstab</path> before proceeding. Now, ensure that you have the |
165 |
+latest <c>yaboot</c> installed. |
166 |
</p> |
167 |
|
168 |
<pre caption = "Installing yaboot with GRP"> |
169 |
@@ -117,15 +123,17 @@ |
170 |
</pre> |
171 |
|
172 |
<p> |
173 |
-Now exit the chroot and run <c>yabootconfig --chroot /mnt/gentoo</c>. The |
174 |
-program will run and it will confirm the location of the bootstrap partition. |
175 |
-Type <c>Y</c> if it is correct. If not, double check <path>/etc/fstab</path>. |
176 |
-yabootconfig will then scan your system setup, create |
177 |
-<path>/etc/yaboot.conf</path> and run <c>mkofboot</c> for you. <c>mkofboot</c> |
178 |
-is used to format the Apple_Bootstrap partition, and install the yaboot |
179 |
-configuration file into it. After this enter the chroot again. |
180 |
+Now exit the chroot and run <c>yabootconfig --chroot /mnt/gentoo</c>. First, |
181 |
+the program will confirm the location of the bootstrap partition. If you are |
182 |
+using the suggested disk partitioning scheme, your bootstrap partition should |
183 |
+be /dev/hda2. Type <c>Y</c> if the output is correct. If not, double check your |
184 |
+<path>/etc/fstab</path>. <c>yabootconfig</c> will then scan your system setup, |
185 |
+create <path>/etc/yaboot.conf</path> and run <c>mkofboot</c> for you. |
186 |
+<c>mkofboot</c> is used to format the Apple_Bootstrap partition, and install |
187 |
+the yaboot configuration file into it. After this enter the chroot again. |
188 |
</p> |
189 |
-<pre caption="enter chroot"> |
190 |
+ |
191 |
+<pre caption="Re-enter the chroot"> |
192 |
# <i>chroot /mnt/gentoo /bin/bash</i> |
193 |
# <i>/usr/sbin/env-update && source /etc/profile</i> |
194 |
</pre> |
195 |
@@ -148,8 +156,7 @@ |
196 |
<body> |
197 |
|
198 |
<p> |
199 |
-First make sure you have the latest <c>yaboot</c> installed on your |
200 |
-system: |
201 |
+First make sure you have the latest <c>yaboot</c> installed on your system: |
202 |
</p> |
203 |
|
204 |
<pre caption = "Installing yaboot"> |
205 |
@@ -313,6 +320,12 @@ |
206 |
page</uri> for more information. |
207 |
</p> |
208 |
|
209 |
+<impo> |
210 |
+Make sure that you have support for HFS and HFS+ filesystems in your kernel, |
211 |
+otherwise you will not be able to upgrade or change the kernel on your MacOS |
212 |
+partition. |
213 |
+</impo> |
214 |
+ |
215 |
<p> |
216 |
Now reboot again and boot into Linux, then continue with <uri |
217 |
link="?part=1&chap=11">Finalizing your Gentoo Installation</uri>. |
218 |
@@ -494,7 +507,6 @@ |
219 |
System</uri>. |
220 |
</p> |
221 |
|
222 |
- |
223 |
</body> |
224 |
</section> |
225 |
<section id="reboot"> |
226 |
|
227 |
|
228 |
|
229 |
1.2 +14 -15 xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-ppc-disk.xml |
230 |
|
231 |
file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-ppc-disk.xml?rev=1.2&content-type=text/x-cvsweb-markup&cvsroot=gentoo |
232 |
plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-ppc-disk.xml?rev=1.2&content-type=text/plain&cvsroot=gentoo |
233 |
diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-ppc-disk.xml.diff?r1=1.1&r2=1.2&cvsroot=gentoo |
234 |
|
235 |
Index: hb-install-ppc-disk.xml |
236 |
=================================================================== |
237 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-ppc-disk.xml,v |
238 |
retrieving revision 1.1 |
239 |
retrieving revision 1.2 |
240 |
diff -u -r1.1 -r1.2 |
241 |
--- hb-install-ppc-disk.xml 1 Feb 2006 18:38:17 -0000 1.1 |
242 |
+++ hb-install-ppc-disk.xml 13 Feb 2006 17:07:35 -0000 1.2 |
243 |
@@ -4,12 +4,12 @@ |
244 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
245 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
246 |
|
247 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-ppc-disk.xml,v 1.1 2006/02/01 18:38:17 fox2mike Exp $ --> |
248 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-ppc-disk.xml,v 1.2 2006/02/13 17:07:35 josejx Exp $ --> |
249 |
|
250 |
<sections> |
251 |
|
252 |
-<version>5.1</version> |
253 |
-<date>2005-08-25</date> |
254 |
+<version>5.2</version> |
255 |
+<date>2006-02-09</date> |
256 |
|
257 |
<section> |
258 |
<title>Introduction to Block Devices</title> |
259 |
@@ -26,10 +26,10 @@ |
260 |
</p> |
261 |
|
262 |
<p> |
263 |
-To begin, we'll introduce <e>block devices</e>. The most famous block device is |
264 |
-probably the one that represents the first IDE drive in a Linux system, namely |
265 |
-<path>/dev/hda</path>. If your system uses SCSI or SATA drives, then your first |
266 |
-hard drive would be <path>/dev/sda</path>. |
267 |
+To begin, we'll introduce <e>block devices</e>. The most common block device is |
268 |
+the one that represents the first IDE drive in a Linux system, namely |
269 |
+<path>/dev/hda</path>. If you are installing onto SCSI, FireWire, USB or SATA |
270 |
+drives, then your first hard drive would be <path>/dev/sda</path>. |
271 |
</p> |
272 |
|
273 |
<p> |
274 |
@@ -108,7 +108,7 @@ |
275 |
<ti>(Not applicable)</ti> |
276 |
<ti><path>/dev/hda2</path> (If using quik)</ti> |
277 |
<ti><path>/dev/hda1</path></ti> |
278 |
- <ti>(Not needed)</ti> |
279 |
+ <ti>(Not applicable)</ti> |
280 |
<ti>ext2</ti> |
281 |
<ti>32MB</ti> |
282 |
<ti>Boot partition</ti> |
283 |
@@ -138,15 +138,15 @@ |
284 |
Apple_FWDriver, Apple_Driver_IOKit, Apple_Patches</path>. If you are not |
285 |
planning to use MacOS 9 you can delete them, because MacOS X and Linux don't |
286 |
need them. To delete them, either use parted or erase the whole disk by |
287 |
-initialing the partition map. |
288 |
+initializing the partition map. |
289 |
</note> |
290 |
|
291 |
<warn> |
292 |
-<c>parted</c> is able to resize partitions. On the Installation CD there |
293 |
-are patches included to resize HFS+ filesystem. Unfortunately it is not |
294 |
-possible to resize HFS+ journaled filesystems, even if the journaling has been |
295 |
-switchedoff in Mac OS X. Everything you do with resizing in parted you do it |
296 |
-on your own risk! Be sure to have a backup of your data! |
297 |
+<c>parted</c> is able to resize partitions including HFS+. Unfortunately it is |
298 |
+not possible to resize HFS+ journaled filesystems, so switch off journaling in |
299 |
+Mac OS X before resizing. Remeber that any resizing operation is dangerous, |
300 |
+so attempt at your own risk! Be sure to always have a backup of your data |
301 |
+before resizing! |
302 |
</warn> |
303 |
|
304 |
<p> |
305 |
@@ -522,7 +522,6 @@ |
306 |
also holds for <path>/var/tmp</path>. |
307 |
</note> |
308 |
|
309 |
- |
310 |
<p> |
311 |
We will have to mount the proc filesystem (a virtual interface with the |
312 |
kernel) on <path>/proc</path>. But first we will need to place our files on the |
313 |
|
314 |
|
315 |
|
316 |
1.2 +21 -8 xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-ppc-kernel.xml |
317 |
|
318 |
file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-ppc-kernel.xml?rev=1.2&content-type=text/x-cvsweb-markup&cvsroot=gentoo |
319 |
plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-ppc-kernel.xml?rev=1.2&content-type=text/plain&cvsroot=gentoo |
320 |
diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-ppc-kernel.xml.diff?r1=1.1&r2=1.2&cvsroot=gentoo |
321 |
|
322 |
Index: hb-install-ppc-kernel.xml |
323 |
=================================================================== |
324 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-ppc-kernel.xml,v |
325 |
retrieving revision 1.1 |
326 |
retrieving revision 1.2 |
327 |
diff -u -r1.1 -r1.2 |
328 |
--- hb-install-ppc-kernel.xml 1 Feb 2006 18:38:17 -0000 1.1 |
329 |
+++ hb-install-ppc-kernel.xml 13 Feb 2006 17:07:35 -0000 1.2 |
330 |
@@ -4,12 +4,12 @@ |
331 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
332 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
333 |
|
334 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-ppc-kernel.xml,v 1.1 2006/02/01 18:38:17 fox2mike Exp $ --> |
335 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-ppc-kernel.xml,v 1.2 2006/02/13 17:07:35 josejx Exp $ --> |
336 |
|
337 |
<sections> |
338 |
|
339 |
-<version>5.4</version> |
340 |
-<date>2006-01-06</date> |
341 |
+<version>5.5</version> |
342 |
+<date>2006-02-09</date> |
343 |
|
344 |
<section> |
345 |
<title>Timezone</title> |
346 |
@@ -62,13 +62,13 @@ |
347 |
<p> |
348 |
If you take a look in <path>/usr/src</path> you should see a symlink named |
349 |
<path>linux</path> pointing to your current kernel source. In this case, the |
350 |
-installed kernel source points to <c>gentoo-sources-2.6.12-r6</c>. Your version |
351 |
+installed kernel source points to <c>gentoo-sources-2.6.15</c>. Your version |
352 |
may be different, so keep this in mind. |
353 |
</p> |
354 |
|
355 |
<pre caption="Viewing the kernel source symlink"> |
356 |
# <i>ls -l /usr/src/linux</i> |
357 |
-lrwxrwxrwx 1 root root 22 Mar 18 16:23 /usr/src/linux -> linux-2.6.12-gentoo-r6 |
358 |
+lrwxrwxrwx 1 root root 22 Mar 18 16:23 /usr/src/linux -> linux-2.6.15 |
359 |
</pre> |
360 |
|
361 |
<p> |
362 |
@@ -295,13 +295,26 @@ |
363 |
|
364 |
<p> |
365 |
When the kernel has finished compiling, copy the kernel image to |
366 |
-<path>/boot</path> (be sure that it is mounted properly on the Pegasos). |
367 |
+<path>/boot</path> (be sure that it is mounted properly on Pegasos computers). |
368 |
+If you are using BootX to boot, we'll copy the kernel later. |
369 |
+</p> |
370 |
+ |
371 |
+<p> |
372 |
+Yaboot and BootX expect to use an uncompressed kernel unlike many other |
373 |
+bootloaders. The uncompressed kernel is called vmlinux and it is placed in |
374 |
+<path>/usr/src/linux</path> after the kernel has finished compiling. If you |
375 |
+are using a Pegasos machine, the Pegasos firmware requires a compressed |
376 |
+kernel called zImage.chrp which can be found in |
377 |
+<path>/usr/src/linux/arch/ppc/boot/images</path>. |
378 |
</p> |
379 |
|
380 |
<pre caption="Installing the kernel"> |
381 |
+# <i>cd /usr/src/linux</i> |
382 |
<comment>replace <kernel-version> with your kernel version</comment> |
383 |
-(Apple/IBM) # <i>cp vmlinux /boot/<kernel-version></i> |
384 |
-(Pegasos) # <i>cp arch/ppc/boot/images/zImage.chrp /boot/<kernel-version></i> |
385 |
+<comment>(Apple/IBM)</comment> |
386 |
+# <i>cp vmlinux /boot/<kernel-version></i> |
387 |
+<comment>(Pegasos)</comment> |
388 |
+# <i>cp arch/ppc/boot/images/zImage.chrp /boot/<kernel-version></i> |
389 |
</pre> |
390 |
|
391 |
<p> |
392 |
|
393 |
|
394 |
|
395 |
1.3 +42 -31 xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-ppc-medium.xml |
396 |
|
397 |
file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-ppc-medium.xml?rev=1.3&content-type=text/x-cvsweb-markup&cvsroot=gentoo |
398 |
plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-ppc-medium.xml?rev=1.3&content-type=text/plain&cvsroot=gentoo |
399 |
diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-ppc-medium.xml.diff?r1=1.2&r2=1.3&cvsroot=gentoo |
400 |
|
401 |
Index: hb-install-ppc-medium.xml |
402 |
=================================================================== |
403 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-ppc-medium.xml,v |
404 |
retrieving revision 1.2 |
405 |
retrieving revision 1.3 |
406 |
diff -u -r1.2 -r1.3 |
407 |
--- hb-install-ppc-medium.xml 12 Feb 2006 20:56:43 -0000 1.2 |
408 |
+++ hb-install-ppc-medium.xml 13 Feb 2006 17:07:35 -0000 1.3 |
409 |
@@ -4,11 +4,11 @@ |
410 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
411 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
412 |
|
413 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-ppc-medium.xml,v 1.2 2006/02/12 20:56:43 nightmorph Exp $ --> |
414 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/2006.0/hb-install-ppc-medium.xml,v 1.3 2006/02/13 17:07:35 josejx Exp $ --> |
415 |
|
416 |
<sections> |
417 |
|
418 |
-<version>5.4</version> |
419 |
+<version>5.5</version> |
420 |
<date>2006-02-12</date> |
421 |
|
422 |
<section> |
423 |
@@ -71,8 +71,9 @@ |
424 |
</table> |
425 |
|
426 |
<p> |
427 |
-Be sure to read up on the <uri link="/doc/en/gentoo-ppc-faq.xml">Gentoo |
428 |
-PPC FAQ</uri> before you begin. |
429 |
+Be sure to read the <uri link="/doc/en/gentoo-ppc-faq.xml">Gentoo PPC FAQ</uri> |
430 |
+for help with some common installation related issues or if you're unsure as to |
431 |
+just what's in that PowerPC machine you've got sitting on your desk right now. |
432 |
</p> |
433 |
|
434 |
</body> |
435 |
@@ -240,15 +241,13 @@ |
436 |
</p> |
437 |
|
438 |
<p> |
439 |
-At this prompt you are able to select a kernel for the subarchitecture you use. |
440 |
-We provide <c>G3</c>, <c>G4</c> and <c>G5</c>. All kernels are built with |
441 |
-support for multiple CPUs, but they will boot on single processor machines as |
442 |
-well. |
443 |
+We provide one generic kernel, <e>ppc32</e>. This kernel is built with support |
444 |
+for multiple CPUs, but it will boot on single processor machines as well. |
445 |
</p> |
446 |
|
447 |
<p> |
448 |
-You are also able to tweak some kernel options at this prompt. The following |
449 |
-table lists some of the available boot options you can add: |
450 |
+You can tweak some kernel options at this prompt. The following table lists |
451 |
+some of the available boot options you can add: |
452 |
</p> |
453 |
|
454 |
<table> |
455 |
@@ -260,10 +259,13 @@ |
456 |
<ti><c>video</c></ti> |
457 |
<ti> |
458 |
This option takes one of the following vendor-specific tags: |
459 |
- <c>radeonfb</c>, <c>rivafb</c>, <c>atyfb</c>, <c>aty128</c> or |
460 |
- <c>ofonly</c>. You can follow this tag with the resolution and refreshrate |
461 |
- you want to use. For instance <c>video=radeonfb:1280x1024@75</c>. If you are |
462 |
- uncertain what to choose, <c>ofonly</c> will most certainly work. |
463 |
+ <c>nvidiafb</c>, <c>radeonfb</c>, <c>rivafb</c>, <c>atyfb</c>, |
464 |
+ <c>aty128</c> or <c>ofonly</c>. You can follow this tag with the resolution |
465 |
+ refresh rate and color depth you want to use. For instance, |
466 |
+ <c>video=radeonfb:1280x1024@75-32</c> will select the ATI Radeon frame buffer |
467 |
+ at a resolution of 1280x1024 with a refresh rate of 75Hz and a color depth of |
468 |
+ 32 bits. If you are uncertain what to choose, and the default doesn't work, |
469 |
+ <c>video=ofonly</c> will most certainly work. |
470 |
</ti> |
471 |
</tr> |
472 |
<tr> |
473 |
@@ -303,10 +305,10 @@ |
474 |
On the Pegasos simply insert the CD and at the SmartFirmware boot-prompt type |
475 |
<c>boot cd /boot/menu</c>. This will open a small bootmenu where you can choose |
476 |
between several preconfigured video configs. If you need any special boot |
477 |
-options you can append them to the command-line. For instance <c>boot cd |
478 |
-/boot/pegasos video=radeonfb:1280x1024@75 mem=256M</c>. The complete list of |
479 |
-kernel appends (in case something goes wrong and you need it) is preconfigured |
480 |
-in the kernel with <c>console=ttyS0,115200 console=tty0 init=/linuxrc |
481 |
+options you can append them to the command-line just like with Yaboot above. |
482 |
+For example: <c>boot cd /boot/pegasos video=radeonfb:1280x1024@75 mem=256M</c>. |
483 |
+The default kernel options (in case something goes wrong and you need it) are |
484 |
+preconfigured with <c>console=ttyS0,115200 console=tty0 init=/linuxrc |
485 |
looptype=squashfs loop=/livecd.squashfs udev nodevfs cdroot root=/dev/ram0</c>. |
486 |
</p> |
487 |
|
488 |
@@ -320,8 +322,7 @@ |
489 |
<p> |
490 |
If you have an OldWorld Mac the bootable portion of the livecd can't be used. |
491 |
The most simple solution is to use MacOS to bootstrap into a Linux environment |
492 |
-with a tool called BootX. Boot floppies are being prepared for Macs without |
493 |
-MacOS, but they are not available at this time. |
494 |
+with a tool called BootX. |
495 |
</p> |
496 |
|
497 |
<p> |
498 |
@@ -330,14 +331,14 @@ |
499 |
archive into <c>Extensions Folder</c> and the BootX App Control Panel into |
500 |
<c>Control Panels</c>, both of which are located in your MacOS System Folder. |
501 |
Next, create a folder called "Linux Kernels" in your System folder and copy the |
502 |
-<c>G3G4</c> kernel from the CD to this folder. Finally, copy <c>G3G4.igz</c> |
503 |
+<c>ppc32</c> kernel from the CD to this folder. Finally, copy <c>ppc32.igz</c> |
504 |
from the Installation CD <path>boot</path> folder into the MacOS |
505 |
<c>System Folder</c>. |
506 |
</p> |
507 |
|
508 |
<p> |
509 |
To prepare BootX, start the BootX App Control Panel. First select the Options |
510 |
-dialog and check <c>Use Specified RAM Disk</c> and select <c>G3G4.igz</c> from |
511 |
+dialog and check <c>Use Specified RAM Disk</c> and select <c>ppc32.igz</c> from |
512 |
your System Folder. Continue back to the initial screen and ensure that the |
513 |
ramdisk size is at least <c>32000</c>. Finally, set the kernel arguments as |
514 |
shown below: |
515 |
@@ -348,15 +349,16 @@ |
516 |
</pre> |
517 |
|
518 |
<note> |
519 |
-The kernel parameters in the yaboot section above are also applicable here. |
520 |
+The kernel parameters in the yaboot section above are also applicable here. You |
521 |
+can append any of those options to the kernel arguments above. |
522 |
</note> |
523 |
|
524 |
<p> |
525 |
Check once more to make sure the settings are correct and then save the |
526 |
configuration. This saves typing just in case it doesn't boot or something is |
527 |
-missing. Press the Linux button at the top of the window to boot into the |
528 |
-Installation CD and continue with <uri link="#booted">And When |
529 |
-You're Booted...</uri> |
530 |
+missing. Press the Linux button at the top of the window. If everything goes |
531 |
+correctly, it should boot into the Installation CD. Continue with |
532 |
+<uri link="#booted">And When You're Booted...</uri> |
533 |
</p> |
534 |
|
535 |
</body> |
536 |
@@ -369,8 +371,8 @@ |
537 |
<p> |
538 |
You will be greeted by a root ("#") prompt on the current console. You can also |
539 |
switch to other consoles by pressing Alt-F2, Alt-F3 and Alt-F4. Get |
540 |
-back to the one you started on by pressing Alt-F1. Probably you have to hit |
541 |
-Alt-fn-Fx on Apple machines. |
542 |
+back to the one you started on by pressing Alt-F1. Due to the keyboard layout, |
543 |
+you may need to press Alt-fn-Fx on Apple machines. |
544 |
</p> |
545 |
|
546 |
<p> |
547 |
@@ -417,14 +419,23 @@ |
548 |
|
549 |
<p> |
550 |
In the next example we try to load the <c>airport</c> module. This module |
551 |
-supports only the old Airport cards (b-net). AirportExtreme is not supported |
552 |
-under Linux: |
553 |
+supports only the old Airport cards (802.11b). Airport Extreme (802.11g) is not |
554 |
+supported on the InstallCD due to restrictions on firmware distribution. |
555 |
</p> |
556 |
|
557 |
-<pre caption="Loading kernel modules"> |
558 |
+<pre caption="Loading the airport module"> |
559 |
# <i>modprobe airport</i> |
560 |
</pre> |
561 |
|
562 |
+<p> |
563 |
+On older iMacs, sometimes the network card is not detected properly. These use |
564 |
+the BMAC driver: |
565 |
+</p> |
566 |
+ |
567 |
+<pre caption="Loading the bmac module"> |
568 |
+# <i>modprobe bmac</i> |
569 |
+</pre> |
570 |
+ |
571 |
</body> |
572 |
</subsection> |
573 |
<subsection> |
574 |
|
575 |
|
576 |
|
577 |
-- |
578 |
gentoo-doc-cvs@g.o mailing list |