Tips to make it easier
Frequently asked questions
If you run across any problems chances are that some one else has had them before. Definitely have a quick read through this page. If you come across a problem you might remember the solution is on this page
http://www.linuxfromscratch.org/lfs/faq.html
Package and Patches Setup
These are the software you will need for your distro.
Setting up the /etc/profile
When setting up this file it asks you to put this code in the file
export LANG=<LL>_<CC>.<charmap><@modifiers>
that is a sample and you should put in something like this
export LANG=<en>_<GB>.<ISO-8859-1><@euro>
Grub Setup
When at the grub stage. It will ask you to setup the root partition. I had my LFS on the partition sda3 so the command I used to setup the partition in grub was:
root (hd0,2)
hd0,0 would of been my host partition which was on sda1.
then I did:
setup (hd0)
Compiling the kernel
When I was compiling my kernel the first time I did not add much to it. When I boot my distro for the first time it did not work. The kernel complained that it did not know what to do with my partition. My partition was a ext3. You might get a error like this: " VFS Unable to mount root fs on unknown-blick(2,0)"

What I had to was make sure I had the right drivers enabled in the kernel. i had to enable these SATA (CONFIG_ATA) or PATA (CONFIG_IDE) drivers and the ext3 (CONFIG_EXT3_FS) drivers. Then my kernel knew what to do when it saw a EXT3 partition.
I had to enable a driver in the kernel so it would recognise the SCSI controller I had on my computer. The controller I had was:
00:10.0 SCSI storage controller: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI
I enabled a Fusion MPT SCSIhost for SPI driver which was under the Fusion MPT Device Support in device driver in the kernel menu. Since I was running this on VMware Player that was the controller that the player provide so had to match that. I do not have that controller on my machine since I have a SATA hard drive.
