/[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.3 Revision 1.4
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.3 2004/04/03 08:37:01 bennyc Exp $ --> 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 $ -->
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>
170It will ask for the partition number to delete. 170It will ask for the partition number to delete.
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. If you previously selected <c>3</c> as 175ask for what block you want to start. Enter the number of your first free
176partition number, enter <c>3p</c>. 176partition, followed by a <c>p</c>. For instance this is <c>3p</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 boot partition. 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>3</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>4p</c>. When you're asked for the size, enter <c>512M</c> (or whatever size
190you want -- 512 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>5p</c> to select
369 369
370<p> 370<p>
371Now that your partitions are initialized and are housing a filesystem, it is 371Now that your partitions are initialized and are housing a filesystem, it is
372time to mount those partitions. Use the <c>mount</c> command. Don't forget to 372time to mount those partitions. Use the <c>mount</c> command. Don't forget to
373create the necessary mount directories for every partition you created. As an 373create the necessary mount directories for every partition you created. As an
374example we mount the root and boot partition: 374example we create a mount-point and mount the root and boot partition:
375</p> 375</p>
376 376
377<pre caption="Mounting partitions"> 377<pre caption="Mounting partitions">
378# <i>mkdir /mnt/gentoo</i>
378# <i>mount /dev/hda3 /mnt/gentoo</i> 379# <i>mount /dev/hda3 /mnt/gentoo</i>
379</pre> 380</pre>
380 381
381<note> 382<note>
382If you want your <path>/tmp</path> to reside on a separate partition, be sure to 383If you want your <path>/tmp</path> to reside on a separate partition, be sure to
394# <i>mkdir /mnt/gentoo/proc</i> 395# <i>mkdir /mnt/gentoo/proc</i>
395# <i>mount -t proc none /mnt/gentoo/proc</i> 396# <i>mount -t proc none /mnt/gentoo/proc</i>
396</pre> 397</pre>
397 398
398<p> 399<p>
400Finally we have to create the <path>/dev</path> files in our new home, which is
401needed during the bootloader installation. This could be done by "bind"-mapping
402the <path>/dev</path>-filesystem from the LiveCD:
403</p>
404
405<pre caption="Bind-mounting the /dev-filesystem">
406# <i>mkdir /mnt/gentoo/dev</i>
407# <i>mount -o bind /dev /mnt/gentoo/dev</i>
408</pre>
409
410<p>
399Now continue with <uri link="?part=1&amp;chap=5">Installing the Gentoo 411Now continue with <uri link="?part=1&amp;chap=5">Installing the Gentoo
400Installation Files</uri>. 412Installation Files</uri>.
401</p> 413</p>
402 414
403</body> 415</body>

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

  ViewVC Help
Powered by ViewVC 1.1.20