/[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.32 Revision 1.34
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.32 2005/08/25 19:22:50 neysx Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-disk.xml,v 1.34 2006/02/27 00:55:34 fox2mike Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>2.4</version> 11<version>2.5</version>
12<date>2005-08-25</date> 12<date>2006-02-27</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>
24you'll be guided through the process of setting up partitions and filesystems 24you'll be guided through the process of setting up partitions and filesystems
25for your Gentoo Linux installation. 25for your Gentoo Linux installation.
26</p> 26</p>
27 27
28<p> 28<p>
29To begin, we'll introduce <e>block devices</e>. The most famous block device is 29To begin, we'll introduce <e>block devices</e>. The most common block device is
30probably the one that represents the first IDE drive in a Linux system, namely 30the one that represents the first IDE drive in a Linux system, namely
31<path>/dev/hda</path>. If your system uses SCSI or SATA drives, then your first 31<path>/dev/hda</path>. If you are installing onto SCSI, FireWire, USB or SATA
32hard drive would be <path>/dev/sda</path>. 32drives, then your first hard drive would be <path>/dev/sda</path>.
33</p> 33</p>
34 34
35<p> 35<p>
36The block devices above represent an abstract interface to the disk. User 36The block devices above represent an abstract interface to the disk. User
37programs can use these block devices to interact with your disk without worrying 37programs can use these block devices to interact with your disk without worrying
94 <ti>(bootstrap)</ti> 94 <ti>(bootstrap)</ti>
95 <ti>800k</ti> 95 <ti>800k</ti>
96 <ti>Apple_Bootstrap</ti> 96 <ti>Apple_Bootstrap</ti>
97</tr> 97</tr>
98<tr> 98<tr>
99 <ti>(Not applicable</ti> 99 <ti>(Not applicable)</ti>
100 <ti>(Not applicable)</ti> 100 <ti>(Not applicable)</ti>
101 <ti>(Not applicable)</ti> 101 <ti>(Not applicable)</ti>
102 <ti><path>/dev/sda1</path></ti> 102 <ti><path>/dev/sda1</path></ti>
103 <ti>(PReP Boot)</ti> 103 <ti>(PReP Boot)</ti>
104 <ti>800k</ti> 104 <ti>800k</ti>
106</tr> 106</tr>
107<tr> 107<tr>
108 <ti>(Not applicable)</ti> 108 <ti>(Not applicable)</ti>
109 <ti><path>/dev/hda2</path> (If using quik)</ti> 109 <ti><path>/dev/hda2</path> (If using quik)</ti>
110 <ti><path>/dev/hda1</path></ti> 110 <ti><path>/dev/hda1</path></ti>
111 <ti>(Not needed)</ti> 111 <ti>(Not applicable)</ti>
112 <ti>ext2</ti> 112 <ti>ext2</ti>
113 <ti>32MB</ti> 113 <ti>32MB</ti>
114 <ti>Boot partition</ti> 114 <ti>Boot partition</ti>
115</tr> 115</tr>
116<tr> 116<tr>
136<note> 136<note>
137There are some partitions named: <path>Apple_Driver43, Apple_Driver_ATA, 137There are some partitions named: <path>Apple_Driver43, Apple_Driver_ATA,
138Apple_FWDriver, Apple_Driver_IOKit, Apple_Patches</path>. If you are not 138Apple_FWDriver, Apple_Driver_IOKit, Apple_Patches</path>. If you are not
139planning to use MacOS 9 you can delete them, because MacOS X and Linux don't 139planning to use MacOS 9 you can delete them, because MacOS X and Linux don't
140need them. To delete them, either use parted or erase the whole disk by 140need them. To delete them, either use parted or erase the whole disk by
141initialing the partition map. 141initializing the partition map.
142</note> 142</note>
143 143
144<warn> 144<warn>
145<c>parted</c> is able to resize partitions. On the Installation CD there 145<c>parted</c> is able to resize partitions including HFS+. Unfortunately it is
146are patches included to resize HFS+ filesystem. Unfortunately it is risky to
147resize HFS+ journaled filesystems, be sure to switch off journaling in Mac OS X 146not possible to resize HFS+ journaled filesystems, so switch off journaling in
148first and make sure to run a disk checking tool after the resize. Everything 147Mac OS X before resizing. Remeber that any resizing operation is dangerous,
149you do with resizing in parted you do it at your own risk! Be sure to have a 148so attempt at your own risk! Be sure to always have a backup of your data
150backup of your data! 149before resizing!
151</warn> 150</warn>
152 151
153<p> 152<p>
154If you are interested in knowing how big a partition should be, or even how many 153If you are interested in knowing how big a partition should be, or even how many
155partitions you need, read on. Otherwise continue now with 154partitions you need, read on. Otherwise continue now with
156<uri link="#mac-fdisk"> Default: Using mac-fdisk (Apple) to Partition your Disk 155<uri link="#mac-fdisk"> Default: Using mac-fdisk (Apple) to Partition your Disk
157</uri> or <uri link="#parted">Alternative: Using parted (IBM/Pegasos) to 156</uri> or <uri link="#parted">Alternative: Using parted (IBM/Pegasos) to
521If you want your <path>/tmp</path> to reside on a separate partition, be sure to 520If you want your <path>/tmp</path> to reside on a separate partition, be sure to
522change its permissions after mounting: <c>chmod 1777 /mnt/gentoo/tmp</c>. This 521change its permissions after mounting: <c>chmod 1777 /mnt/gentoo/tmp</c>. This
523also holds for <path>/var/tmp</path>. 522also holds for <path>/var/tmp</path>.
524</note> 523</note>
525 524
526
527<p> 525<p>
528We will have to mount the proc filesystem (a virtual interface with the 526We will have to mount the proc filesystem (a virtual interface with the
529kernel) on <path>/proc</path>. But first we will need to place our files on the 527kernel) on <path>/proc</path>. But first we will need to place our files on the
530partitions. 528partitions.
531</p> 529</p>

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.34

  ViewVC Help
Powered by ViewVC 1.1.20