Changeset 0c396df
- Timestamp:
- 04/14/2001 01:10:15 AM (23 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, v3_0, v3_1, v3_2, v3_3, v4_0, v4_1, v5_0, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- d291b1e
- Parents:
- b4a4650
- Location:
- chapter03
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter03/creatingfs.xml
rb4a4650 r0c396df 4 4 <para> 5 5 Once the partition is created, we have to create a new file system on 6 that partition. To create an ext2 file system, use the mke2fs command. 7 To create a reiser file system, the mkreiserfs command should be used. 8 The new partition is used as the only option to the command and the file 9 system is created. If the partition is hda11 and ext2 is to be created, 10 run the following: 6 that partition. The standard file system used these days is the ext2 7 file system, but the socalled journaling file systems are becoming 8 increasingly popular too. It's of course up to you to decide which file 9 system you want to create, but because we have to assume and work with 10 something, we will assume you chose the ext2 file system. 11 </para> 12 13 To create an ext2 file system, use the mke2fs command. The LFS partition 14 is used as the only option to the command and the file system is created. 11 15 </para> 12 16 … … 18 22 19 23 <para> 20 To create a reiser file system, run the following:21 </para>22 23 <blockquote><literallayout>24 25 <userinput>mkreiserfs /dev/xxx</userinput>26 27 </literallayout></blockquote>28 29 <para>30 24 Replace "xxx" by the partition's designation (like hda11). 31 25 </para> -
chapter03/creatingpart.xml
rb4a4650 r0c396df 14 14 15 15 <para> 16 The cfdisk program (or another fdisk like program the user prefers) is16 The cfdisk program (or another fdisk like program you prefer)) is 17 17 started with the appropriate hard disk as the option (like /dev/hda if a 18 18 new partition is to be created on the primary master IDE disk). It is used 19 19 to create a Linux Native partition, write the partition table and exit the 20 cfdisk program. The new partition's designation should be remembered. It 21 could be something like hda11 (as it is in my case). This newly created 22 partition will be referred to as the LFS partition in this book. 20 cfdisk program. Please refer to the documentation that comes with your 21 fdisk program of choice (the man pages are often a good place to start) 22 and read the procedures about how to create a new Linux native 23 partition and how to write the partition table. 24 </para> 25 26 <para> 27 The new partition's designation should be remembered. It 28 could be something like hda11. This newly created partition will be 29 referred to as the LFS partition in this book. 23 30 </para> 24 31 -
chapter03/introduction.xml
rb4a4650 r0c396df 4 4 <para> 5 5 In this chapter, the partition that is going to host the LFS system is 6 going to be prepared. A new partition will be created, a file 7 system will be created on it, and the directory structure will be 8 created. When this is done, we can move on to the next chapter and start 9 building a new Linux system from scratch. 6 going to be prepared. We will be creating the partition itself, a file 7 system and the directory structure. When this is done, we can move on 8 to the next chapter and start the actual building process. 10 9 </para> 11 10 -
chapter03/mounting.xml
rb4a4650 r0c396df 4 4 <para> 5 5 Now that we have created a file system, it is ready for use. All we have 6 to do to be able to access it (as in reading data from and writing data to 7 it) is mount it. If it is mounted under /mnt/lfs, this partition can 8 be accessed by going to the /mnt/lfs directory and then doing whatever 9 needed to do. This book will assume that the partition was mounted 10 under /mnt/lfs. It doesn't matter which directory is chosen, the 11 user just has to make sure that he remembers what he chose. 6 to do to be able to access the partition (as in reading data from and writing 7 data to) is mount it. If it is mounted under /mnt/lfs, this partition can 8 be accessed by cd'ing to the /mnt/lfs directory. This book will assume 9 that the partition was mounted under /mnt/lfs. It doesn't matter which 10 directory is chosen, just make sure you remember what you chose. 12 11 </para> 13 12
Note:
See TracChangeset
for help on using the changeset viewer.