| … | |
… | |
| 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-mips-disk.xml,v 1.28 2010/07/27 22:54:33 nightmorph Exp $ --> |
7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-mips-disk.xml,v 1.29 2011/08/22 17:18:23 swift Exp $ --> |
| 8 | |
8 | |
| 9 | <sections> |
9 | <sections> |
| 10 | |
10 | |
| 11 | <abstract> |
11 | <abstract> |
| 12 | To be able to install Gentoo, you must create the necessary partitions. |
12 | To be able to install Gentoo, you must create the necessary partitions. |
| 13 | This chapter describes how to partition a disk for future usage. |
13 | This chapter describes how to partition a disk for future usage. |
| 14 | </abstract> |
14 | </abstract> |
| 15 | |
15 | |
| 16 | <version>4.0</version> |
16 | <version>5</version> |
| 17 | <date>2010-07-27</date> |
17 | <date>2011-08-22</date> |
| 18 | |
18 | |
| 19 | <section> |
19 | <section> |
| 20 | <title>Introduction to Block Devices</title> |
20 | <title>Introduction to Block Devices</title> |
| 21 | |
21 | |
| 22 | <subsection> |
22 | <subsection> |
| … | |
… | |
| 533 | <th>Filesystem</th> |
533 | <th>Filesystem</th> |
| 534 | <th>Creation Command</th> |
534 | <th>Creation Command</th> |
| 535 | </tr> |
535 | </tr> |
| 536 | <tr> |
536 | <tr> |
| 537 | <ti>ext2</ti> |
537 | <ti>ext2</ti> |
| 538 | <ti><c>mke2fs</c></ti> |
538 | <ti><c>mkfs.ext2</c></ti> |
| 539 | </tr> |
539 | </tr> |
| 540 | <tr> |
540 | <tr> |
| 541 | <ti>ext3</ti> |
541 | <ti>ext3</ti> |
| 542 | <ti><c>mke2fs -j</c></ti> |
542 | <ti><c>mkfs.ext3</c></ti> |
| 543 | </tr> |
543 | </tr> |
| 544 | <tr> |
544 | <tr> |
| 545 | <ti>reiserfs</ti> |
545 | <ti>reiserfs</ti> |
| 546 | <ti><c>mkreiserfs</c></ti> |
546 | <ti><c>mkfs.reiserfs</c></ti> |
| 547 | </tr> |
547 | </tr> |
| 548 | <tr> |
548 | <tr> |
| 549 | <ti>xfs</ti> |
549 | <ti>xfs</ti> |
| 550 | <ti><c>mkfs.xfs</c></ti> |
550 | <ti><c>mkfs.xfs</c></ti> |
| 551 | </tr> |
551 | </tr> |
| … | |
… | |
| 560 | example) in ext2 and the root partition (<path>/dev/sda3</path> in our example) |
560 | example) in ext2 and the root partition (<path>/dev/sda3</path> in our example) |
| 561 | in ext3, you would use: |
561 | in ext3, you would use: |
| 562 | </p> |
562 | </p> |
| 563 | |
563 | |
| 564 | <pre caption="Applying a filesystem on a partition"> |
564 | <pre caption="Applying a filesystem on a partition"> |
| 565 | # <i>mke2fs /dev/sda1</i> |
565 | # <i>mkfs.ext2 /dev/sda1</i> |
| 566 | # <i>mke2fs -j /dev/sda3</i> |
566 | # <i>mkfs.ext3 /dev/sda3</i> |
| 567 | </pre> |
567 | </pre> |
| 568 | |
568 | |
| 569 | <p> |
569 | <p> |
| 570 | Now create the filesystems on your newly created partitions (or logical |
570 | Now create the filesystems on your newly created partitions (or logical |
| 571 | volumes). |
571 | volumes). |
| … | |
… | |
| 573 | |
573 | |
| 574 | <warn> |
574 | <warn> |
| 575 | If you're installing on a Cobalt server, remember <path>/dev/sda1</path> MUST |
575 | If you're installing on a Cobalt server, remember <path>/dev/sda1</path> MUST |
| 576 | be of type <e>EXT2 revision 0</e>; Anything else (e.g. EXT2 revision 1, EXT3, |
576 | be of type <e>EXT2 revision 0</e>; Anything else (e.g. EXT2 revision 1, EXT3, |
| 577 | ReiserFS, XFS, JFS and others) <e>WILL NOT WORK!</e> You can format the |
577 | ReiserFS, XFS, JFS and others) <e>WILL NOT WORK!</e> You can format the |
| 578 | partition using the command: <c>mke2fs -r 0 /dev/sda1</c>. |
578 | partition using the command: <c>mkfs.ext2 -r 0 /dev/sda1</c>. |
| 579 | </warn> |
579 | </warn> |
| 580 | |
580 | |
| 581 | </body> |
581 | </body> |
| 582 | </subsection> |
582 | </subsection> |
| 583 | <subsection> |
583 | <subsection> |