/[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.46 Revision 1.47
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.46 2008/04/01 08:53:46 nightmorph Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-disk.xml,v 1.47 2008/05/02 08:04:23 nightmorph Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>9.0</version> 11<version>9.1</version>
12<date>2008-04-01</date> 12<date>2008-05-02</date>
13 13
14<section> 14<section>
15<title>Introduction to Block Devices</title> 15<title>Introduction to Block Devices</title>
16 16
17<subsection> 17<subsection>
89 <th>Size</th> 89 <th>Size</th>
90 <th>Filesystem</th> 90 <th>Filesystem</th>
91 <th>Description</th> 91 <th>Description</th>
92</tr> 92</tr>
93<tr> 93<tr>
94 <ti><path>/dev/hda1</path></ti> 94 <ti><path>/dev/sda1</path></ti>
95 <ti>32k</ti> 95 <ti>32k</ti>
96 <ti>None</ti> 96 <ti>None</ti>
97 <ti>Apple Partition Map</ti> 97 <ti>Apple Partition Map</ti>
98</tr> 98</tr>
99<tr> 99<tr>
100 <ti><path>/dev/hda2</path></ti> 100 <ti><path>/dev/sda2</path></ti>
101 <ti>800k</ti> 101 <ti>800k</ti>
102 <ti>HFS</ti> 102 <ti>HFS</ti>
103 <ti>Apple Bootstrap</ti> 103 <ti>Apple Bootstrap</ti>
104</tr> 104</tr>
105<tr> 105<tr>
106 <ti><path>/dev/hda3</path></ti> 106 <ti><path>/dev/sda3</path></ti>
107 <ti>512Mb</ti> 107 <ti>512Mb</ti>
108 <ti>Swap</ti> 108 <ti>Swap</ti>
109 <ti>Linux Swap</ti> 109 <ti>Linux Swap</ti>
110</tr> 110</tr>
111<tr> 111<tr>
112 <ti><path>/dev/hda4</path></ti> 112 <ti><path>/dev/sda4</path></ti>
113 <ti>Rest of Disk</ti> 113 <ti>Rest of Disk</ti>
114 <ti>ext3, reiserfs, xfs</ti> 114 <ti>ext3, reiserfs, xfs</ti>
115 <ti>Linux Root</ti> 115 <ti>Linux Root</ti>
116</tr> 116</tr>
117</table> 117</table>
148 <th>Size</th> 148 <th>Size</th>
149 <th>Filesystem</th> 149 <th>Filesystem</th>
150 <th>Description</th> 150 <th>Description</th>
151</tr> 151</tr>
152<tr> 152<tr>
153 <ti><path>/dev/hda1</path></ti> 153 <ti><path>/dev/sda1</path></ti>
154 <ti>32k</ti> 154 <ti>32k</ti>
155 <ti>None</ti> 155 <ti>None</ti>
156 <ti>Apple Partition Map</ti> 156 <ti>Apple Partition Map</ti>
157</tr> 157</tr>
158<tr> 158<tr>
159 <ti><path>/dev/hda2</path></ti> 159 <ti><path>/dev/sda2</path></ti>
160 <ti>32Mb</ti> 160 <ti>32Mb</ti>
161 <ti>ext2</ti> 161 <ti>ext2</ti>
162 <ti>Quik Boot Partition (quik only)</ti> 162 <ti>Quik Boot Partition (quik only)</ti>
163</tr> 163</tr>
164<tr> 164<tr>
165 <ti><path>/dev/hda3</path></ti> 165 <ti><path>/dev/sda3</path></ti>
166 <ti>512Mb</ti> 166 <ti>512Mb</ti>
167 <ti>Swap</ti> 167 <ti>Swap</ti>
168 <ti>Linux Swap</ti> 168 <ti>Linux Swap</ti>
169</tr> 169</tr>
170<tr> 170<tr>
171 <ti><path>/dev/hda4</path></ti> 171 <ti><path>/dev/sda4</path></ti>
172 <ti>Rest of Disk</ti> 172 <ti>Rest of Disk</ti>
173 <ti>ext3, reiserfs, xfs</ti> 173 <ti>ext3, reiserfs, xfs</ti>
174 <ti>Linux Root</ti> 174 <ti>Linux Root</ti>
175</tr> 175</tr>
176</table> 176</table>
197 <th>Size</th> 197 <th>Size</th>
198 <th>Filesystem</th> 198 <th>Filesystem</th>
199 <th>Description</th> 199 <th>Description</th>
200</tr> 200</tr>
201<tr> 201<tr>
202 <ti><path>/dev/hda1</path></ti> 202 <ti><path>/dev/sda1</path></ti>
203 <ti>32Mb</ti> 203 <ti>32Mb</ti>
204 <ti>affs1 or ext2</ti> 204 <ti>affs1 or ext2</ti>
205 <ti>Boot Partition</ti> 205 <ti>Boot Partition</ti>
206</tr> 206</tr>
207<tr> 207<tr>
208 <ti><path>/dev/hda2</path></ti> 208 <ti><path>/dev/sda2</path></ti>
209 <ti>512Mb</ti> 209 <ti>512Mb</ti>
210 <ti>Swap</ti> 210 <ti>Swap</ti>
211 <ti>Linux Swap</ti> 211 <ti>Linux Swap</ti>
212</tr> 212</tr>
213<tr> 213<tr>
214 <ti><path>/dev/hda3</path></ti> 214 <ti><path>/dev/sda3</path></ti>
215 <ti>Rest of Disk</ti> 215 <ti>Rest of Disk</ti>
216 <ti>ext3, reiserfs, xfs</ti> 216 <ti>ext3, reiserfs, xfs</ti>
217 <ti>Linux Root</ti> 217 <ti>Linux Root</ti>
218</tr> 218</tr>
219</table> 219</table>
235 <th>Size</th> 235 <th>Size</th>
236 <th>Filesystem</th> 236 <th>Filesystem</th>
237 <th>Description</th> 237 <th>Description</th>
238</tr> 238</tr>
239<tr> 239<tr>
240 <ti><path>/dev/hda1</path></ti> 240 <ti><path>/dev/sda1</path></ti>
241 <ti>800k</ti> 241 <ti>800k</ti>
242 <ti>None</ti> 242 <ti>None</ti>
243 <ti>PReP Boot Partition (Type 0x41)</ti> 243 <ti>PReP Boot Partition (Type 0x41)</ti>
244</tr> 244</tr>
245<tr> 245<tr>
246 <ti><path>/dev/hda2</path></ti> 246 <ti><path>/dev/sda2</path></ti>
247 <ti>512Mb</ti> 247 <ti>512Mb</ti>
248 <ti>Swap</ti> 248 <ti>Swap</ti>
249 <ti>Linux Swap (Type 0x82)</ti> 249 <ti>Linux Swap (Type 0x82)</ti>
250</tr> 250</tr>
251<tr> 251<tr>
252 <ti><path>/dev/hda3</path></ti> 252 <ti><path>/dev/sda3</path></ti>
253 <ti>Rest of Disk</ti> 253 <ti>Rest of Disk</ti>
254 <ti>ext3, reiserfs, xfs</ti> 254 <ti>ext3, reiserfs, xfs</ti>
255 <ti>Linux Root (Type 0x83)</ti> 255 <ti>Linux Root (Type 0x83)</ti>
256</tr> 256</tr>
257</table> 257</table>
333<p> 333<p>
334At this point, create your partitions using <c>mac-fdisk</c>: 334At this point, create your partitions using <c>mac-fdisk</c>:
335</p> 335</p>
336 336
337<pre caption="Starting mac-fdisk"> 337<pre caption="Starting mac-fdisk">
338# <i>mac-fdisk /dev/hda</i> 338# <i>mac-fdisk /dev/sda</i>
339</pre> 339</pre>
340 340
341<p> 341<p>
342If you used Apple's Disk Utility to leave space for Linux, first delete the 342If you used Apple's Disk Utility to leave space for Linux, first delete the
343partitions you have created previously to make room for your new install. Use 343partitions you have created previously to make room for your new install. Use
410<p> 410<p>
411To begin let's fire up <c>parted</c>: 411To begin let's fire up <c>parted</c>:
412</p> 412</p>
413 413
414<pre caption="Starting parted"> 414<pre caption="Starting parted">
415# <i>parted /dev/hda</i> 415# <i>parted /dev/sda</i>
416</pre> 416</pre>
417 417
418<p> 418<p>
419If the drive is unpartitioned, run <c>mklabel amiga</c> to create a new 419If the drive is unpartitioned, run <c>mklabel amiga</c> to create a new
420disklabel for the drive. 420disklabel for the drive.
487<p> 487<p>
488<c>mkswap</c> is the command that is used to initialize swap partitions: 488<c>mkswap</c> is the command that is used to initialize swap partitions:
489</p> 489</p>
490 490
491<pre caption="Creating a swap signature"> 491<pre caption="Creating a swap signature">
492# <i>mkswap /dev/hda3</i> 492# <i>mkswap /dev/sda3</i>
493</pre> 493</pre>
494 494
495<p> 495<p>
496To activate the swap partition, use <c>swapon</c>: 496To activate the swap partition, use <c>swapon</c>:
497</p> 497</p>
498 498
499<pre caption="Activating the swap partition"> 499<pre caption="Activating the swap partition">
500# <i>swapon /dev/hda3</i> 500# <i>swapon /dev/sda3</i>
501</pre> 501</pre>
502 502
503<p> 503<p>
504Create and activate the swap now before creating other filesystems. 504Create and activate the swap now before creating other filesystems.
505</p> 505</p>
538</tr> 538</tr>
539</table> 539</table>
540 540
541<p> 541<p>
542For instance, to make an ext3 filesystem on the root partition 542For instance, to make an ext3 filesystem on the root partition
543(<path>/dev/hda4</path> in our example), you would use: 543(<path>/dev/sda4</path> in our example), you would use:
544</p> 544</p>
545 545
546<pre caption="Applying a filesystem on a partition"> 546<pre caption="Applying a filesystem on a partition">
547# <i>mke2fs -j /dev/hda4</i> 547# <i>mke2fs -j /dev/sda4</i>
548</pre> 548</pre>
549 549
550<p> 550<p>
551Now create the filesystems on your newly created partitions (or logical 551Now create the filesystems on your newly created partitions (or logical
552volumes). 552volumes).
578time to mount those partitions. Use the <c>mount</c> command. As an example we 578time to mount those partitions. Use the <c>mount</c> command. As an example we
579mount the root partition: 579mount the root partition:
580</p> 580</p>
581 581
582<pre caption="Mounting partitions"> 582<pre caption="Mounting partitions">
583# <i>mount /dev/hda4 /mnt/gentoo</i> 583# <i>mount /dev/sda4 /mnt/gentoo</i>
584</pre> 584</pre>
585 585
586<note> 586<note>
587If you want your <path>/tmp</path> to reside on a separate partition, be sure to 587If you want your <path>/tmp</path> to reside on a separate partition, be sure to
588change its permissions after mounting and unpacking with 588change its permissions after mounting and unpacking with

Legend:
Removed from v.1.46  
changed lines
  Added in v.1.47

  ViewVC Help
Powered by ViewVC 1.1.20