| … | |
… | |
| 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-x86+amd64-disk.xml,v 1.13 2009/01/26 08:04:26 nightmorph Exp $ --> |
7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-disk.xml,v 1.14 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>6.2</version> |
16 | <version>7</version> |
| 17 | <date>2009-01-09</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> |
| … | |
… | |
| 501 | <th>Filesystem</th> |
501 | <th>Filesystem</th> |
| 502 | <th>Creation Command</th> |
502 | <th>Creation Command</th> |
| 503 | </tr> |
503 | </tr> |
| 504 | <tr> |
504 | <tr> |
| 505 | <ti>ext2</ti> |
505 | <ti>ext2</ti> |
| 506 | <ti><c>mke2fs</c></ti> |
506 | <ti><c>mkfs.ext2</c></ti> |
| 507 | </tr> |
507 | </tr> |
| 508 | <tr> |
508 | <tr> |
| 509 | <ti>ext3</ti> |
509 | <ti>ext3</ti> |
| 510 | <ti><c>mke2fs -j</c></ti> |
510 | <ti><c>mkfs.ext3</c></ti> |
| 511 | </tr> |
511 | </tr> |
| 512 | <tr> |
512 | <tr> |
| 513 | <ti>reiserfs</ti> |
513 | <ti>reiserfs</ti> |
| 514 | <ti><c>mkreiserfs</c></ti> |
514 | <ti><c>mkreiserfs</c></ti> |
| 515 | </tr> |
515 | </tr> |
| … | |
… | |
| 528 | example) in ext2 and the root partition (<path>/dev/sda3</path> in our example) |
528 | example) in ext2 and the root partition (<path>/dev/sda3</path> in our example) |
| 529 | in ext3 (as in our example), you would use: |
529 | in ext3 (as in our example), you would use: |
| 530 | </p> |
530 | </p> |
| 531 | |
531 | |
| 532 | <pre caption="Applying a filesystem on a partition"> |
532 | <pre caption="Applying a filesystem on a partition"> |
| 533 | # <i>mke2fs /dev/sda1</i> |
533 | # <i>mkfs.ext2 /dev/sda1</i> |
| 534 | # <i>mke2fs -j /dev/sda3</i> |
534 | # <i>mkfs.ext3 /dev/sda3</i> |
| 535 | </pre> |
535 | </pre> |
| 536 | |
536 | |
| 537 | <p> |
537 | <p> |
| 538 | Now create the filesystems on your newly created partitions (or logical |
538 | Now create the filesystems on your newly created partitions (or logical |
| 539 | volumes). |
539 | volumes). |