mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-31 19:32:03 +00:00
19 lines
497 B
Plaintext
19 lines
497 B
Plaintext
|
<sect1 id="ch04-creatingfs">
|
||
|
<title>Creating a ext2 file system on the new partition</title>
|
||
|
|
||
|
<para>
|
||
|
Once the partition is created, we have to create a new ext2 file system on
|
||
|
that partition. To create a new ext2 file system we use the mke2fs command.
|
||
|
Enter the new partition as the only option and the file system will be
|
||
|
created. If your partition is hda11, you would run:
|
||
|
</para>
|
||
|
|
||
|
<blockquote><literallayout>
|
||
|
|
||
|
<userinput>mke2fs /dev/hda11</userinput>
|
||
|
|
||
|
</literallayout></blockquote>
|
||
|
|
||
|
</sect1>
|
||
|
|