1 | <?xml version="1.0" encoding="ISO-8859-1"?> |
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" |
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ |
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent"> |
---|
5 | %general-entities; |
---|
6 | ]> |
---|
7 | |
---|
8 | <sect1 id="ch-partitioning-creatingpartition"> |
---|
9 | <?dbhtml filename="creatingpartition.html"?> |
---|
10 | |
---|
11 | <title>Creating a New Partition</title> |
---|
12 | |
---|
13 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
14 | href="../common/creatingpartition.xml" |
---|
15 | xpointer="xpointer(//*[@os='a'])"/> |
---|
16 | |
---|
17 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
18 | href="../common/creatingpartition.xml" |
---|
19 | xpointer="xpointer(//*[@os='b'])"/> |
---|
20 | |
---|
21 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
22 | href="../common/creatingpartition.xml" |
---|
23 | xpointer="xpointer(//*[@os='c'])"/> |
---|
24 | |
---|
25 | <para os="c1">Open Firmware and the Mac OS's impose certain requirements on |
---|
26 | partitioning. This is discussed in <xref linkend="appendixe" role="."/>. |
---|
27 | In particular, you cannot use <command>fdisk</command>, you will need an |
---|
28 | <literal>apple_bootstrap</literal> partition, and that should precede any |
---|
29 | OSX partition.</para> |
---|
30 | |
---|
31 | <para os="d">Start a disk partitioning program such as <command>parted</command> |
---|
32 | with a command line option naming the hard |
---|
33 | disk on which the new partition will be created—for example |
---|
34 | <filename class="devicefile">/dev/hda</filename> for the primary |
---|
35 | Integrated Drive Electronics (IDE) disk. Create at least an apple bootstrap |
---|
36 | partition, a Linux native partition, and a swap partition, if needed. Please |
---|
37 | refer to <filename>parted(8)</filename> if you do not yet know how to use the |
---|
38 | programs.</para> |
---|
39 | |
---|
40 | <para os="e">Remember the designation of the new partition (e.g., |
---|
41 | <filename class="devicefile">hda5</filename>). This book will refer to |
---|
42 | this as the CLFS partition. Also remember the designation of the swap |
---|
43 | partition. These names will be needed later for the |
---|
44 | <filename>/etc/fstab</filename> file. You will also need to know the |
---|
45 | designation of the apple_bootstrap partition for the <filename>yaboot.conf |
---|
46 | </filename> when you set this up before you run <command>ybin</command>.</para> |
---|
47 | |
---|
48 | </sect1> |
---|