1 |
josejx 07/04/02 01:52:27 |
2 |
|
3 |
Modified: hb-install-ppc-disk.xml |
4 |
Log: |
5 |
Sync -disk docs with networked version. |
6 |
|
7 |
Revision Changes Path |
8 |
1.3 xml/htdocs/doc/en/handbook/2007.0/hb-install-ppc-disk.xml |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/2007.0/hb-install-ppc-disk.xml?rev=1.3&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/2007.0/hb-install-ppc-disk.xml?rev=1.3&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/2007.0/hb-install-ppc-disk.xml?r1=1.2&r2=1.3 |
13 |
|
14 |
Index: hb-install-ppc-disk.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2007.0/hb-install-ppc-disk.xml,v |
17 |
retrieving revision 1.2 |
18 |
retrieving revision 1.3 |
19 |
diff -u -r1.2 -r1.3 |
20 |
--- hb-install-ppc-disk.xml 2 Apr 2007 00:24:30 -0000 1.2 |
21 |
+++ hb-install-ppc-disk.xml 2 Apr 2007 01:52:27 -0000 1.3 |
22 |
@@ -4,12 +4,12 @@ |
23 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
24 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
25 |
|
26 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2007.0/hb-install-ppc-disk.xml,v 1.2 2007/04/02 00:24:30 nightmorph Exp $ --> |
27 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2007.0/hb-install-ppc-disk.xml,v 1.3 2007/04/02 01:52:27 josejx Exp $ --> |
28 |
|
29 |
<sections> |
30 |
|
31 |
<version>8.0</version> |
32 |
-<date>2006-11-02</date> |
33 |
+<date>2007-04-01</date> |
34 |
|
35 |
<section> |
36 |
<title>Introduction to Block Devices</title> |
37 |
@@ -18,7 +18,7 @@ |
38 |
<body> |
39 |
|
40 |
<p> |
41 |
-We'll take a good look at disk-oriented aspects of Gentoo Linux |
42 |
+We'll start by taking a good look at disk-oriented aspects of Gentoo Linux |
43 |
and Linux in general, including Linux filesystems, partitions and block devices. |
44 |
Then, once you're familiar with the ins and outs of disks and filesystems, |
45 |
you'll be guided through the process of setting up partitions and filesystems |
46 |
@@ -29,13 +29,15 @@ |
47 |
To begin, we'll introduce <e>block devices</e>. The most common block device is |
48 |
the one that represents the first IDE drive in a Linux system, namely |
49 |
<path>/dev/hda</path>. If you are installing onto SCSI, FireWire, USB or SATA |
50 |
-drives, then your first hard drive would be <path>/dev/sda</path>. |
51 |
+drives, then your first hard drive would be <path>/dev/sda</path>. Additional |
52 |
+drives are enumerated by the next letter in the alphabet. As an example, the |
53 |
+third IDE disk could be found at <path>/dev/hdc</path>. |
54 |
</p> |
55 |
|
56 |
<p> |
57 |
The block devices above represent an abstract interface to the disk. User |
58 |
-programs can use these block devices to interact with your disk without worrying |
59 |
-about whether your drives are IDE, SCSI or something else. The program can |
60 |
+programs can use these block devices to interact with the disk without worrying |
61 |
+about whether the drives are IDE, SCSI or something else. The program can |
62 |
simply address the storage on the disk as a bunch of contiguous, |
63 |
randomly-accessible 512-byte blocks. |
64 |
</p> |
65 |
@@ -64,94 +66,231 @@ |
66 |
|
67 |
<p> |
68 |
If you are not interested in drawing up a partitioning scheme for your system, |
69 |
-you can use the partitioning scheme we use throughout this book: |
70 |
+you can use the partitioning scheme we use throughout this book. Choose the |
71 |
+filesystem layout that best matches the type of PowerPC system you are |
72 |
+installing on. |
73 |
+</p> |
74 |
+ |
75 |
+</body> |
76 |
+</subsection> |
77 |
+<subsection> |
78 |
+<title>Apple New World</title> |
79 |
+<body> |
80 |
+ |
81 |
+<p> |
82 |
+Apple New World machines are fairly straightforward to configure. The first |
83 |
+partition is always an <e>Apple Partition Map</e>. This partition keeps track |
84 |
+of the layout of the disk. You cannot remove this partition. The next |
85 |
+partition should always be a bootstrap partition. This partition contains a |
86 |
+small (800k) HFS filesystem that holds a copy of the bootloader Yaboot and its |
87 |
+configuration file. This partition is <e>not</e> the same as a |
88 |
+<path>/boot</path> partition as found on other architectures. After the boot |
89 |
+partition, the usual Linux filesystems are placed, according to the scheme |
90 |
+below. The swap partition is a temporary storage place for when your system |
91 |
+runs out of physical memory. The root partition will contain the filesystem |
92 |
+that Gentoo is installed on. If you wish to dual boot, the OSX partition |
93 |
+can go anywhere after the bootstrap partition to insure that yaboot starts |
94 |
+first. |
95 |
</p> |
96 |
|
97 |
<note> |
98 |
-If you are using an OldWorld machine, you will need to keep MacOS available. |
99 |
-The layout here assumes MacOS is installed on a separate drive. |
100 |
+There may be "Disk Driver" partitions on your disk such as <path>Apple_Driver63, |
101 |
+Apple_Driver_ATA, Apple_FWDriver, Apple_Driver_IOKit, Apple_Patches</path>. |
102 |
+These are used to boot MacOS, so if you have no need for this, you can remove |
103 |
+them by initializing the disk with mac-fdisk's <c>i</c> option. This will |
104 |
+completely erase the disk! If you are in doubt, just let them be. |
105 |
+</note> |
106 |
+ |
107 |
+<note> |
108 |
+If you partitioned this disk with Apple's Disk Utility, there may be |
109 |
+128Mb spaces between partitions which Apple reserves for "future use". You |
110 |
+can safely remove these. |
111 |
</note> |
112 |
|
113 |
<table> |
114 |
<tr> |
115 |
- <th>Partition NewWorld</th> |
116 |
- <th>Partition OldWorld</th> |
117 |
- <th>Partition Pegasos</th> |
118 |
- <th>Partition RS/6000</th> |
119 |
- <th>Filesystem</th> |
120 |
+ <th>Partition</th> |
121 |
<th>Size</th> |
122 |
+ <th>Filesystem</th> |
123 |
<th>Description</th> |
124 |
</tr> |
125 |
<tr> |
126 |
<ti><path>/dev/hda1</path></ti> |
127 |
- <ti><path>/dev/hda1</path></ti> |
128 |
- <ti>(Not applicable)</ti> |
129 |
- <ti>(Not applicable)</ti> |
130 |
- <ti>(Partition Map)</ti> |
131 |
<ti>32k</ti> |
132 |
- <ti>Apple_partition_map</ti> |
133 |
+ <ti>None</ti> |
134 |
+ <ti>Apple Partition Map</ti> |
135 |
</tr> |
136 |
<tr> |
137 |
<ti><path>/dev/hda2</path></ti> |
138 |
- <ti>(Not needed)</ti> |
139 |
- <ti>(Not applicable)</ti> |
140 |
- <ti>(Not applicable)</ti> |
141 |
- <ti>(bootstrap)</ti> |
142 |
<ti>800k</ti> |
143 |
- <ti>Apple_Bootstrap</ti> |
144 |
+ <ti>HFS</ti> |
145 |
+ <ti>Apple Bootstrap</ti> |
146 |
</tr> |
147 |
<tr> |
148 |
- <ti>(Not applicable)</ti> |
149 |
- <ti>(Not applicable)</ti> |
150 |
- <ti>(Not applicable)</ti> |
151 |
- <ti><path>/dev/sda1</path></ti> |
152 |
- <ti>(PReP Boot)</ti> |
153 |
- <ti>800k</ti> |
154 |
- <ti>Type 0x41</ti> |
155 |
+ <ti><path>/dev/hda3</path></ti> |
156 |
+ <ti>512Mb</ti> |
157 |
+ <ti>Swap</ti> |
158 |
+ <ti>Linux Swap</ti> |
159 |
+</tr> |
160 |
+<tr> |
161 |
+ <ti><path>/dev/hda4</path></ti> |
162 |
+ <ti>Rest of Disk</ti> |
163 |
+ <ti>ext3, reiserfs, xfs</ti> |
164 |
+ <ti>Linux Root</ti> |
165 |
+</tr> |
166 |
+</table> |
167 |
+ |
168 |
+</body> |
169 |
+</subsection> |
170 |
+<subsection> |
171 |
+<title>Apple Old World</title> |
172 |
+<body> |
173 |
+ |
174 |
+<p> |
175 |
+Apple Old World machines are a bit more complicated to configure. The first |
176 |
+partition is always an <e>Apple Partition Map</e>. This partition keeps track |
177 |
+of the layout of the disk. You cannot remove this partition. If you are using |
178 |
+BootX, the configuration below assumes that MacOS is installed on a seperate |
179 |
+disk. If this is not the case, there will be additional partitions for "Apple |
180 |
+Disk Drivers" such as <path>Apple_Driver63, Apple_Driver_ATA, Apple_FWDriver, |
181 |
+Apple_Driver_IOKit, Apple_Patches</path> and the MacOS install. If you are |
182 |
+using Quik, you will need to create a boot partition to hold the kernel, unlike |
183 |
+other Apple boot methods. After the boot partition, the usual Linux filesystems |
184 |
+are placed, according to the scheme below. The swap partition is a temporary |
185 |
+storage place for when your system runs out of physical memory. The root |
186 |
+partition will contain the filesystem that Gentoo is installed on. |
187 |
+</p> |
188 |
+ |
189 |
+<note> |
190 |
+If you are using an OldWorld machine, you will need to keep MacOS available. |
191 |
+The layout here assumes MacOS is installed on a separate drive. |
192 |
+</note> |
193 |
+ |
194 |
+<table> |
195 |
+<tr> |
196 |
+ <th>Partition</th> |
197 |
+ <th>Size</th> |
198 |
+ <th>Filesystem</th> |
199 |
+ <th>Description</th> |
200 |
</tr> |
201 |
<tr> |
202 |
- <ti>(Not applicable)</ti> |
203 |
- <ti><path>/dev/hda2</path> (If using quik)</ti> |
204 |
<ti><path>/dev/hda1</path></ti> |
205 |
- <ti>(Not applicable)</ti> |
206 |
+ <ti>32k</ti> |
207 |
+ <ti>None</ti> |
208 |
+ <ti>Apple Partition Map</ti> |
209 |
+</tr> |
210 |
+<tr> |
211 |
+ <ti><path>/dev/hda2</path></ti> |
212 |
+ <ti>32Mb</ti> |
213 |
<ti>ext2</ti> |
214 |
- <ti>32MB</ti> |
215 |
- <ti>Boot partition</ti> |
216 |
+ <ti>Quik Boot Partition (quik only)</ti> |
217 |
</tr> |
218 |
<tr> |
219 |
<ti><path>/dev/hda3</path></ti> |
220 |
- <ti><path>/dev/hda2</path> (<path>/dev/hda3</path> if using quik)</ti> |
221 |
- <ti><path>/dev/hda2</path></ti> |
222 |
- <ti><path>/dev/sda2</path></ti> |
223 |
- <ti>(swap)</ti> |
224 |
- <ti>512M</ti> |
225 |
- <ti>Swap partition, Type 0x82</ti> |
226 |
+ <ti>512Mb</ti> |
227 |
+ <ti>Swap</ti> |
228 |
+ <ti>Linux Swap</ti> |
229 |
</tr> |
230 |
<tr> |
231 |
<ti><path>/dev/hda4</path></ti> |
232 |
- <ti><path>/dev/hda3</path> (<path>/dev/hda4</path> if using quik)</ti> |
233 |
+ <ti>Rest of Disk</ti> |
234 |
+ <ti>ext3, reiserfs, xfs</ti> |
235 |
+ <ti>Linux Root</ti> |
236 |
+</tr> |
237 |
+</table> |
238 |
+ |
239 |
+</body> |
240 |
+</subsection> |
241 |
+<subsection> |
242 |
+<title>Pegasos</title> |
243 |
+<body> |
244 |
+ |
245 |
+<p> |
246 |
+The Pegaos partition layout is quite simple compared to the Apple layouts. |
247 |
+The first partition is a Boot Partition, which contains kernels to be booted, |
248 |
+along with an OpenFirmware script that presents a menu on boot. After the boot |
249 |
+partition, the usual Linux filesystems are placed, according to the scheme |
250 |
+below. The swap partition is a temporary storage place for when your system |
251 |
+runs out of physical memory. The root partition will contain the filesystem |
252 |
+that Gentoo is installed on. |
253 |
+</p> |
254 |
+ |
255 |
+<table> |
256 |
+<tr> |
257 |
+ <th>Partition</th> |
258 |
+ <th>Size</th> |
259 |
+ <th>Filesystem</th> |
260 |
+ <th>Description</th> |
261 |
+</tr> |
262 |
+<tr> |
263 |
+ <ti><path>/dev/hda1</path></ti> |
264 |
+ <ti>32Mb</ti> |
265 |
+ <ti>affs1 or ext2</ti> |
266 |
+ <ti>Boot Partition</ti> |
267 |
+</tr> |
268 |
+<tr> |
269 |
+ <ti><path>/dev/hda2</path></ti> |
270 |
+ <ti>512Mb</ti> |
271 |
+ <ti>Swap</ti> |
272 |
+ <ti>Linux Swap</ti> |
273 |
+</tr> |
274 |
+<tr> |
275 |
<ti><path>/dev/hda3</path></ti> |
276 |
- <ti><path>/dev/sda3</path></ti> |
277 |
- <ti>ext3, xfs</ti> |
278 |
- <ti>Rest of the disk</ti> |
279 |
- <ti>Root partition, Type 0x83</ti> |
280 |
+ <ti>Rest of Disk</ti> |
281 |
+ <ti>ext3, reiserfs, xfs</ti> |
282 |
+ <ti>Linux Root</ti> |
283 |
</tr> |
284 |
</table> |
285 |
|
286 |
-<note> |
287 |
-There are some partitions named: <path>Apple_Driver63, Apple_Driver_ATA, |
288 |
-Apple_FWDriver, Apple_Driver_IOKit, Apple_Patches</path>. If you are not |
289 |
-planning to use MacOS 9 you can delete them, because MacOS X and Linux don't |
290 |
-need them. To delete them, either use parted or erase the whole disk by |
291 |
-initializing the partition map. |
292 |
-</note> |
293 |
+</body> |
294 |
+</subsection> |
295 |
+<subsection> |
296 |
+<title>IBM PReP (RS/6000)</title> |
297 |
+<body> |
298 |
+ |
299 |
+<p> |
300 |
+The Pegaos partition layout is quite simple compared to the Apple layouts. |
301 |
+The first partition is a Boot Partition, which contains kernels to be booted, |
302 |
+along with an OpenFirmware script that presents a menu on boot. After the boot |
303 |
+partition, the usual Linux filesystems are placed, according to the scheme |
304 |
+below. The swap partition is a temporary storage place for when your system |
305 |
+runs out of physical memory. The root partition will contain the filesystem |
306 |
+that Gentoo is installed on. |
307 |
+</p> |
308 |
+ |
309 |
+<table> |
310 |
+<tr> |
311 |
+ <th>Partition</th> |
312 |
+ <th>Size</th> |
313 |
+ <th>Filesystem</th> |
314 |
+ <th>Description</th> |
315 |
+</tr> |
316 |
+<tr> |
317 |
+ <ti><path>/dev/hda1</path></ti> |
318 |
+ <ti>800k</ti> |
319 |
+ <ti>None</ti> |
320 |
+ <ti>PReP Boot Partition (Type 0x41)</ti> |
321 |
+</tr> |
322 |
+<tr> |
323 |
+ <ti><path>/dev/hda2</path></ti> |
324 |
+ <ti>512Mb</ti> |
325 |
+ <ti>Swap</ti> |
326 |
+ <ti>Linux Swap (Type 0x82)</ti> |
327 |
+</tr> |
328 |
+<tr> |
329 |
+ <ti><path>/dev/hda3</path></ti> |
330 |
+ <ti>Rest of Disk</ti> |
331 |
+ <ti>ext3, reiserfs, xfs</ti> |
332 |
+ <ti>Linux Root (Type 0x83)</ti> |
333 |
+</tr> |
334 |
+</table> |
335 |
|
336 |
<warn> |
337 |
-<c>parted</c> is able to resize partitions including HFS+. Unfortunately it is |
338 |
-not possible to resize HFS+ journaled filesystems, so switch off journaling in |
339 |
-Mac OS X before resizing. Remember that any resizing operation is dangerous, |
340 |
-so attempt at your own risk! Be sure to always have a backup of your data |
341 |
-before resizing! |
342 |
+<c>parted</c> is able to resize partitions including HFS+. Unfortunately there |
343 |
+may be issues with resizing HFS+ journaled filesystems, so, for the best |
344 |
+results, switch off journaling in Mac OS X before resizing. Remember that any |
345 |
+resizing operation is dangerous, so attempt at your own risk! Be sure to always |
346 |
+have a backup of your data before resizing! |
347 |
</warn> |
348 |
|
349 |
<p> |
350 |
@@ -173,13 +312,13 @@ |
351 |
if you have lots of users, you will most likely want to have your |
352 |
<path>/home</path> separate as it increases security and makes backups easier. |
353 |
If you are installing Gentoo to perform as a mailserver, your <path>/var</path> |
354 |
-should be separate as all mails are stored inside <path>/var</path>. A good |
355 |
-choice of filesystem will then maximise your performance. Gameservers will have |
356 |
-a separate <path>/opt</path> as most gaming servers are installed there. The |
357 |
-reason is similar for <path>/home</path>: security and backups. You will |
358 |
-definitely want to keep <path>/usr</path> big: not only will it contain the |
359 |
-majority of applications, the Portage tree alone takes around 500 Mbyte |
360 |
-excluding the various sources that are stored in it. |
361 |
+should be separate as all received mail is stored in <path>/var</path>. A good |
362 |
+choice of filesystem will then maximise your performance. Game servers should |
363 |
+have a separate <path>/opt</path> as most game servers are installed there. The |
364 |
+reason is similar for <path>/home</path>: security and backups. Whatever layout |
365 |
+you chose, you will definitely want to keep <path>/usr</path> large: not only |
366 |
+will it contain the majority of applications, the Portage tree alone takes |
367 |
+more than 500Mb excluding the various sources that are stored in it. |
368 |
</p> |
369 |
|
370 |
<p> |
371 |
@@ -229,10 +368,13 @@ |
372 |
</pre> |
373 |
|
374 |
<p> |
375 |
-First delete the partitions you have cleared previously to make room for your |
376 |
-Linux partitions. Use <c>d</c> in <c>mac-fdisk</c> to delete those partition(s). |
377 |
-It will ask for the partition number to delete. Usually the first partition on |
378 |
-NewWorld machines (Apple_partition_map) could not be deleted. |
379 |
+If you used Apple's Disk Utility to leave space for Linux, first delete the |
380 |
+partitions you have created previously to make room for your new install. Use |
381 |
+<c>d</c> in <c>mac-fdisk</c> to delete those partition(s). It will ask for the |
382 |
+partition number to delete. Usually the first partition on NewWorld machines |
383 |
+(Apple_partition_map) could not be deleted. If you would like to start with a |
384 |
+clean disk, you can simply initialize the disk by pressing <c>i</c>. This |
385 |
+will completely erase the disk, so use this with caution. |
386 |
</p> |
387 |
|
388 |
<p> |
389 |
@@ -252,15 +394,15 @@ |
390 |
ask for what block you want to start this partition from. As we used <c>2</c> |
391 |
before to create the Apple_Bootstrap partition, you now have to enter |
392 |
<c>3p</c>. When you're asked for the size, enter <c>512M</c> (or whatever size |
393 |
-you want -- 512MB is recommended though). When asked for a name, enter <c>swap</c> |
394 |
-(mandatory). |
395 |
+you want -- a minimum of 512MB is recommended, but 2 times your physical memory |
396 |
+is the generally accepted size). When asked for a name, enter <c>swap</c>. |
397 |
</p> |
398 |
|
399 |
<p> |
400 |
To create the root partition, enter <c>c</c>, followed by <c>4p</c> to select |
401 |
from what block the root partition should start. When asked for the size, enter |
402 |
<c>4p</c> again. <c>mac-fdisk</c> will interpret this as "Use all available |
403 |
-space". When asked for the name, enter <c>root</c> (mandatory). |
404 |
+space". When asked for the name, enter <c>root</c>. |
405 |
</p> |
406 |
|
407 |
<p> |
408 |
@@ -269,7 +411,7 @@ |
409 |
</p> |
410 |
|
411 |
<note> |
412 |
-To make sure everything is ok, you should run mac-fdisk once more and check |
413 |
+To make sure everything is ok, you should run <c>mac-fdisk -l</c> and check |
414 |
whether all the partitions are there. If you don't see any of the partitions |
415 |
you created, or the changes you made, you should reinitialize your partitions |
416 |
by pressing "i" in mac-fdisk. Note that this will recreate the partition map |
417 |
@@ -277,14 +419,14 @@ |
418 |
</note> |
419 |
|
420 |
<p> |
421 |
-Now that your partitions are created, you can continue with <uri |
422 |
-link="#filesystems">Creating Filesystems</uri>. |
423 |
+Now that your partitions are created, you can continue with |
424 |
+<uri link="#filesystems">Creating Filesystems</uri>. |
425 |
</p> |
426 |
|
427 |
</body> |
428 |
</section> |
429 |
<section id="parted"> |
430 |
-<title>Using parted (especially Pegasos) to Partition your Disk</title> |
431 |
+<title>Using parted to Partition your Disk (Pegasos and RS/6000)</title> |
432 |
<body> |
433 |
|
434 |
<p> |
435 |
@@ -303,7 +445,7 @@ |
436 |
</pre> |
437 |
|
438 |
<p> |
439 |
-If the drive is unpartitioned, run <c>mklabel amiga</c> to create a new |
440 |
+If the drive is unpartitioned, run <c>mklabel amiga</c> to create a new |
441 |
disklabel for the drive. |
442 |
</p> |
443 |
|
444 |
@@ -315,42 +457,33 @@ |
445 |
|
446 |
<p> |
447 |
If you intend to also install MorphOS on your Pegasos create an affs1 filesystem |
448 |
-named "BI0" (BI zero) at the start of the drive. 32MB should be more than enough |
449 |
-to store the MorphOS kernel. If you have a Pegasos I or intend to use reiserfs or |
450 |
-xfs, you will also have to store your Linux kernel on this partition (the |
451 |
-Pegasos II can only boot from ext2/ext3 or affs1 partitions). To create the partition run |
452 |
-<c>mkpart primary affs1 START END</c> where <c>START</c> and <c>END</c> should |
453 |
-be replaced with the megabyte range (e.g. <c>0 32</c> creates a 32 MB partition |
454 |
-starting at 0MB and ending at 32MB. |
455 |
+at the start of the drive. 32MB should be more than enough to store the MorphOS |
456 |
+kernel. If you have a Pegasos I or intend to use any filesystem besides ext2 or |
457 |
+ext3, you will also have to store your Linux kernel on this partition (the |
458 |
+Pegasos II can only boot from ext2/ext3 or affs1 partitions). To create the |
459 |
+partition run <c>mkpart primary affs1 START END</c> where <c>START</c> and |
460 |
+<c>END</c> should be replaced with the megabyte range (e.g. <c>0 32</c> which |
461 |
+creates a 32 MB partition starting at 0MB and ending at 32MB. If you chose to |
462 |
+create an ext2 or ext3 partition instead, substitute ext2 or ext3 for affs1 in |
463 |
+the mkpart command. |
464 |
</p> |
465 |
|
466 |
<p> |
467 |
-You need to create two partitions for Linux, one root filesystem for all your |
468 |
-program files etc, and one swap partition. To create the root filesystem you |
469 |
-must first decide which filesystem to use. Possible options are ext2, ext3, |
470 |
-reiserfs and xfs. Unless you know what you are doing, use ext3. Run |
471 |
-<c>mkpart primary ext3 START END</c> to create an ext3 partition. Again, replace |
472 |
-<c>START</c> and <c>END</c> with the megabyte start and stop marks for the |
473 |
-partition. |
474 |
+You will need to create two partitions for Linux, one root filesystem and one |
475 |
+swap partition. Run <c>mkpart primary START END</c> to create each partition, |
476 |
+replacing <c>START</c> and <c>END</c> with the desired megabyte boundries. |
477 |
</p> |
478 |
|
479 |
<p> |
480 |
-It is generally recommended that you create a swap partition the same size as |
481 |
-the amount of RAM in your computer times two. You will probably get away with a |
482 |
-smaller swap partition unless you intend to run a lot of applications at the |
483 |
-same time (although at least 512MB is recommended). To create the swap |
484 |
-partition, run <c>mkpart primary linux-swap START END</c>. |
485 |
+It is generally recommended that you create a swap partition that is two times |
486 |
+bigger than the amount of RAM in your computer, but at least 512Mb is |
487 |
+recommended. To create the swap partition, run |
488 |
+<c>mkpart primary linux-swap START END</c> with START and END again denoting |
489 |
+the partition boundries. |
490 |
</p> |
491 |
|
492 |
<p> |
493 |
-Write down the partition minor numbers as they are required during the |
494 |
-installation process. To display the minor numbers run <c>print</c>. Your drives |
495 |
-are accessed as <path>/dev/hdaX</path> where X is replaced with the minor number |
496 |
-of the partition. |
497 |
-</p> |
498 |
- |
499 |
-<p> |
500 |
-When you are done in parted simply run <c>quit</c>. |
501 |
+When you are done in parted simply type <c>quit</c>. |
502 |
</p> |
503 |
|
504 |
</body> |
505 |
@@ -363,10 +496,10 @@ |
506 |
|
507 |
<p> |
508 |
Now that your partitions are created, it is time to place a filesystem on them. |
509 |
-If you don't care about what filesystem to choose and are happy with what we use |
510 |
-as default in this handbook, continue with <uri |
511 |
- link="#filesystems-apply">Applying a Filesystem to a Partition</uri>. |
512 |
-Otherwise read on to learn about the available filesystems... |
513 |
+If you're not sure which filesystems to choose and are happy with our defaults, |
514 |
+continue with |
515 |
+<uri link="#filesystems-apply">Applying a Filesystem to a Partition</uri>. |
516 |
+Otherwise, read on to learn about the available filesystems. |
517 |
</p> |
518 |
|
519 |
</body> |
520 |
@@ -376,18 +509,16 @@ |
521 |
<body> |
522 |
|
523 |
<p> |
524 |
-Several filesystems are available. ext2, ext3, ReiserFS and XFS have been found |
525 |
-stable on the PPC architecture. |
526 |
+Several filesystems are available for use on the PowerPC architecture including |
527 |
+ext2, ext3, ReiserFS and XFS, each with their strengths and faults. |
528 |
</p> |
529 |
|
530 |
<p> |
531 |
<b>ext2</b> is the tried and true Linux filesystem but doesn't have metadata |
532 |
journaling, which means that routine ext2 filesystem checks at startup time can |
533 |
-be quite time-consuming. There is now quite a selection of newer-generation |
534 |
-journaled filesystems that can be checked for consistency very quickly and are |
535 |
-thus generally preferred over their non-journaled counterparts. Journaled |
536 |
-filesystems prevent long delays when you boot your system and your filesystem |
537 |
-happens to be in an inconsistent state. |
538 |
+be quite time-consuming. There is now quite a selection of journaled |
539 |
+filesystems that can be checked for consistency very quickly and are thus |
540 |
+generally preferred over their non-journaled counterparts. |
541 |
</p> |
542 |
|
543 |
<p> |
544 |
@@ -395,7 +526,7 @@ |
545 |
journaling for fast recovery in addition to other enhanced journaling modes |
546 |
like full data and ordered data journaling. It uses a hashed B*-tree index that |
547 |
enables high performance in almost all situations. In short, ext3 is a very |
548 |
-good and reliable filesystem. |
549 |
+good and reliable filesystem and is highly recommended for most installs. |
550 |
</p> |
551 |
|
552 |
<p> |
553 |
@@ -428,7 +559,7 @@ |
554 |
<c>mkswap</c> is the command that is used to initialize swap partitions: |
555 |
</p> |
556 |
|
557 |
-<pre caption="Creating a Swap signature"> |
558 |
+<pre caption="Creating a swap signature"> |
559 |
# <i>mkswap /dev/hda3</i> |
560 |
</pre> |
561 |
|
562 |
@@ -446,7 +577,6 @@ |
563 |
|
564 |
</body> |
565 |
</subsection> |
566 |
- |
567 |
<subsection id="filesystems-apply"> |
568 |
<title>Applying a Filesystem to a Partition</title> |
569 |
<body> |
570 |
@@ -480,8 +610,8 @@ |
571 |
</table> |
572 |
|
573 |
<p> |
574 |
-For instance, to have the root partition (<path>/dev/hda4</path> in our example) |
575 |
-in ext3 (as in our example), you would use: |
576 |
+For instance, to make an ext3 filesystem on the root partition |
577 |
+(<path>/dev/hda4</path> in our example), you would use: |
578 |
</p> |
579 |
|
580 |
<pre caption="Applying a filesystem on a partition"> |
581 |
@@ -494,7 +624,7 @@ |
582 |
</p> |
583 |
|
584 |
<note> |
585 |
-On the PegasosII your partition which holds the kernel must be ext2/ext3 or |
586 |
+On the PegasosII your partition which holds the kernel must be ext2, ext3 or |
587 |
affs1. NewWorld machines can boot from any of ext2, ext3, XFS, ReiserFS or |
588 |
even HFS/HFS+ filesystems. On OldWorld machines booting with BootX, the kernel |
589 |
must be placed on an HFS partition, but this will be completed when you |
590 |
@@ -520,17 +650,11 @@ |
591 |
|
592 |
<note> |
593 |
If you want your <path>/tmp</path> to reside on a separate partition, be sure to |
594 |
-change its permissions after mounting: <c>chmod 1777 /mnt/gentoo/tmp</c>. This |
595 |
-also holds for <path>/var/tmp</path>. |
596 |
+change its permissions after mounting and unpacking with |
597 |
+<c>chmod 1777 /mnt/gentoo/tmp</c>. This is also true for <path>/var/tmp</path>. |
598 |
</note> |
599 |
|
600 |
<p> |
601 |
-We will have to mount the proc filesystem (a virtual interface with the |
602 |
-kernel) on <path>/proc</path>. But first we will need to place our files on the |
603 |
-partitions. |
604 |
-</p> |
605 |
- |
606 |
-<p> |
607 |
Continue with <uri link="?part=1&chap=5">Installing the Gentoo |
608 |
Installation Files</uri>. |
609 |
</p> |
610 |
|
611 |
|
612 |
|
613 |
-- |
614 |
gentoo-doc-cvs@g.o mailing list |