Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Blogs > threekgtvr4
User Name


Rate this Entry

Linux From Scratch (LFS) for Linux newbies... First things first

Posted 05-01-2006 at 08:22 PM by threekgtvr4

If you plan to build a LFS system, I recommend using the LFS LiveCD. And why not? It was developed to build a LFS system specifically. The live CD comes with everything you need to build your LFS system, including the book which you need to follow in order to build it and all packages and patches necessary. A live CD also gives you the ability to use a completely blank hard drive for your installation and I don't think you can actually screw up a live CD like you can an installed distribution (someone please correct me if I'm wrong). A live CD also lets you see if your system is compatible with Linux itself, since not all computer hardware is supported under the Linux kernels yet (again, please correct me if my terminolgy or what not is incorrect).

Of course, I am a little biased towards the LFS LiveCD as that is the only Linux I have any experience with. In ~3 weeks, I've learned a lot from the LQ site/community. I've learned how to partition a hard drive using fdisk, how to create a text file using ViM, how to mount (access) a Windows FAT32 partition and view the contents of what is on that partition (or "drive" for those used to Windows, the Windows partition is usually C:), how to create, copy, move and delete directories and there are some other things I've learned and can't quite remember right now. I suggest that before you start building a LFS system that you learn at least that much by playing around with a live CD. Another good thing to do is to go to and read the documents there thoroughly before starting playing around with Linux. Those documents will give you a much better understanding of how Linux operates.

I have to do a little bragging right now, just to let you know why I felt like I could go ahead with doing this so soon after learning the fundamentals of Linux. I have an uncanny knack in learning new things. Especially if it's something I really want to do. I learned Command Line Interface (CLI) in DOS. The CLI's between DOS and Linux are very different. I won't go into the differences in this "tutorial". That's for a totally different "tutorial". But knowing how to use a CLI is helpful in learning Linux as it's suppose to be the best way in running an OS. So to make my long story short, I learn rather quickly if I apply myself even if I'm not doing, but learn three times as fast if I apply myself and do what I'm learning at the same time. There are a lot of headaches involved, but at least I won't make the same mistake twice (knock on wood, lol).

So, to get started in building your LFS, first get the LFS Live CD. That link takes you to the Live CD page(s) of You may have to surf to the second page as you are looking for something that says "LFS Live CD 6.1-1" or "LFS Live CD 6.1-3". I got the 6.1-3 version. I think the total cost to have the CD shipped to the US was $6. Or, if you have the connection speed and know how to burn ISO images (you can find tutorials for doing that here on the LQ site) you can download the latest LFS Live CD from the LFS site here. Be warned, it is an ~400MB download.

Another thing you will need, if you are building LFS from the LFS Live CD, is How to build a LFS 6.1 system using the LFS Live CD as your host OS. This is a "hint" (guide) to building LFS using the LFS Live CD. It is a very useful tool if building LFS using the CD, as it gives tips and some scripts that you will need (if you don't want to type the same thing 40 different times should you need to reboot during install). Just make sure you follow them. Or you can just watch this blog (and eventually the full tutorial on my site, as it will go step by step (possibly with a helpful "half-rewrite" of the full LFS book) into building a LFS system for those wishing to do this with no knowledge of Linux.

That is all for this entry, stay tuned as I update throughout my build.

Posted in Uncategorized
Views 12675 Comments 0
« Prev     Main     Next »


All times are GMT -5. The time now is 05:48 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration