summaryrefslogtreecommitdiff
path: root/en/partitioning/partition/powerpc.xml
blob: e0c2ee4aa2bded131820f9e0c463c7f6ae3ae940 (plain)
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
<!-- retain these comments for translator revision tracking -->
<!-- $Id$ -->


  <sect2 arch="powerpc"><title>Partitioning Newer PowerMacs</title>
<para>

If you are installing onto a NewWorld PowerMac you must create a
special bootstrap partition to hold the boot loader. The size of this
partition must be 800KB and its partition type must be
<emphasis>Apple_Bootstrap</emphasis>.  If the bootstrap partition is
not created with the <emphasis>Apple_Bootstrap</emphasis> type your
machine cannot be made bootable from the hard disk.  This partition
can easily be created by creating a new partition in
<command>partman</command> and telling it to use it as a <quote>NewWorld
boot partition</quote>, or in <command>mac-fdisk</command> using the
<userinput>b</userinput> command.

</para><para>

The special partition type Apple_Bootstrap is required to prevent
MacOS from mounting and damaging the bootstrap partition, as there are
special modifications made to it in order for OpenFirmware to boot it
automatically.

</para><para>

Note that the bootstrap partition is only meant to hold 3 very small
files: the <command>yaboot</command> binary, its configuration
<filename>yaboot.conf</filename>, and a first stage OpenFirmware
loader <command>ofboot.b</command>.  It need not and must not be
mounted on your file system nor have kernels or anything else copied
to it. The <command>ybin</command> and <command>mkofboot</command>
utilities are used to manipulate this partition.

</para><para>

In order for OpenFirmware to automatically boot &debian; the bootstrap
partition should appear before other boot partitions on the disk,
especially MacOS boot partitions.  The bootstrap partition should be
the first one you create. However, if you add a bootstrap partition
later, you can use <command>mac-fdisk</command>'s
<userinput>r</userinput> command to reorder the partition map so the
bootstrap partition comes right after the map (which is always
partition 1). It's the logical map order, not the physical address
order, that counts.

</para><para>

Apple disks normally have several small driver partitions. If you
intend to dual boot your machine with MacOSX, you should retain these
partitions and a small HFS partition (800k is the minimum size). That
is because MacOSX, on every boot, offers to initialize any disks which do
not have active MacOS partitions and driver partitions.

</para>
  </sect2>