1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
|
<!-- retain these comments for translator revision tracking -->
<!-- $Id$ -->
<sect1 condition="bootable-disk" id="boot-drive-files">
<title>Preparing Files for Hard Disk Booting</title>
<para>
The installer may be booted using boot files placed on an
existing hard drive partition, either launched from another operating
system or by invoking a boot loader directly from the BIOS.
</para><para>
A full, <quote>pure network</quote> installation can be achieved using this
technique. This avoids all hassles of removable media, like finding
and burning CD images or struggling with too numerous and
unreliable floppy disks.
</para><para arch="powerpc">
The installer cannot boot from files on an HFS+ file system. MacOS
System 8.1 and above may use HFS+ file systems; NewWorld PowerMacs all
use HFS+. To determine whether your existing file system is HFS+,
select <userinput>Get Info</userinput> for the volume in question. HFS
file systems appear as <userinput>Mac OS Standard</userinput>, while
HFS+ file systems say <userinput>Mac OS Extended</userinput>. You must
have an HFS partition in order to exchange files between MacOS and
Linux, in particular the installation files you download.
</para><para arch="powerpc">
Different programs are used for hard disk installation system booting,
depending on whether the system is a <quote>NewWorld</quote> or an
<quote>OldWorld</quote> model.
</para>
<sect2 arch="x86" id="files-lilo">
<title>Hard disk installer booting from Linux using <command>LILO</command> or
<command>GRUB</command></title>
<para>
This section explains how to add to or even replace an existing linux
installation using either <command>LILO</command> or
<command>GRUB</command>.
</para><para>
At boot time, both bootloaders support loading in memory not
only the kernel, but also a disk image. This RAM disk can be used as
the root file-system by the kernel.
</para><para>
Copy the following files from the &debian; archives to a
convenient location on your hard drive (note that LILO
can not boot from files on an NTFS file system), for instance to
<filename>/boot/newinstall/</filename>.
<itemizedlist>
<listitem><para>
<filename>vmlinuz</filename> (kernel binary)
</para></listitem>
<listitem><para>
<filename>initrd.gz</filename> (ramdisk image)
</para></listitem>
</itemizedlist>
</para><para>
Finally, to configure the bootloader proceed to
<xref linkend="boot-initrd"/>.
</para>
</sect2>
<sect2 arch="x86" id="files-loadlin">
<title>Hard disk installer booting from DOS using <command>loadlin</command></title>
<para>
This section explains how to prepare your hard drive for booting the installer
from DOS using <command>loadlin</command>.
</para><para>
Copy the following directories from a &debian; CD image to <filename>c:\</filename>.
<itemizedlist>
<listitem><para>
<filename>/&x86-install-dir;</filename> (kernel binary and ramdisk image)
</para></listitem>
<listitem><para>
<filename>/tools</filename> (loadlin tool)
</para></listitem>
</itemizedlist>
</para>
</sect2>
<sect2 arch="powerpc" id="files-oldworld">
<title>Hard Disk Installer Booting for OldWorld Macs</title>
<para>
The <filename>boot-floppy-hfs</filename> floppy uses
<application>miBoot</application> to launch Linux installation, but
<application>miBoot</application> cannot easily be used for hard disk
booting. <application>BootX</application>, launched from MacOS,
supports booting from files placed on the hard
disk. <application>BootX</application> can also be used to dual-boot
MacOS and Linux after your &debian; installation is complete. For the
Performa 6360, it appears that <command>quik</command> cannot make the
hard disk bootable. So <application>BootX</application> is required
on that model.
</para><para>
Download and unstuff the <application>BootX</application>
distribution, available from <ulink url="&url-powerpc-bootx;"></ulink>,
or in the
<filename>dists/woody/main/disks-powerpc/current/powermac</filename>
directory on &debian; http/ftp mirrors and official &debian; CDs. Use
<application>Stuffit Expander</application> to extract it from its
archive. Within the package, there is an empty folder called
<filename>Linux Kernels</filename>. Download
<filename>linux.bin</filename> and
<filename>ramdisk.image.gz</filename> from the
<filename>disks-powerpc/current/powermac</filename> folder, and place
them in the <filename>Linux Kernels</filename> folder. Then place the
<filename>Linux Kernels</filename> folder in the active System Folder.
</para>
</sect2>
<sect2 arch="powerpc" id="files-newworld">
<title>Hard Disk Installer Booting for NewWorld Macs</title>
<para>
NewWorld PowerMacs support booting from a network or an ISO9660
CD-ROM, as well as loading ELF binaries directly from the hard
disk. These machines will boot Linux directly via
<command>yaboot</command>, which supports loading a kernel and RAMdisk
directly from an ext2 partition, as well as dual-booting with
MacOS. Hard disk booting of the installer is particularly appropriate
for newer machines without floppy drives. <command>BootX</command> is
not supported and must not be used on NewWorld PowerMacs.
</para><para>
<emphasis>Copy</emphasis> (not move) the following four files which
you downloaded earlier from the &debian; archives, onto the root level
of your hard drive (this can be accomplished by
<keycap>option</keycap>-dragging each file to the hard drive icon).
<itemizedlist>
<listitem><para>
<filename>vmlinux</filename>
</para></listitem>
<listitem><para>
<filename>initrd.gz</filename>
</para></listitem>
<listitem><para>
<filename>yaboot</filename>
</para></listitem>
<listitem><para>
<filename>yaboot.conf</filename>
</para></listitem>
</itemizedlist>
</para><para>
Make a note of the partition number of the MacOS partition where you
place these files. If you have the MacOS <command>pdisk</command>
program, you can use the <command>L</command> command to check for the
partition number. You will need this partition number for the command
you type at the Open Firmware prompt when you boot the installer.
</para><para>
To boot the installer, proceed to <xref linkend="boot-newworld"/>.
</para>
</sect2>
</sect1>
|