1 |
josejx 07/04/02 02:20:46 |
2 |
|
3 |
Modified: hb-install-ppc-bootloader.xml |
4 |
Log: |
5 |
Sync bootloader docs to draft. |
6 |
|
7 |
Revision Changes Path |
8 |
1.5 xml/htdocs/doc/en/handbook/2007.0/hb-install-ppc-bootloader.xml |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/2007.0/hb-install-ppc-bootloader.xml?rev=1.5&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/2007.0/hb-install-ppc-bootloader.xml?rev=1.5&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/2007.0/hb-install-ppc-bootloader.xml?r1=1.4&r2=1.5 |
13 |
|
14 |
Index: hb-install-ppc-bootloader.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2007.0/hb-install-ppc-bootloader.xml,v |
17 |
retrieving revision 1.4 |
18 |
retrieving revision 1.5 |
19 |
diff -u -r1.4 -r1.5 |
20 |
--- hb-install-ppc-bootloader.xml 1 Apr 2007 23:35:32 -0000 1.4 |
21 |
+++ hb-install-ppc-bootloader.xml 2 Apr 2007 02:20:46 -0000 1.5 |
22 |
@@ -4,12 +4,12 @@ |
23 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
24 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
25 |
|
26 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2007.0/hb-install-ppc-bootloader.xml,v 1.4 2007/04/01 23:35:32 nightmorph Exp $ --> |
27 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2007.0/hb-install-ppc-bootloader.xml,v 1.5 2007/04/02 02:20:46 josejx Exp $ --> |
28 |
|
29 |
<sections> |
30 |
|
31 |
<version>8.0</version> |
32 |
-<date>2007-01-13</date> |
33 |
+<date>2007-04-01</date> |
34 |
|
35 |
<section> |
36 |
<title>Choosing a Bootloader</title> |
37 |
@@ -28,7 +28,7 @@ |
38 |
<uri link="#yaboot">yaboot</uri>. OldWorld Apple machines have two options, |
39 |
<uri link="#bootx">BootX</uri> (recommended) and <uri link="#quik">quik</uri>. |
40 |
The Pegasos does not require a bootloader, but you will need to emerge |
41 |
-<uri link="#bootcreator">BootCreator</uri> to create SmartFirmware bootmenus. |
42 |
+<uri link="#bootcreator">bootcreator</uri> to create SmartFirmware boot menus. |
43 |
</p> |
44 |
|
45 |
</body> |
46 |
@@ -72,24 +72,24 @@ |
47 |
<note> |
48 |
You will need to manually edit the yaboot.conf when using genkernel, even if |
49 |
yabootconfig is used. The kernel image section of yaboot.conf should be |
50 |
-modified as follows: |
51 |
+modified as follows (using vmlinux and initrd as the name of kernel and |
52 |
+initrd image): |
53 |
</note> |
54 |
|
55 |
<pre caption="Adding genkernel boot arguments to yaboot.conf"> |
56 |
<comment>########################################################### |
57 |
## This section can be duplicated if you have more than one |
58 |
-## kernel or set of boot options - replace kernel-name |
59 |
-## and initrd-name with the exact filename of your kernel |
60 |
-## and initrd image. |
61 |
+## kernel or set of boot options - replace vmlinux and initrd |
62 |
+## with the exact filename of your kernel and initrd image. |
63 |
###########################################################</comment> |
64 |
-image=/boot/kernel-name |
65 |
+image=/boot/vmlinux |
66 |
label=Linux |
67 |
root=/dev/ram0 |
68 |
partition=3 |
69 |
- initrd=/boot/initrd-name |
70 |
- append="real_root=/dev/hda3 init=/linuxrc" |
71 |
+ initrd=/boot/initrd |
72 |
<comment># You can add additional kernel arguments to append such as |
73 |
# rootdelay=10 for a USB/Firewire Boot</comment> |
74 |
+ append="real_root=/dev/hda3 init=/linuxrc" |
75 |
read-only |
76 |
<comment>##########################################################</comment> |
77 |
</pre> |
78 |
@@ -115,12 +115,12 @@ |
79 |
<p> |
80 |
To use <c>yabootconfig</c>, your drive must have an Apple_Bootstrap partition, |
81 |
and <path>/etc/fstab</path> must be configured to reflect your Linux |
82 |
-partitions. These steps should have already been completed before, but check |
83 |
-<path>/etc/fstab</path> before proceeding. Now, ensure that you have |
84 |
-<c>yaboot</c> installed. |
85 |
+partitions (note that the Bootstrap partition should <e>not</e> be in your |
86 |
+fstab). These steps should have already been completed before, but check |
87 |
+<path>/etc/fstab</path> before proceeding. Now, install <c>yaboot</c>. |
88 |
</p> |
89 |
|
90 |
-<pre caption = "Installing yaboot with GRP"> |
91 |
+<pre caption = "Installing yaboot from GRP"> |
92 |
# <i>emerge --usepkg yaboot</i> |
93 |
</pre> |
94 |
|
95 |
@@ -141,10 +141,10 @@ |
96 |
</pre> |
97 |
|
98 |
<p> |
99 |
-You might want to verify the contents of <path>/etc/yaboot.conf</path>. If you |
100 |
-make changes to <path>/etc/yaboot.conf</path> (like setting the default/boot |
101 |
-OS), make sure to rerun <c>ybin -v</c> to apply changes to the Apple_Bootstrap |
102 |
-partition. Whenever you make a change to yaboot.conf, like when testing a new |
103 |
+You should verify the contents of <path>/etc/yaboot.conf</path>. If you make |
104 |
+changes to <path>/etc/yaboot.conf</path> (like setting the default/boot OS), |
105 |
+make sure to rerun <c>ybin -v</c> to apply changes to the Apple_Bootstrap |
106 |
+partition. Whenever you make a change to yaboot.conf, like when testing a new |
107 |
kernel, always remember to run <c>ybin -v</c> to update the bootstrap |
108 |
partition. |
109 |
</p> |
110 |
@@ -160,10 +160,10 @@ |
111 |
<body> |
112 |
|
113 |
<p> |
114 |
-First make sure you have <c>yaboot</c> installed on your system: |
115 |
+First, install <c>yaboot</c> on your system: |
116 |
</p> |
117 |
|
118 |
-<pre caption = "Installing yaboot with GRP"> |
119 |
+<pre caption="Installing yaboot from GRP"> |
120 |
# <i>emerge --usepkg yaboot</i> |
121 |
</pre> |
122 |
|
123 |
@@ -219,9 +219,9 @@ |
124 |
|
125 |
<comment>################# |
126 |
## This section can be duplicated if you have more than one kernel or set of |
127 |
-## boot options - replace kernel-name with your kernel-version |
128 |
+## boot options - replace vmlinux with your kernel-version |
129 |
#################</comment> |
130 |
-image=/boot/kernel-name |
131 |
+image=/boot/vmlinux |
132 |
label=Linux |
133 |
root=/dev/hda3 |
134 |
partition=3 |
135 |
@@ -356,7 +356,7 @@ |
136 |
First, we'll need to install quik: |
137 |
</p> |
138 |
|
139 |
-<pre caption="Emerge quik"> |
140 |
+<pre caption="Emerge quik from GRP"> |
141 |
# <i>emerge --usepkg quik</i> |
142 |
</pre> |
143 |
|
144 |
@@ -400,7 +400,7 @@ |
145 |
# <i>nvsetenv input-device kbd</i> |
146 |
# <i>nvsetenv boot-device scsi/sd@1:0</i> <comment># For SCSI</comment> |
147 |
# <i>nvsetenv boot-device ata/ata-disk@0:0</i> <comment># For ATA</comment> |
148 |
-# <i>nvsetenv boot-file /boot/vmlinux-2.6.17 root=/dev/hda4</i> <comment>First item is the path to the kernel, the second is the root partition. You may append any kernel options to the end of this line.</comment> |
149 |
+# <i>nvsetenv boot-file /boot/vmlinux-<keyval id="kernel-version"/> root=/dev/hda4</i> <comment>First item is the path to the kernel, the second is the root partition. You may append any kernel options to the end of this line.</comment> |
150 |
# <i>nvsetenv boot-command boot</i> <comment># Set this to bye for MacOS and boot for Linux</comment> |
151 |
</pre> |
152 |
|
153 |
@@ -447,13 +447,13 @@ |
154 |
First make sure you have <c>bootcreator</c> installed on your system: |
155 |
</p> |
156 |
|
157 |
-<pre caption = "Installing bootcreator"> |
158 |
+<pre caption = "Installing bootcreator from GRP"> |
159 |
# <i>emerge --usepkg bootcreator</i> |
160 |
</pre> |
161 |
|
162 |
<p> |
163 |
Now copy the file <path>/etc/bootmenu.example</path> into |
164 |
-<path>/etc/bootmenu</path> and edit it to your needs: |
165 |
+<path>/etc/bootmenu</path> and edit it to suit your needs: |
166 |
</p> |
167 |
|
168 |
<pre caption = "Edit the bootcreator config file"> |
169 |
@@ -462,8 +462,8 @@ |
170 |
</pre> |
171 |
|
172 |
<p> |
173 |
-Below is a complete <path>/etc/bootmenu</path> config file. The kernel-name |
174 |
-and initrd-name should be replaced by your kernel and initrd image names. |
175 |
+Below is a complete <path>/etc/bootmenu</path> config file. vmlinux and |
176 |
+initrd should be replaced by your kernel and initrd image names. |
177 |
</p> |
178 |
|
179 |
<pre caption = "bootcreator config file"> |
180 |
@@ -488,15 +488,15 @@ |
181 |
|
182 |
[SECTION] |
183 |
Local HD -> Linux (Normal) |
184 |
-ide:0 kernel-name video=radeonfb:1024x768@70 root=/dev/hda3 |
185 |
+ide:0 kernel video=radeonfb:1024x768@70 root=/dev/hda3 |
186 |
|
187 |
[SECTION] |
188 |
Local HD -> Genkernel (Normal) |
189 |
-ide:0 kernel-name root=/dev/ram0 real_root=/dev/hda3 init=/linuxrc initrd=initrd-name |
190 |
+ide:0 kernel root=/dev/ram0 real_root=/dev/hda3 init=/linuxrc initrd=initrd |
191 |
</pre> |
192 |
|
193 |
<p> |
194 |
-Finally the <path>bootmenu</path> must be transfered into Forth and copied to |
195 |
+Finally the <path>bootmenu</path> must be transferred into Forth and copied to |
196 |
your boot partition, so that the SmartFirmware can read it. Therefore you have |
197 |
to call <c>bootcreator</c>: |
198 |
</p> |
199 |
|
200 |
|
201 |
|
202 |
-- |
203 |
gentoo-doc-cvs@g.o mailing list |