From 673b0d84ba9591e07c0bdf0ee49d92eba10f502c Mon Sep 17 00:00:00 2001 From: Matthew Burgess Date: Mon, 3 May 2004 10:59:46 +0000 Subject: * Merged newxml into HEAD git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3435 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter02/creatingfilesystem.xml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 chapter02/creatingfilesystem.xml (limited to 'chapter02/creatingfilesystem.xml') diff --git a/chapter02/creatingfilesystem.xml b/chapter02/creatingfilesystem.xml new file mode 100644 index 000000000..3745679b8 --- /dev/null +++ b/chapter02/creatingfilesystem.xml @@ -0,0 +1,33 @@ + + + %general-entities; +]> + +Creating a file system on the new partition + + +Now that we have a blank partition, we can create a file system on it. +Most widely used in the Linux world is the second extended file system (ext2), +but with the high-capacity hard disks of today the so-called 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 +(something like hda5). + +If you created a (new) swap partition you need to initialize it as a +swap partition too (also known as formatting, like you did above with +mke2fs) by running: + +mkswap /dev/yyy + +Replace yyy with the name of the swap +partition. + + -- cgit v1.2.3-54-g00ecf