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.
LFS=/mnt/lfs
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

Last Updated on September 4, 2006 by SK

Leave a Reply

Your email address will not be published. Required fields are marked *