Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hi. I've made a few of attempts to build an LFS system now, failing at various points in chapter 5. Despite being almost a complete Linux beginner, I'm eager to learn, and am not completely unfamiliar with the Linux/UNIX-ish way of doing things, being a longtime user of Mac OS X. (Note, I'm not trying to build LFS on the Mac, before anyone asks).
What I'd like to know is this - what is the best distro to build LFS from?
I have copies of Fedora Core 2, Debian 3.0r1, Debian 3.1 (Sarge) beta (from a magazine cover DVD), and Mandrake 9. Although I'd prefer to use a distro I've already got, I'm willing to purchase other ones if they will provide a significant advantage.
Another thing I'm curious about is the best version of GCC to use.
Any help would be much appreciated. Also, please bear in mind that I'm a complete n00b, and the most complex thing I've done on linux so far (besides attempting LFS) is installing NVIDIA drivers on Fedora. Not exactly rocket science. Despite this, I am very determined to learn and get LFS working. Eventually, I plan to use it as my main distro.
Thanks for your reply. The only reason I mentioned GCC was that I wasn't sure if it made a difference which version was already installed in the distro I use to start off. (i.e. which version I already have).
I'm currently putting the finishing touches on my first install of LFS, it's a fantastic way to learn the nitty-gritty of how Linux systems are set up. It may be a good idea for you to first work through a good introductory Linux book (the online manuals supplied by Redhat and/or Mandrake come to mind, or a good SAMS/QUE text book), so that you can get a good feel for finding your way around and for important things in the LFS process that are taken for granted such as compiling and installing new software - this comes in handy when you are trying to work out in LFS WHERE you are meant to be in the filesystem (i.e. in which directory), because IMHO this is pretty much assumed knowledge in the book. E.g. the difference between ./ and ../ No problem for old hands and third year apprentices but maybe a bit confusing for first-timers...
Anyway, spend a little bit of time learning the Linux/Unix basics and then have a go at LFS, if you can get Debian up and running (in a multiboot as well!) then as a genuine noob you are doing OK and the learning process should not take long at all.
Best host system to install from? I'm doing it from Fedora Core 1, no problems, I don't think that which host system to use is really too much of an issue (but doesn't Debian use older kernels etc. in the name of stability?), as once you're into Chapter 6 you are really setting up an independant system anyway, the host is only temporary...
one more thing, you didn't mention what your problems with LFS actually were, make sure that your host system has all the development software installed (this should have been an option to select during installation)...