Chapter 2: Preparing a New Partition.
Since I used a linux machine with all the drives used up, I didn’t want to create a new partition. I followed the hint mentioned in this document.
1. Created a directory /home/lfs for using as the mount directory.
2. Created a mount point directory /mnt/lfs
3. Add the following two lines to .profile file in the root directory.
mount –bind /home/lfs /mnt/lfs
Chapter 3: Packages and Patches
1.Create a working directory for the downloaded packages and patches with the following command:
#mkdir -v $LFS/sources
2. Make this directory writable and sticky.
#chmod -v a+wt $LFS/sources