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.
Installing LFS is a great way to get indepth with Linux. You'll need the packages in order to even start compiling your first toolchain. So you'll have to download them using your host system.
The host system is what gives you access to the drive where you will install your packages to, it provides the tools necessary to begin your first run at the toolchain, it should give you access to the internet also. So that's what you use to download the packages, your host system.
Last time I started compiling LFS I used the LFS LiveCD which is great in my opinion because it has all the necessary tools with the correct versions so that you don't encounter any strange problems for not complying with the host requirements.
i am already using the live cd..so you guys are suggesting that i must use another linux distro as my host system?
for example: lfslivecd -> booted on -> another host linux distro
*learning* *taking notes*
after partitioning and formatting the drive (btw im running it on a vbox) what should i do next? just to make things clear. Im kind of lost on that part of the book.
No, if you're already using the LFS LiveCD then you're set to go. If you follow the instructions in the book at some point you'll mount your harddisk under /mnt/lfs and link it to /tools. Then when you start downloading your packages you'll save them directly to a directory you'll create (sources). If your LiveCD detected your network card correctly you'll be able to connect to the internet.
No need for another CD, LiveCD, operating system, just all from the LFS LiveCD. If I remember correctly you'll have to connect to the network using a utility in the Network menu (don't remember the name byt thing it's called netsetup).
Virtual is fine... The machine that is running vbox is irrelevant.
Move (in your mind) into the virtual machine running the LiveCD and look at the world you can see.
You have a CD which you are running from and an empty hard drive. Just as if you were doing this on a physical box. And you are about to embark on an install into that world.
The LiveCD gets you some basic, very minimal and very common tools that should work to bootstrap you on your way. But those bootstrap tools don't know your world - so they default to running on everything, not that fancy 64bit CPU you are using (or whatever your 'world' is).
The problem is you need tools to make tools and one of the tools you need to make is the compiler that turns source code into executables. So, the first things you are going to do is build some tools that are customized for your world.
But to do that you need to make more tools. That's chapter 5.
Then at the beginning of chapter 6, you will use those bootstrap tools to build real tools optimized for your world.
Using those tools, you then build the rest of your basic Linux system.
Cannot download it directly from there either. They're offering 1.2.5. You still can get the correct version for the LFS book from here (scroll down to zlib, select version and then the package you need).