/[gentoo]/xml/htdocs/doc/en/handbook/hb-install-ppc64-disk.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-install-ppc64-disk.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.28 Revision 1.29
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.28 2007/02/16 13:45:39 neysx Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc64-disk.xml,v 1.29 2007/05/07 18:11:41 nightmorph Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>7.2</version> 11<version>8.0</version>
12<date>2007-02-16</date> 12<date>2007-05-07</date>
13 13
14<section> 14<section>
15<title>Introduction to Block Devices</title> 15<title>Introduction to Block Devices</title>
16<subsection> 16<subsection>
17<title>Block Devices</title> 17<title>Block Devices</title>
102</tr> 102</tr>
103</table> 103</table>
104 104
105<note> 105<note>
106There are some partitions named like this: <path>Apple_Driver43, 106There are some partitions named like this: <path>Apple_Driver43,
107Apple_Driver_ATA, Apple_FWDriver, Apple_Driver_IOKit, 107Apple_Driver_ATA, Apple_FWDriver, Apple_Driver_IOKit, Apple_Patches</path>. If
108Apple_Patches</path>. If you are not planning to use MacOS 9 you can 108you are not planning to use MacOS 9 you can delete them, because MacOS X and
109delete them, because MacOS X and Linux don't need them. 109Linux don't need them. You might have to use parted in order to delete them, as
110You might have to use parted in order to delete them, as mac-fdisk can't delete 110mac-fdisk can't delete them yet.
111them yet.
112</note> 111</note>
113 112
114<p> 113<p>
115If you are interested in knowing how big a partition should be, or even how 114If you are interested in knowing how big a partition should be, or even how
116many partitions you need, read on. Otherwise continue now with 115many partitions you need, read on. Otherwise continue now with
127 126
128<p> 127<p>
129The number of partitions is highly dependent on your environment. For instance, 128The number of partitions is highly dependent on your environment. For instance,
130if you have lots of users, you will most likely want to have your 129if you have lots of users, you will most likely want to have your
131<path>/home</path> separate as it increases security and makes backups easier. 130<path>/home</path> separate as it increases security and makes backups easier.
132If you are installing Gentoo to perform as a mailserver, your 131If you are installing Gentoo to perform as a mailserver, your <path>/var</path>
133<path>/var</path> should be separate as all mails are stored inside 132should be separate as all mails are stored inside <path>/var</path>. A good
134<path>/var</path>. A good choice of filesystem will then maximise your 133choice of filesystem will then maximise your performance. Gameservers will have
135performance. Gameservers will have a separate <path>/opt</path> as most gaming 134a separate <path>/opt</path> as most gaming servers are installed there. The
136servers are installed there. The reason is similar for <path>/home</path>: 135reason is similar for <path>/home</path>: security and backups. You will
137security and backups. You will definitely want to keep <path>/usr</path> big: 136definitely want to keep <path>/usr</path> big: not only will it contain the
138not only will it contain the majority of applications, the Portage tree alone 137majority of applications, the Portage tree alone takes around 500 Mbyte
139takes around 500 Mbyte excluding the various sources that are stored in it. 138excluding the various sources that are stored in it.
140</p> 139</p>
141 140
142<p> 141<p>
143As you can see, it very much depends on what you want to achieve. Separate 142As you can see, it very much depends on what you want to achieve. Separate
144partitions or volumes have the following advantages: 143partitions or volumes have the following advantages:
162 nosuid (setuid bits are ignored), noexec (executable bits are ignored) etc. 161 nosuid (setuid bits are ignored), noexec (executable bits are ignored) etc.
163</li> 162</li>
164</ul> 163</ul>
165 164
166<p> 165<p>
167However, multiple partitions have one big disadvantage: if not configured 166However, multiple partitions have one big disadvantage: if not configured
168properly, you might result in having a system with lots 167properly, you might result in having a system with lots of free space on one
169of free space on one partition and none on another. There is also a 15-partition 168partition and none on another. There is also a 15-partition limit for SCSI and
170limit for SCSI and SATA. 169SATA.
171</p> 170</p>
172 171
173</body> 172</body>
174</subsection> 173</subsection>
175</section> 174</section>
176<section id="mac-fdisk"> 175<section id="mac-fdisk">
177<title>Default: Using mac-fdisk (Apple G5) Partition your Disk</title> 176<title>Default: Using mac-fdisk (Apple G5) to Partition your Disk</title>
178<body> 177<body>
179 178
180<p> 179<p>
181At this point, create your partitions using <c>mac-fdisk</c>: 180At this point, create your partitions using <c>mac-fdisk</c>:
182</p> 181</p>
223quit <c>mac-fdisk</c>. 222quit <c>mac-fdisk</c>.
224</p> 223</p>
225 224
226<note> 225<note>
227To make sure everything is ok, you should run mac-fdisk once more and check 226To make sure everything is ok, you should run mac-fdisk once more and check
228whether all the partitions are there.If you don't see any of the partitions you 227whether all the partitions are there. If you don't see any of the partitions you
229created, or the changes you made, you should reinitialize your partitions by 228created, or the changes you made, you should reinitialize your partitions by
230pressing "i" in mac-fdisk. Note that this will recreate the partition map and 229pressing <c>i</c> in mac-fdisk. Note that this will recreate the partition map
231thus remove all your partitions. 230and thus remove all your partitions.
232</note> 231</note>
233 232
234<p> 233<p>
235Now that your partitions are created, you can now continue with <uri 234Now that your partitions are created, you can now continue with <uri
236link="#filesystems">Creating Filesystems</uri>. 235link="#filesystems">Creating Filesystems</uri>.
242<title>IBM pSeries, iSeries and OpenPower: using fdisk to Partition your Disk</title> 241<title>IBM pSeries, iSeries and OpenPower: using fdisk to Partition your Disk</title>
243<subsection> 242<subsection>
244<body> 243<body>
245 244
246<note> 245<note>
247If you are planning to use a RAID disk array for your gentoo installation and 246If you are planning to use a RAID disk array for your Gentoo installation and
248you are using POWER5-based hardware, you should now run <c>iprconfig</c> to 247you are using POWER5-based hardware, you should now run <c>iprconfig</c> to
249format the disks to Advanced Function format and create the disk array. You 248format the disks to Advanced Function format and create the disk array. You
250should emerge <c>iprutils</c> after your install is complete. 249should emerge <c>iprutils</c> after your install is complete.
251</note> 250</note>
252 251
253<p> 252<p>
254If you have an ipr based SCSI adapter, you should start the ipr utilities now. 253If you have an ipr-based SCSI adapter, you should start the ipr utilities now.
255</p> 254</p>
256 255
257<pre caption="Starting ipr utilities"> 256<pre caption="Starting ipr utilities">
258# <i>/etc/init.d/iprinit start</i> 257# <i>/etc/init.d/iprinit start</i>
259</pre> 258</pre>
645system goes down unexpectedly. 644system goes down unexpectedly.
646</p> 645</p>
647 646
648<p> 647<p>
649<b>JFS</b> is IBM's high-performance journaling filesystem. It has recently 648<b>JFS</b> is IBM's high-performance journaling filesystem. It has recently
650become production-ready and there hasn't been a sufficient track record to 649become production-ready.
651comment positively nor negatively on its general stability at this point.
652</p> 650</p>
653 651
654</body> 652</body>
655</subsection> 653</subsection>
656<subsection id="filesystems-apply"> 654<subsection id="filesystems-apply">
693For instance, to have the root partition (<path>/dev/sda4</path> in our example) 691For instance, to have the root partition (<path>/dev/sda4</path> in our example)
694in ext3 (as in our example), you would use: 692in ext3 (as in our example), you would use:
695</p> 693</p>
696 694
697<pre caption="Applying a filesystem on a partition"> 695<pre caption="Applying a filesystem on a partition">
698# <i>mke2fs -j -O dir_index /dev/sda4</i> 696# <i>mke2fs -j /dev/sda4</i>
699</pre> 697</pre>
700 698
701<p> 699<p>
702Now create the filesystems on your newly created partitions (or logical 700Now create the filesystems on your newly created partitions (or logical
703volumes). 701volumes).
738 736
739<p> 737<p>
740Now that your partitions are initialized and are housing a filesystem, it is 738Now that your partitions are initialized and are housing a filesystem, it is
741time to mount those partitions. Use the <c>mount</c> command. Don't forget to 739time to mount those partitions. Use the <c>mount</c> command. Don't forget to
742create the necessary mount directories for every partition you created. As an 740create the necessary mount directories for every partition you created. As an
743example we create a mount-point and mount the root and boot partition: 741example we create a mount point and mount the root partition:
744</p> 742</p>
745 743
746<pre caption="Mounting partitions"> 744<pre caption="Mounting partitions">
747# <i>mkdir /mnt/gentoo</i> 745# <i>mkdir /mnt/gentoo</i>
748# <i>mount /dev/sda4 /mnt/gentoo</i> 746# <i>mount /dev/sda4 /mnt/gentoo</i>

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29

  ViewVC Help
Powered by ViewVC 1.1.20