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

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

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

Revision 1.52 Revision 1.54
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-ppc-disk.xml,v 1.52 2012/10/28 10:29:03 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-disk.xml,v 1.54 2013/02/23 18:38:22 swift Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<abstract> 11<abstract>
12To be able to install Gentoo, you must create the necessary partitions. 12To be able to install Gentoo, you must create the necessary partitions.
13This chapter describes how to partition a disk for future usage. 13This chapter describes how to partition a disk for future usage.
14</abstract> 14</abstract>
15 15
16<version>13</version> 16<version>15</version>
17<date>2012-10-28</date> 17<date>2013-02-23</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</title> 27<title>Partitions</title>
28<body> 28<body>
29 29
30<p> 30<p>
31Although it is theoretically possible to use a full disk to house your Linux 31Although it is theoretically possible to use a full disk to house your Linux
32system, this is almost never done in practice. Instead, full disk block devices 32system, this is almost never done in practice. Instead, full disk block devices
120</tr> 120</tr>
121</table> 121</table>
122 122
123</body> 123</body>
124</subsection> 124</subsection>
125<subsection> 125<subsection>
126<title>Apple Old World</title> 126<title>Apple Old World</title>
127<body> 127<body>
128 128
129<p> 129<p>
130Apple Old World machines are a bit more complicated to configure. The first 130Apple Old World machines are a bit more complicated to configure. The first
131partition is always an <e>Apple Partition Map</e>. This partition keeps track 131partition is always an <e>Apple Partition Map</e>. This partition keeps track
132of the layout of the disk. You cannot remove this partition. If you are using 132of the layout of the disk. You cannot remove this partition. If you are using
133BootX, the configuration below assumes that MacOS is installed on a seperate 133BootX, the configuration below assumes that MacOS is installed on a seperate
134disk. If this is not the case, there will be additional partitions for "Apple 134disk. If this is not the case, there will be additional partitions for "Apple
135Disk Drivers" such as <path>Apple_Driver63, Apple_Driver_ATA, Apple_FWDriver, 135Disk Drivers" such as <path>Apple_Driver63</path>, <path>Apple_Driver_ATA</path>,
136<path>Apple_FWDriver</path>, <path>Apple_Driver_IOKit</path>,
136Apple_Driver_IOKit, Apple_Patches</path> and the MacOS install. If you are 137<path>Apple_Patches</path> and the MacOS install. If you are
137using Quik, you will need to create a boot partition to hold the kernel, unlike 138using Quik, you will need to create a boot partition to hold the kernel, unlike
138other Apple boot methods. After the boot partition, the usual Linux filesystems 139other Apple boot methods. After the boot partition, the usual Linux filesystems
139are placed, according to the scheme below. The swap partition is a temporary 140are placed, according to the scheme below. The swap partition is a temporary
140storage place for when your system runs out of physical memory. The root 141storage place for when your system runs out of physical memory. The root
141partition will contain the filesystem that Gentoo is installed on. 142partition will contain the filesystem that Gentoo is installed on.
142</p> 143</p>
143 144
144<note> 145<note>
145If you are using an OldWorld machine, you will need to keep MacOS available. 146If you are using an OldWorld machine, you will need to keep MacOS available.
146The layout here assumes MacOS is installed on a separate drive. 147The layout here assumes MacOS is installed on a separate drive.
147</note> 148</note>
148 149
149<table> 150<table>
150<tr> 151<tr>
151 <th>Partition</th> 152 <th>Partition</th>
542<tr> 543<tr>
543 <ti>ext4</ti> 544 <ti>ext4</ti>
544 <ti><c>mkfs.ext4</c></ti> 545 <ti><c>mkfs.ext4</c></ti>
545</tr> 546</tr>
546<tr> 547<tr>
547 <ti>reiserfs</ti> 548 <ti>reiserfs</ti>
548 <ti><c>mkreiserfs</c></ti> 549 <ti><c>mkreiserfs</c></ti>
549</tr> 550</tr>
550<tr> 551<tr>
551 <ti>xfs</ti> 552 <ti>xfs</ti>
552 <ti><c>mkfs.xfs</c></ti> 553 <ti><c>mkfs.xfs</c></ti>
553</tr> 554</tr>
554</table> 555</table>
555 556
556<p> 557<p>
557For instance, to make an ext3 filesystem on the root partition 558For instance, to make an ext4 filesystem on the root partition
558(<path>/dev/sda4</path> in our example), you would use: 559(<path>/dev/sda4</path> in our example), you would use:
559</p> 560</p>
560 561
561<pre caption="Applying a filesystem on a partition"> 562<pre caption="Applying a filesystem on a partition">
562# <i>mke2fs -j /dev/sda4</i> 563# <i>mkfs.ext4 /dev/sda4</i>
563</pre> 564</pre>
564 565
565<p> 566<p>
566Now create the filesystems on your newly created partitions (or logical 567Now create the filesystems on your newly created partitions (or logical
567volumes). 568volumes).
568</p> 569</p>
569 570
570<impo> 571<impo>
571If you choose to use ReiserFS for <path>/</path>, do not change its default 572If you choose to use ReiserFS for <path>/</path>, do not change its default
572block size if you will also be using <c>yaboot</c> as your bootloader, as 573block size if you will also be using <c>yaboot</c> as your bootloader, as
573explained in <uri link="?part=1&amp;chap=10">Configuring the Bootloader</uri>. 574explained in <uri link="?part=1&amp;chap=10">Configuring the Bootloader</uri>.
574</impo> 575</impo>
575 576
576<note> 577<note>
577On the PegasosII your partition which holds the kernel must be ext2, ext3 or 578On the PegasosII your partition which holds the kernel must be ext2, ext3 or

Legend:
Removed from v.1.52  
changed lines
  Added in v.1.54

  ViewVC Help
Powered by ViewVC 1.1.20