mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 13:37:39 +00:00
2d2898e8b9
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2093 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
21 lines
914 B
XML
21 lines
914 B
XML
<sect1 id="ch04-creatingfs">
|
|
<title>Creating a file system on the new partition</title>
|
|
<?dbhtml filename="creatingfs.html" dir="chapter04"?>
|
|
|
|
<para>Once the partition is created, we have to create a new file system on
|
|
that partition. The standard file system used these days is the ext2 file
|
|
system, but the so-called journaling file systems are becoming increasingly
|
|
popular too. We'll assume that you wish to create an ext2 file system.
|
|
However, build instructions for other file systems may be found at
|
|
<ulink url="http://beyond.linuxfromscratch.org/view/cvs/postlfs/filesystems.html"/>.</para>
|
|
|
|
<para>To create an ext2 file system, use the mke2fs command. The LFS partition
|
|
is used as the only option to the command and the file system is created.</para>
|
|
|
|
<para><screen><userinput>mke2fs /dev/xxx</userinput></screen></para>
|
|
|
|
<para>Replace "xxx" by the partition's designation (like hda11).</para>
|
|
|
|
</sect1>
|
|
|