diff --git a/chapter02/aboutlfs.xml b/chapter02/aboutlfs.xml index 0d5a5281b..41b50a2a0 100644 --- a/chapter02/aboutlfs.xml +++ b/chapter02/aboutlfs.xml @@ -52,17 +52,17 @@ LFS variable needs to be bash to ensure that the /root/.bash_profile file is incorporated as a part of the login process. - + Another consideration is the method that is used to log into the host system. If logging in through a graphical display manager, the user's .bash_profile is not normally used when a virtual terminal is started. In this case, add the export command to the .bashrc file for the user and - root. In addition, - some distributions have instructions to not run the .bashrc + root. In addition, + some distributions have instructions to not run the .bashrc instructions in a non-interactive bash invocation. Be sure to add the export command before the test for non-interactive use. - + diff --git a/chapter02/creatingfilesystem.xml b/chapter02/creatingfilesystem.xml index f01b745e9..12529ce8c 100644 --- a/chapter02/creatingfilesystem.xml +++ b/chapter02/creatingfilesystem.xml @@ -11,9 +11,9 @@ Creating a File System on the Partition Now that a blank partition has been set up, the file system can be - created. LFS can use any file system recognized by the Linux kernel, but the - most common types are ext3 and ext4. The choice of file system can be - complex and depends on the characteristics of the files and the size of + created. LFS can use any file system recognized by the Linux kernel, but the + most common types are ext3 and ext4. The choice of file system can be + complex and depends on the characteristics of the files and the size of the partition. For example: @@ -26,7 +26,7 @@ ext3 is an upgrade to ext2 that includes a journal - to help recover the partition's status in the case of an unclean + to help recover the partition's status in the case of an unclean shutdown. It is commonly used as a general purpose file system. diff --git a/chapter02/creatingpartition.xml b/chapter02/creatingpartition.xml index efca7ea1c..ac496bbae 100644 --- a/chapter02/creatingpartition.xml +++ b/chapter02/creatingpartition.xml @@ -37,7 +37,7 @@ Start a disk partitioning program such as cfdisk or fdisk with a command line option naming the hard disk on which the new partition will be created—for example - /dev/sda for the primary + /dev/sda for the primary disk drive. Create a Linux native partition and a swap partition, if needed. Please refer to cfdisk(8) or fdisk(8) if @@ -88,7 +88,7 @@ swapping. If you want to use the hibernation feature (suspend-to-disk) of Linux, - it writes out the contents of RAM to the swap partition before turning off + it writes out the contents of RAM to the swap partition before turning off the machine. In this case the size of the swap partition should be at least as large as the system's installed RAM. @@ -114,8 +114,8 @@ fdisk or have a code of EF02 if using gdisk. - The Grub Bios partition must be on the drive that the BIOS - uses to boot the system. This is not necessarily the same drive where the + The Grub Bios partition must be on the drive that the BIOS + uses to boot the system. This is not necessarily the same drive where the LFS root partition is located. Disks on a system may use different partition table types. The requirement for this partition depends only on the partition table type of the boot disk. diff --git a/chapter02/hostreqs.xml b/chapter02/hostreqs.xml index e513bd92d..dc3073b33 100644 --- a/chapter02/hostreqs.xml +++ b/chapter02/hostreqs.xml @@ -150,8 +150,8 @@ - @@ -177,7 +177,7 @@ if [ -h /usr/bin/yacc ]; then elif [ -x /usr/bin/yacc ]; then echo yacc is `/usr/bin/yacc --version | head -n1` else - echo "yacc not found" + echo "yacc not found" fi bzip2 --version 2>&1 < /dev/null | head -n1 | cut -d" " -f1,6- @@ -190,8 +190,8 @@ if [ -h /usr/bin/awk ]; then echo "/usr/bin/awk -> `readlink -f /usr/bin/awk`"; elif [ -x /usr/bin/awk ]; then echo awk is `/usr/bin/awk --version | head -n1` -else - echo "awk not found" +else + echo "awk not found" fi gcc --version | head -n1 diff --git a/chapter02/introduction.xml b/chapter02/introduction.xml index 8dad0ceb8..bddcfec61 100644 --- a/chapter02/introduction.xml +++ b/chapter02/introduction.xml @@ -11,8 +11,8 @@ Introduction In this chapter, the host tools needed for building LFS - are checked and, if necessary, installed. Then a partition which will - host the LFS system is prepared. We will create the partition + are checked and, if necessary, installed. Then a partition which will + host the LFS system is prepared. We will create the partition itself, create a file system on it, and mount it. diff --git a/chapter02/mounting.xml b/chapter02/mounting.xml index 45f222485..a4408c94f 100644 --- a/chapter02/mounting.xml +++ b/chapter02/mounting.xml @@ -47,8 +47,8 @@ mount -v -t ext4 /dev/<yyy> $LFS/homeThe above instructions assume that you will not be restarting your computer throughout the LFS process. If you shut down your system, - you will either need to remount the LFS partition each time you restart - the build process or modify your host system's /etc/fstab file to automatically + you will either need to remount the LFS partition each time you restart + the build process or modify your host system's /etc/fstab file to automatically remount it upon boot. For example: /dev/<xxx> /mnt/lfs ext4 defaults 1 1 diff --git a/chapter02/stages.xml b/chapter02/stages.xml index b15b9446e..a873370b2 100644 --- a/chapter02/stages.xml +++ b/chapter02/stages.xml @@ -22,7 +22,7 @@ These chapters are accomplished on the host system. When restarting, be careful of the following: - + Procedures done as the @@ -32,7 +32,7 @@ - + Chapter 5–6 @@ -85,8 +85,8 @@ The virtual file systems must be mounted. This can be done before or after entering chroot by changing to a host virtual terminal and, as root, running the - commands in - and + commands in + and .