/[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.4 Revision 1.5
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/1.0 --> 5<!-- See http://creativecommons.org/licenses/by-sa/1.0 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-disk.xml,v 1.4 2004/04/04 19:41:25 pylon Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-disk.xml,v 1.5 2004/04/04 20:09:03 pylon Exp $ -->
8 8
9<sections> 9<sections>
10<section> 10<section>
11<title>Introduction to Block Devices</title> 11<title>Introduction to Block Devices</title>
12<subsection> 12<subsection>
171</p> 171</p>
172 172
173<p> 173<p>
174Second, create an <e>Apple_Bootstrap</e> partition by using <c>b</c>. It will 174Second, create an <e>Apple_Bootstrap</e> partition by using <c>b</c>. It will
175ask for what block you want to start. Enter the number of your first free 175ask for what block you want to start. Enter the number of your first free
176partition, followed by a <c>p</c>. For instance this is <c>3p</c>. 176partition, followed by a <c>p</c>. For instance this is <c>1p</c>.
177</p> 177</p>
178 178
179<note> 179<note>
180This partition is <e>not</e> a "boot" partition. It is not used by Linux at all; 180This partition is <e>not</e> a "boot" partition. It is not used by Linux at all;
181you don't have to place any filesystem on it and you should never mount it. PPC 181you don't have to place any filesystem on it and you should never mount it. PPC
182users don't need a an extra partition for <path>/boot</path>. 182users don't need a an extra partition for <path>/boot</path>.
183</note> 183</note>
184 184
185<p> 185<p>
186Now create a swap partition by pressing <c>c</c>. Again <c>mac-fdisk</c> will 186Now create a swap partition by pressing <c>c</c>. Again <c>mac-fdisk</c> will
187ask for what block you want to start this partition from. As we used <c>3</c> 187ask for what block you want to start this partition from. As we used <c>1</c>
188before to create the Apple_Bootstrap partition, you now have to enter 188before to create the Apple_Bootstrap partition, you now have to enter
189<c>4p</c>. When you're asked for the size, enter <c>512M</c> (or whatever size 189<c>2p</c>. When you're asked for the size, enter <c>512M</c> (or whatever size
190you want -- 512MB is recommended though). When asked for a name, enter <c>swap</c> 190you want -- 512MB is recommended though). When asked for a name, enter <c>swap</c>
191(mandatory). 191(mandatory).
192</p> 192</p>
193 193
194<p> 194<p>
195To create the root partition, enter <c>c</c>, followed by <c>5p</c> to select 195To create the root partition, enter <c>c</c>, followed by <c>3p</c> to select
196from what block the root partition should start. When asked for the size, enter 196from what block the root partition should start. When asked for the size, enter
197<c>5p</c> again. <c>mac-fdisk</c> will interpret this as "Use all available 197<c>3p</c> again. <c>mac-fdisk</c> will interpret this as "Use all available
198space". When asked for the name, enter <c>root</c> (mandatory). 198space". When asked for the name, enter <c>root</c> (mandatory).
199</p> 199</p>
200 200
201<p> 201<p>
202To finish up, write the partition to the disk using <c>w</c> and <c>q</c> to 202To finish up, write the partition to the disk using <c>w</c> and <c>q</c> to
343<p> 343<p>
344<c>mkswap</c> is the command that is used to initialize swap partitions: 344<c>mkswap</c> is the command that is used to initialize swap partitions:
345</p> 345</p>
346 346
347<pre caption="Creating a Swap signature"> 347<pre caption="Creating a Swap signature">
348# <i>mkswap /dev/hda4</i> 348# <i>mkswap /dev/hda2</i>
349</pre> 349</pre>
350 350
351<p> 351<p>
352To activate the swap partition, use <c>swapon</c>: 352To activate the swap partition, use <c>swapon</c>:
353</p> 353</p>
354 354
355<pre caption="Activating the swap partition"> 355<pre caption="Activating the swap partition">
356# <i>swapon /dev/hda4</i> 356# <i>swapon /dev/hda2</i>
357</pre> 357</pre>
358 358
359<p> 359<p>
360Create and activate the swap now. 360Create and activate the swap now.
361</p> 361</p>

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.20