| 1 | <?xml version='1.0' encoding='UTF-8'?> |
1 | <?xml version='1.0' encoding='UTF-8'?> |
| 2 | <!DOCTYPE sections SYSTEM "/dtd/book.dtd"> |
2 | <!DOCTYPE sections SYSTEM "/dtd/book.dtd"> |
| 3 | |
3 | |
| 4 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
4 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
| 5 | <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
5 | <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
| 6 | |
6 | |
| 7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc64-disk.xml,v 1.36 2011/10/17 19:51:45 swift Exp $ --> |
7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc64-disk.xml,v 1.37 2012/10/06 19:54:14 swift Exp $ --> |
| 8 | |
8 | |
| 9 | <sections> |
9 | <sections> |
| 10 | |
10 | |
| 11 | <abstract> |
11 | <abstract> |
| 12 | To be able to install Gentoo, you must create the necessary partitions. |
12 | To be able to install Gentoo, you must create the necessary partitions. |
| 13 | This chapter describes how to partition a disk for future usage. |
13 | This chapter describes how to partition a disk for future usage. |
| 14 | </abstract> |
14 | </abstract> |
| 15 | |
15 | |
| 16 | <version>11</version> |
16 | <version>12</version> |
| 17 | <date>2011-10-17</date> |
17 | <date>2012-10-06</date> |
| 18 | |
18 | |
| 19 | <section> |
19 | <section> |
| 20 | <title>Introduction to Block Devices</title> |
20 | <title>Introduction to Block Devices</title> |
| 21 | |
21 | |
| 22 | <subsection> |
22 | <subsection> |
| 23 | <include href="hb-install-blockdevices.xml"/> |
23 | <include href="hb-install-blockdevices.xml"/> |
| 24 | </subsection> |
24 | </subsection> |
| 25 | |
25 | |
| 26 | <subsection> |
26 | <subsection> |
| 27 | <title>Partitions and Slices</title> |
27 | <title>Partitions and Slices</title> |
| 28 | <body> |
28 | <body> |
| 29 | |
29 | |
| 30 | <p> |
30 | <p> |
| 31 | Although it is theoretically possible to use a full disk to house your Linux |
31 | Although it is theoretically possible to use a full disk to house your Linux |
| 32 | system, this is almost never done in practice. Instead, full disk block devices |
32 | system, this is almost never done in practice. Instead, full disk block devices |
| … | |
… | |
| 137 | be done in parallel (although this advantage is more with multiple disks than |
137 | be done in parallel (although this advantage is more with multiple disks than |
| 138 | it is with multiple partitions) |
138 | it is with multiple partitions) |
| 139 | </li> |
139 | </li> |
| 140 | <li> |
140 | <li> |
| 141 | Security can be enhanced by mounting some partitions or volumes read-only, |
141 | Security can be enhanced by mounting some partitions or volumes read-only, |
| 142 | nosuid (setuid bits are ignored), noexec (executable bits are ignored) etc. |
142 | nosuid (setuid bits are ignored), noexec (executable bits are ignored) etc. |
| 143 | </li> |
143 | </li> |
| 144 | </ul> |
144 | </ul> |
| 145 | |
145 | |
| 146 | <p> |
146 | <p> |
| 147 | However, multiple partitions have disadvantages as well. If not configured |
147 | However, multiple partitions have disadvantages as well. If not configured |
| 148 | properly, you will have a system with lots of free space on one partition and |
148 | properly, you will have a system with lots of free space on one partition and |
| 149 | none on another. Another nuisance is that separate partitions - especially |
149 | none on another. Another nuisance is that separate partitions - especially |
| 150 | for important mountpoints like <path>/usr</path> or <path>/var</path> - often |
150 | for important mountpoints like <path>/usr</path> or <path>/var</path> - often |
| 151 | require the administrator to boot with an initramfs to mount the partition |
151 | require the administrator to boot with an initramfs to mount the partition |
| 152 | before other boot scripts start. This isn't always the case though, so YMMV. |
152 | before other boot scripts start. This isn't always the case though, so your |
|
|
153 | results may vary. |
| 153 | </p> |
154 | </p> |
| 154 | |
155 | |
| 155 | <p> |
156 | <p> |
| 156 | There is also a 15-partition limit for SCSI and SATA. |
157 | There is also a 15-partition limit for SCSI and SATA. |
| 157 | </p> |
158 | </p> |
| 158 | |
159 | |
| 159 | </body> |
160 | </body> |
| 160 | </subsection> |
161 | </subsection> |
| 161 | </section> |
162 | </section> |
| 162 | <section id="mac-fdisk"> |
163 | <section id="mac-fdisk"> |
| 163 | <title>Default: Using mac-fdisk (Apple G5) to Partition your Disk</title> |
164 | <title>Default: Using mac-fdisk (Apple G5) to Partition your Disk</title> |
| 164 | <body> |
165 | <body> |
| 165 | |
166 | |
| 166 | <p> |
167 | <p> |
| 167 | At this point, create your partitions using <c>mac-fdisk</c>: |
168 | At this point, create your partitions using <c>mac-fdisk</c>: |