| … | |
… | |
| 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-ppc64-disk.xml,v 1.10 2004/11/20 22:23:30 neysx Exp $ --> |
7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc64-disk.xml,v 1.11 2004/11/21 14:19:05 neysx Exp $ --> |
| 8 | |
8 | |
| 9 | <sections> |
9 | <sections> |
| 10 | |
10 | |
| 11 | <version>1.7</version> |
11 | <version>1.8</version> |
| 12 | <date>2004-11-02</date> |
12 | <date>2004-11-21</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> |
| … | |
… | |
| 302 | Disk /dev/sda: 30.7 GB, 30750031872 bytes |
302 | Disk /dev/sda: 30.7 GB, 30750031872 bytes |
| 303 | 141 heads, 63 sectors/track, 6761 cylinders |
303 | 141 heads, 63 sectors/track, 6761 cylinders |
| 304 | Units = cylinders of 8883 * 512 = 4548096 bytes |
304 | Units = cylinders of 8883 * 512 = 4548096 bytes |
| 305 | |
305 | |
| 306 | Device Boot Start End Blocks Id System |
306 | Device Boot Start End Blocks Id System |
| 307 | /dev/hdb1 1 12 53266+ 83 Linux |
307 | /dev/sda1 1 12 53266+ 83 Linux |
| 308 | /dev/hdb2 13 233 981571+ 82 Linux swap |
308 | /dev/sda2 13 233 981571+ 82 Linux swap |
| 309 | /dev/hdb3 234 674 1958701+ 83 Linux |
309 | /dev/sda3 234 674 1958701+ 83 Linux |
| 310 | /dev/hdb4 675 6761 27035410+ 5 Extended |
310 | /dev/sda4 675 6761 27035410+ 5 Extended |
| 311 | /dev/hdb5 675 2874 9771268+ 83 Linux |
311 | /dev/sda5 675 2874 9771268+ 83 Linux |
| 312 | /dev/hdb6 2875 2919 199836 83 Linux |
312 | /dev/sda6 2875 2919 199836 83 Linux |
| 313 | /dev/hdb7 2920 3008 395262 83 Linux |
313 | /dev/sda7 2920 3008 395262 83 Linux |
| 314 | /dev/hdb8 3009 6761 16668918 83 Linux |
314 | /dev/sda8 3009 6761 16668918 83 Linux |
| 315 | |
315 | |
| 316 | Command (m for help): |
316 | Command (m for help): |
| 317 | </pre> |
317 | </pre> |
| 318 | |
318 | |
| 319 | <p> |
319 | <p> |
| 320 | This particular disk is configured to house seven Linux filesystems |
320 | This particular disk is configured to house six Linux filesystems |
| 321 | (each with a corresponding partition listed as "Linux") as well as a |
321 | (each with a corresponding partition listed as "Linux") as well as a |
| 322 | swap partition (listed as "Linux swap"). |
322 | swap partition (listed as "Linux swap"). |
| 323 | </p> |
323 | </p> |
| 324 | |
324 | |
| 325 | </body> |
325 | </body> |
| … | |
… | |
| 332 | We will first remove all existing partitions from the disk. Type |
332 | We will first remove all existing partitions from the disk. Type |
| 333 | <c>d</c> to delete a partition. For instance, to delete an existing |
333 | <c>d</c> to delete a partition. For instance, to delete an existing |
| 334 | <path>/dev/sda1</path>: |
334 | <path>/dev/sda1</path>: |
| 335 | </p> |
335 | </p> |
| 336 | |
336 | |
|
|
337 | <note> |
| 337 | <note>If you don't want to delete all partitions just delete those you |
338 | If you don't want to delete all partitions just delete those you |
| 338 | want to delete. At this point the author recommends a backup of your |
339 | want to delete. At this point the author recommends a backup of your |
| 339 | data to avoid the lose of it. |
340 | data to avoid the lose of it. |
| 340 | </note> |
341 | </note> |
| 341 | |
342 | |
| 342 | <pre caption="Deleting a partition"> |
343 | <pre caption="Deleting a partition"> |
| … | |
… | |
| 436 | Disk /dev/sda: 30.7 GB, 30750031872 bytes |
437 | Disk /dev/sda: 30.7 GB, 30750031872 bytes |
| 437 | 141 heads, 63 sectors/track, 6761 cylinders |
438 | 141 heads, 63 sectors/track, 6761 cylinders |
| 438 | Units = cylinders of 8883 * 512 = 4548096 bytes |
439 | Units = cylinders of 8883 * 512 = 4548096 bytes |
| 439 | |
440 | |
| 440 | Device Boot Start End Blocks Id System |
441 | Device Boot Start End Blocks Id System |
| 441 | /dev/hdb1 1 3 13293 41 PPC PReP Boot |
442 | /dev/sda1 1 3 13293 41 PPC PReP Boot |
| 442 | |
443 | |
| 443 | Command (m for help): |
444 | Command (m for help): |
| 444 | </pre> |
445 | </pre> |
| 445 | </body> |
446 | </body> |
| 446 | </subsection> |
447 | </subsection> |
| … | |
… | |
| 467 | Disk /dev/sda: 30.7 GB, 30750031872 bytes |
468 | Disk /dev/sda: 30.7 GB, 30750031872 bytes |
| 468 | 141 heads, 63 sectors/track, 6761 cylinders |
469 | 141 heads, 63 sectors/track, 6761 cylinders |
| 469 | Units = cylinders of 8883 * 512 = 4548096 bytes |
470 | Units = cylinders of 8883 * 512 = 4548096 bytes |
| 470 | |
471 | |
| 471 | Device Boot Start End Blocks Id System |
472 | Device Boot Start End Blocks Id System |
| 472 | /dev/hdb1 1 3 13293 41 PPC PReP Boot |
473 | /dev/sda1 1 3 13293 41 PPC PReP Boot |
| 473 | /dev/hdb2 4 117 506331 82 Linux swap |
474 | /dev/sda2 4 117 506331 82 Linux swap |
| 474 | |
475 | |
| 475 | Command (m for help): |
476 | Command (m for help): |
| 476 | </pre> |
477 | </pre> |
| 477 | |
478 | |
| 478 | </body> |
479 | </body> |
| … | |
… | |
| 498 | Disk /dev/sda: 30.7 GB, 30750031872 bytes |
499 | Disk /dev/sda: 30.7 GB, 30750031872 bytes |
| 499 | 141 heads, 63 sectors/track, 6761 cylinders |
500 | 141 heads, 63 sectors/track, 6761 cylinders |
| 500 | Units = cylinders of 8883 * 512 = 4548096 bytes |
501 | Units = cylinders of 8883 * 512 = 4548096 bytes |
| 501 | |
502 | |
| 502 | Device Boot Start End Blocks Id System |
503 | Device Boot Start End Blocks Id System |
| 503 | /dev/hdb1 1 3 13293 41 PPC PReP Boot |
504 | /dev/sda1 1 3 13293 41 PPC PReP Boot |
| 504 | /dev/hdb2 4 117 506331 82 Linux swap |
505 | /dev/sda2 4 117 506331 82 Linux swap |
| 505 | /dev/hdb3 118 6761 29509326 83 Linux |
506 | /dev/sda3 118 6761 29509326 83 Linux |
| 506 | |
507 | |
| 507 | Command (m for help): |
508 | Command (m for help): |
| 508 | </pre> |
509 | </pre> |
| 509 | </body> |
510 | </body> |
| 510 | </subsection> |
511 | </subsection> |
| … | |
… | |
| 521 | </pre> |
522 | </pre> |
| 522 | |
523 | |
| 523 | <p> |
524 | <p> |
| 524 | Now that your partitions are created, you can now continue with <uri |
525 | Now that your partitions are created, you can now continue with <uri |
| 525 | link="#filesystems">Creating Filesystems</uri>. |
526 | link="#filesystems">Creating Filesystems</uri>. |
|
|
527 | </p> |
|
|
528 | |
|
|
529 | </body> |
|
|
530 | </subsection> |
|
|
531 | </section> |
|
|
532 | <section id="filesystems"> |
|
|
533 | <title>Creating Filesystems</title> |
|
|
534 | <subsection> |
|
|
535 | <title>Introduction</title> |
|
|
536 | <body> |
|
|
537 | |
|
|
538 | <p> |
|
|
539 | Now that your partitions are created, it is time to place a filesystem on them. |
|
|
540 | If you don't care about what filesystem to choose and are happy with what we use |
|
|
541 | as default in this handbook, continue with <uri |
|
|
542 | link="#filesystems-apply">Applying a Filesystem to a Partition</uri>. |
|
|
543 | Otherwise read on to learn about the available filesystems... |
| 526 | </p> |
544 | </p> |
| 527 | |
545 | |
| 528 | </body> |
546 | </body> |
| 529 | </subsection> |
547 | </subsection> |
| 530 | <subsection> |
548 | <subsection> |