/[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.1 Revision 1.2
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/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.1 2004/04/02 08:14:45 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-disk.xml,v 1.2 2004/04/02 22:15:29 neysx 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>
13<title>Block Devices</title> 13<title>Block Devices</title>
14<body> 14<body>
15 15
16<p> 16<p>
17We'll take a good look at disk-oriented aspects of Gentoo Linux 17We'll take a good look at disk-oriented aspects of Gentoo Linux
18and Linux in general, including Linux filesystems, partitions and block devices. 18and Linux in general, including Linux filesystems, partitions and block devices.
19Then, once you're familiar with the ins and outs of disks and filesystems, 19Then, once you're familiar with the ins and outs of disks and filesystems,
20you'll be guided through the process of setting up partitions and filesystems 20you'll be guided through the process of setting up partitions and filesystems
21for your Gentoo Linux installation. 21for your Gentoo Linux installation.
22</p> 22</p>
140<li> 140<li>
141 Security can be enhanced by mounting some partitions or volumes read-only, 141 Security can be enhanced by mounting some partitions or volumes read-only,
142 nosuid (setuid bits are ignored), noexec (executable bits are ignored) etc. 142 nosuid (setuid bits are ignored), noexec (executable bits are ignored) etc.
143</li> 143</li>
144</ul> 144</ul>
145 145
146<p> 146<p>
147However, multiple partitions have one big disadvantage: if not configured 147However, multiple partitions have one big disadvantage: if not configured
148properly, you might result in having a system with lots 148properly, you might result in having a system with lots
149of free space on one partition and none on another. 149of free space on one partition and none on another.
150</p> 150</p>
151 151
152</body> 152</body>
153</subsection> 153</subsection>
154</section> 154</section>
155<section> 155<section id="fdisk">
156<title>Using mac-fdisk on PPC to Partition your Disk</title> 156<title>Using mac-fdisk on PPC to Partition your Disk</title>
157<body> 157<body>
158 158
159<p> 159<p>
160At this point, create your partitions using <c>mac-fdisk</c>: 160At this point, create your partitions using <c>mac-fdisk</c>:
161</p> 161</p>
162 162
163<pre caption="Starting mac-fdisk"> 163<pre caption="Starting mac-fdisk">
164# <i>mac-fdisk /dev/hda</i> 164# <i>mac-fdisk /dev/hda</i>
165</pre> 165</pre>
166 166
167<p> 167<p>
168First delete the partitions you have cleared previously to make room for your 168First delete the partitions you have cleared previously to make room for your
169Linux partitions. Use <c>d</c> in <c>mac-fdisk</c> to delete those partition(s). 169Linux partitions. Use <c>d</c> in <c>mac-fdisk</c> to delete those partition(s).
170It will ask for the partition number to delete. 170It will ask for the partition number to delete.
182users don't need a boot partition. 182users don't need a boot partition.
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 -- 512 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
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 interprete this as "Use all available 197<c>5p</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
203quit <c>mac-fdisk</c>. 203quit <c>mac-fdisk</c>.
204</p> 204</p>
205 205
206<p> 206<p>
207Now that your partitions are created, you can now continue with <uri 207Now that your partitions are created, you can now continue with <uri
208link="#filesystems">Creating Filesystems</uri>. 208link="#filesystems">Creating Filesystems</uri>.
209</p> 209</p>
210 210
211</body> 211</body>
212</section> 212</section>

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20