From 81fd230419b0cfd052b08fc1ed352bb7d49975df Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Sat, 19 Feb 2005 22:16:42 +0000 Subject: Trunk is now identical to Testing git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4648 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter02/creatingfilesystem.xml | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'chapter02/creatingfilesystem.xml') diff --git a/chapter02/creatingfilesystem.xml b/chapter02/creatingfilesystem.xml index 489153e23..f013b9dec 100644 --- a/chapter02/creatingfilesystem.xml +++ b/chapter02/creatingfilesystem.xml @@ -7,6 +7,30 @@ Creating a File System on the Partition -See testing +Now that a blank partition has been set up, the file system can +be created. The most widely-used system in the Linux world is the +second extended file system (ext2), but with the newer high-capacity +hard disks, the journaling file systems are becoming increasingly +popular. Here we will create an ext2 file system, but build +instructions for other file systems can be found at . + +To create an ext2 file system on the LFS partition, run the following: + +mke2fs /dev/[xxx] + +Replace [xxx] with the name of the LFS +partition (hda5 in our previous example). + +If a swap partition was created, it will need to be initialized +as a swap partition too (also known as formatting, as described above +with mke2fs) by running the following. If you are using an existing +swap partition, there is no need to format it. + +mkswap /dev/[yyy] + +Replace [yyy] with the name of the swap +partition. + -- cgit v1.2.3-54-g00ecf