~qbalazs/installation-guide/lp1030336

« back to all changes in this revision

Viewing changes to ca/boot-installer/powerpc.xml

  • Committer: joeyh
  • Date: 2005-10-07 19:51:38 UTC
  • Revision ID: vcs-imports@canonical.com-20051007195138-c3d57b2617a79a4f
move manual to top-level directory, split out of debian-installer package

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!-- retain these comments for translator revision tracking -->
 
2
<!-- original version: 28672 untranslated -->
 
3
 
 
4
  <sect2 arch="powerpc" id="boot-cd"><title>Booting from a CD-ROM</title>
 
5
 
 
6
&boot-installer-intro-cd.xml;
 
7
 
 
8
<para>
 
9
 
 
10
Currently, the only &arch-title; subarchitectures that support CD-ROM
 
11
booting are PReP and New World PowerMacs. On PowerMacs, hold the
 
12
<keycap>c</keycap> key, or else the combination of
 
13
<keycap>Command</keycap>, <keycap>Option</keycap>,
 
14
<keycap>Shift</keycap>, and <keycap>Delete</keycap>
 
15
keys together while booting to boot from the CD-ROM.
 
16
 
 
17
</para><para>
 
18
 
 
19
OldWorld PowerMacs will not boot a Debian CD, because OldWorld
 
20
computers relied on a Mac OS ROM CD boot driver to be present on the CD,
 
21
and a free-software version of this driver is not available. All
 
22
OldWorld systems have floppy drives, so use the floppy drive to launch
 
23
the installer, and then point the installer to the CD for the needed
 
24
files.
 
25
 
 
26
</para><para>
 
27
 
 
28
If your system doesn't boot directly from CD-ROM, you can still use
 
29
the CD-ROM to install the system. On NewWorlds, you can also use an
 
30
OpenFirmware command to boot from the CD-ROM manually. Follow the
 
31
instructions in <xref linkend="boot-newworld"/> for booting from
 
32
the hard disk, except use the path to <command>yaboot</command> on the
 
33
CD at the OF prompt, such as
 
34
 
 
35
<informalexample><screen>
 
36
0 &gt; boot cd:,\install\yaboot
 
37
</screen></informalexample>
 
38
 
 
39
</para>
 
40
  </sect2>
 
41
 
 
42
  <sect2 arch="powerpc" id="install-drive">
 
43
  <title>Booting from Hard Disk</title>
 
44
 
 
45
&boot-installer-intro-hd.xml;
 
46
 
 
47
  <sect3><title>Booting CHRP from OpenFirmware</title>
 
48
 
 
49
<para>
 
50
 
 
51
  <emphasis>Not yet written.</emphasis>
 
52
 
 
53
</para>
 
54
   </sect3>
 
55
 
 
56
   <sect3><title>Booting OldWorld PowerMacs from MacOS</title>
 
57
<para>
 
58
 
 
59
If you set up BootX in <xref linkend="files-oldworld"/>, you can
 
60
use it to boot into the installation system. Double click the
 
61
<guiicon>BootX</guiicon> application icon. Click on the
 
62
<guibutton>Options</guibutton> button and select <guilabel>Use
 
63
Specified RAM Disk</guilabel>. This will give you the
 
64
chance to select the <filename>ramdisk.image.gz</filename> file. You
 
65
may need to select the <guilabel>No Video Driver</guilabel> checkbox,
 
66
depending on your hardware. Then click the
 
67
<guibutton>Linux</guibutton> button to shut down MacOS and launch the
 
68
installer.
 
69
 
 
70
</para>
 
71
   </sect3>
 
72
 
 
73
 
 
74
  <sect3 id="boot-newworld">
 
75
  <title>Booting NewWorld Macs from OpenFirmware</title>
 
76
<para>
 
77
 
 
78
You will have already placed the <filename>vmlinux</filename>,
 
79
<filename>initrd.gz</filename>, <filename>yaboot</filename>, and
 
80
<filename>yaboot.conf</filename> files at the root level of your HFS
 
81
partition in <xref linkend="files-newworld"/>.
 
82
Restart the computer, and immediately (during the chime) hold down the
 
83
<keycap>Option</keycap>, <keycap>Command (cloverleaf/Apple)</keycap>,
 
84
<keycap>o</keycap>, and <keycap>f</keycap> keys all together. After
 
85
a few seconds you will be presented with the Open Firmware prompt.
 
86
At the prompt, type
 
87
 
 
88
<informalexample><screen>
 
89
0 &gt; boot hd:<replaceable>x</replaceable>,yaboot
 
90
</screen></informalexample>
 
91
 
 
92
replacing <replaceable>x</replaceable> with the partition number of
 
93
the HFS partition where the
 
94
kernel and yaboot files were placed, followed by a &enterkey;. On some
 
95
machines, you may need to use <userinput>ide0:</userinput> instead of
 
96
<userinput>hd:</userinput>. In a few more seconds you will see a
 
97
yaboot prompt
 
98
 
 
99
<informalexample><screen>
 
100
boot:
 
101
</screen></informalexample>
 
102
 
 
103
At yaboot's <prompt>boot:</prompt> prompt, type either
 
104
<userinput>install</userinput> or <userinput>install video=ofonly</userinput>
 
105
followed by a &enterkey;.  The
 
106
<userinput>video=ofonly</userinput> argument is for maximum
 
107
compatibility; you can try it if <userinput>install</userinput>
 
108
doesn't work. The Debian installation program should start.
 
109
 
 
110
</para>
 
111
   </sect3>
 
112
  </sect2>
 
113
 
 
114
  <sect2 arch="powerpc" id="usb-boot">
 
115
  <title>Booting from USB memory stick</title>
 
116
<para>
 
117
 
 
118
Currently, NewWorld PowerMac systems are known to support USB booting.
 
119
 
 
120
</para>
 
121
 
 
122
<para>
 
123
 
 
124
Make sure you have prepared everything from <xref
 
125
linkend="boot-usb-files"/>. To boot a Macintosh system from a USB stick,
 
126
you will need to use the Open Firmware prompt, since Open Firmware does
 
127
not search USB storage devices by default.
 
128
<!-- TODO: although it could be made to; watch this space -->
 
129
To get to the prompt, hold down
 
130
<keycombo><keycap>Command</keycap> <keycap>Option</keycap>
 
131
<keycap>o</keycap> <keycap>f</keycap></keycombo> all together while
 
132
booting (see <xref linkend="invoking-openfirmware"/>).
 
133
 
 
134
</para><para>
 
135
 
 
136
You will need to work out where the USB storage device appears in the
 
137
device tree, since at the moment <command>ofpath</command> cannot work
 
138
that out automatically. Type <userinput>dev / ls</userinput> and
 
139
<userinput>devalias</userinput> at the Open Firmware prompt to get a
 
140
list of all known devices and device aliases. On the author's system
 
141
with various types of USB stick, paths such as
 
142
<filename>usb0/disk</filename>, <filename>usb0/hub/disk</filename>,
 
143
<filename>/pci@f2000000/usb@1b,1/disk@1</filename>, and
 
144
<filename>/pci@f2000000/usb@1b,1/hub@1/disk@1</filename> work.
 
145
 
 
146
</para><para>
 
147
 
 
148
Having worked out the device path, use a command like this to boot the
 
149
installer:
 
150
 
 
151
<informalexample><screen>
 
152
boot <replaceable>usb0/disk</replaceable>:<replaceable>2</replaceable>,\\:tbxi
 
153
</screen></informalexample>
 
154
 
 
155
The <replaceable>2</replaceable> matches the Apple_HFS or
 
156
Apple_Bootstrap partition onto which you copied the boot image earlier,
 
157
and the <userinput>,\\:tbxi</userinput> part instructs Open Firmware to
 
158
boot from the file with an HFS file type of "tbxi" (i.e.
 
159
<command>yaboot</command>) in the directory previously blessed with
 
160
<command>hattrib -b</command>.
 
161
 
 
162
</para><para>
 
163
 
 
164
The system should now boot up, and you should be presented with the
 
165
<prompt>boot:</prompt> prompt. Here you can enter optional boot
 
166
arguments, or just hit &enterkey;.
 
167
 
 
168
</para><warning><para>
 
169
 
 
170
This boot method is new, and may be difficult to get to work on some
 
171
NewWorld systems. If you have problems, please file an installation
 
172
report, as explained in <xref linkend="submit-bug"/>.
 
173
 
 
174
</para></warning>
 
175
  </sect2>
 
176
 
 
177
  <sect2 arch="powerpc" id="boot-tftp"><title>Booting with TFTP</title>
 
178
 
 
179
&boot-installer-intro-net.xml;
 
180
 
 
181
<para>
 
182
 
 
183
Currently, PReP and New World PowerMac systems support netbooting.
 
184
 
 
185
</para><para>
 
186
 
 
187
On machines with Open Firmware, such as NewWorld Power Macs, enter the
 
188
boot monitor (see <xref linkend="invoking-openfirmware"/>) and
 
189
use the command <command>boot enet:0</command>.  PReP and CHRP boxes
 
190
may have different ways of addressing the network.  On a PReP machine,
 
191
you should try
 
192
<userinput>boot <replaceable>server_ipaddr</replaceable>,<replaceable>file</replaceable>,<replaceable>client_ipaddr</replaceable></userinput>.
 
193
 
 
194
</para>
 
195
  </sect2>
 
196
 
 
197
 
 
198
  <sect2 arch="powerpc">
 
199
  <title>Booting from Floppies</title>
 
200
<para>
 
201
 
 
202
Booting from floppies is supported for &arch-title;, although it is
 
203
generally only applicable for OldWorld systems. NewWorld systems are
 
204
not equipped with floppy drives, and attached USB floppy drives are
 
205
not supported for booting.
 
206
 
 
207
</para><para>
 
208
 
 
209
You will have already downloaded the floppy images you needed and
 
210
created floppies from the images in <xref linkend="create-floppy"/>.
 
211
 
 
212
</para><para>
 
213
 
 
214
To boot from the <filename>boot-floppy-hfs.img</filename> floppy,
 
215
place it in floppy drive after shutting the system down, and before
 
216
pressing the power-on button.
 
217
 
 
218
</para><note><para>
 
219
For those not familiar with Macintosh
 
220
floppy operations: a floppy placed in the machine prior to boot will
 
221
be the first priority for the system to boot from. A floppy without a
 
222
valid boot system will be ejected, and the machine will then check for
 
223
bootable hard disk partitions.
 
224
 
 
225
</para></note><para>
 
226
 
 
227
After booting, the <filename>root.bin</filename> floppy is
 
228
requested. Insert the root floppy and press &enterkey;. The installer
 
229
program is automatically launched after the root system has been
 
230
loaded into memory.
 
231
 
 
232
</para>
 
233
  </sect2>
 
234
 
 
235
 
 
236
  <sect2 arch="powerpc"><title>PowerPC Boot Parameters</title>
 
237
<para>
 
238
 
 
239
Many older Apple monitors used a 640x480 67Hz mode. If your video
 
240
appears skewed on an older Apple monitor, try appending the boot
 
241
argument <userinput>video=atyfb:vmode:6</userinput> , which will
 
242
select that mode for most Mach64 and Rage video hardware. For Rage 128
 
243
hardware, this changes to
 
244
<userinput>video=aty128fb:vmode:6</userinput> .
 
245
 
 
246
</para>
 
247
  </sect2>