1 |
nightmorph 07/03/19 09:24:46 |
2 |
|
3 |
Modified: handbook-ppc.xml hb-install-ppc-kernel.xml |
4 |
Log: |
5 |
ppc inserts, etc. |
6 |
|
7 |
Revision Changes Path |
8 |
1.38 xml/htdocs/doc/en/handbook/draft/handbook-ppc.xml |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/draft/handbook-ppc.xml?rev=1.38&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/draft/handbook-ppc.xml?rev=1.38&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/draft/handbook-ppc.xml?r1=1.37&r2=1.38 |
13 |
|
14 |
Index: handbook-ppc.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/handbook-ppc.xml,v |
17 |
retrieving revision 1.37 |
18 |
retrieving revision 1.38 |
19 |
diff -u -r1.37 -r1.38 |
20 |
--- handbook-ppc.xml 14 Mar 2007 06:37:25 -0000 1.37 |
21 |
+++ handbook-ppc.xml 19 Mar 2007 09:24:46 -0000 1.38 |
22 |
@@ -1,7 +1,7 @@ |
23 |
<?xml version='1.0' encoding='UTF-8'?> |
24 |
<!DOCTYPE book SYSTEM "/dtd/book.dtd"> |
25 |
|
26 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/handbook-ppc.xml,v 1.37 2007/03/14 06:37:25 nightmorph Exp $ --> |
27 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/handbook-ppc.xml,v 1.38 2007/03/19 09:24:46 nightmorph Exp $ --> |
28 |
|
29 |
<book link="/doc/en/handbook/handbook-ppc.xml"> |
30 |
<title>Gentoo Linux PPC Handbook</title> |
31 |
@@ -9,6 +9,8 @@ |
32 |
<values> |
33 |
<key id="arch">PPC</key> |
34 |
<key id="/boot">/dev/hda1</key> |
35 |
+ <key id="kernel-version">2.6.19-r7</key> |
36 |
+ <key id="kernel-name">kernel-2.6.19-gentoo-r7</key> |
37 |
<key id="release-dir">releases/ppc/2007.0/ppc32/</key> |
38 |
<key id="stage3">stage3-ppc-2007.0.tar.bz2</key> |
39 |
<key id="CFLAGS">-O2 -mcpu=powerpc -mtune=powerpc -fno-strict-aliasing -pipe</key> |
40 |
|
41 |
|
42 |
|
43 |
1.31 xml/htdocs/doc/en/handbook/draft/hb-install-ppc-kernel.xml |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/draft/hb-install-ppc-kernel.xml?rev=1.31&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/draft/hb-install-ppc-kernel.xml?rev=1.31&content-type=text/plain |
47 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/draft/hb-install-ppc-kernel.xml?r1=1.30&r2=1.31 |
48 |
|
49 |
Index: hb-install-ppc-kernel.xml |
50 |
=================================================================== |
51 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/hb-install-ppc-kernel.xml,v |
52 |
retrieving revision 1.30 |
53 |
retrieving revision 1.31 |
54 |
diff -u -r1.30 -r1.31 |
55 |
--- hb-install-ppc-kernel.xml 19 Mar 2007 08:20:15 -0000 1.30 |
56 |
+++ hb-install-ppc-kernel.xml 19 Mar 2007 09:24:46 -0000 1.31 |
57 |
@@ -4,7 +4,7 @@ |
58 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
59 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
60 |
|
61 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/hb-install-ppc-kernel.xml,v 1.30 2007/03/19 08:20:15 nightmorph Exp $ --> |
62 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/hb-install-ppc-kernel.xml,v 1.31 2007/03/19 09:24:46 nightmorph Exp $ --> |
63 |
|
64 |
<sections> |
65 |
|
66 |
@@ -51,19 +51,20 @@ |
67 |
</p> |
68 |
|
69 |
<pre caption="Installing a kernel source"> |
70 |
-# <i>emerge --usepkg gentoo-sources</i> |
71 |
+# <i>emerge gentoo-sources</i> |
72 |
</pre> |
73 |
|
74 |
<p> |
75 |
If you take a look in <path>/usr/src</path> you should see a symlink named |
76 |
-<path>linux</path> pointing to your newly emerged kernel source. In this case, |
77 |
-the installed kernel source points to <c>gentoo-sources-2.6.19-r7</c>. Your |
78 |
-installed version may be different, so keep this in mind. |
79 |
+<path>linux</path> pointing to your newly emerged kernel source. In this case, |
80 |
+the installed kernel source points to <c>gentoo-sources-<keyval |
81 |
+id="kernel-version"/></c>. Your installed version may be different, so keep this |
82 |
+in mind. |
83 |
</p> |
84 |
|
85 |
<pre caption="Viewing the kernel source symlink"> |
86 |
# <i>ls -l /usr/src/linux</i> |
87 |
-lrwxrwxrwx 1 root root 22 Mar 18 16:23 /usr/src/linux -> linux-2.6.19-gentoo-r7 |
88 |
+lrwxrwxrwx 1 root root 22 Mar 18 16:23 /usr/src/linux -> linux-<keyval id="kernel-version"/> |
89 |
</pre> |
90 |
|
91 |
<p> |
92 |
@@ -294,15 +295,15 @@ |
93 |
|
94 |
<p> |
95 |
When the kernel has finished compiling, copy the kernel image to |
96 |
-<path>/boot</path> as shown below. If you have a seperate boot partition, as |
97 |
-on Pegasos computers, be sure that it is mounted properly. If you are using |
98 |
+<path>/boot</path> as shown below. If you have a separate boot partition, as |
99 |
+on Pegasos computers, be sure that it is mounted properly. If you are using |
100 |
BootX to boot, we'll copy the kernel later. |
101 |
</p> |
102 |
|
103 |
<p> |
104 |
Yaboot and BootX expect to use an uncompressed kernel unlike many other |
105 |
-bootloaders. The uncompressed kernel is called vmlinux and it is placed in |
106 |
-<path>/usr/src/linux</path> after the kernel has finished compiling. If you |
107 |
+bootloaders. The uncompressed kernel is called vmlinux and it is placed in |
108 |
+<path>/usr/src/linux</path> after the kernel has finished compiling. If you |
109 |
are using a Pegasos machine, the Pegasos firmware requires a compressed |
110 |
kernel called zImage which can be found in |
111 |
<path>/usr/src/linux/arch/powerpc/boot/images</path>. |
112 |
@@ -332,9 +333,9 @@ |
113 |
<body> |
114 |
|
115 |
<p> |
116 |
-You should list the modules you want automatically loaded in |
117 |
-<path>/etc/modules.autoload.d/kernel-2.6</path>. |
118 |
-You can add extra options to the modules if required. |
119 |
+You should list the modules you want automatically loaded in |
120 |
+<path>/etc/modules.autoload.d/kernel-2.6</path>. You can add extra options to |
121 |
+the modules if required. |
122 |
</p> |
123 |
|
124 |
<p> |
125 |
@@ -409,10 +410,10 @@ |
126 |
|
127 |
<p> |
128 |
Before compiling your sources, the fstab needs a slight adjustment. The rest of |
129 |
-the fstab will be completed during a later step, so don't worry about the |
130 |
+the fstab will be completed during a later step, so don't worry about the |
131 |
details now. If you did not create a separate boot partition (NOT bootstrap, |
132 |
-that's different), remove the line referencing /boot from |
133 |
-<path>/etc/fstab</path>. This will need to be done on most Apple computers. |
134 |
+that's different), remove the line referencing <path>/boot</path> from |
135 |
+<path>/etc/fstab</path>. This will need to be done on most Apple computers. |
136 |
</p> |
137 |
|
138 |
<pre caption="Removing /boot from /etc/fstab on machines without a boot partition"> |
139 |
|
140 |
|
141 |
|
142 |
-- |
143 |
gentoo-doc-cvs@g.o mailing list |