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.
I don't mind answering questions, but if your linux knowledge is this basic (nearly none-existing??) installing LFS is going to be very, very difficult..... And you probably need a lot of help in the weeks to come
cp is used to copy files from one place to another. cp /path/to/files/* $LFS/sources/ will do the trick. I don't know where your packages are located, so substitute /path/to/files/ with the proper directory.
Yes, my knowledge to linux is nearly zero! I don't know if i chose the better way to start! As i said before, i use a live cd, so the files must be somewhere there, right? I hope I'll be able to find them. Anyway, thanx for your help, and, I think I'll hire a professional to my home, coz I'll fill a lot of pages with questions here!!! (joke)
Ok, here's the next problem (imagine! i have another problem in 5 minutes!) I search the live cd and it only contains a file named "ROOT" with the extension "EXT2". Do i have to unpack this whole file into the directory or what?
of course i boot from the live cd.
But, i opened the contents of it has a file "ROOT.EXT2" that is 485MB and a boot directody that holds the files to boot. Maybe "ROOT.EXT2" is all the packages and patches together? Then how can i copy them all? I wonder if live cd was a bad idea. if i decide to turn to mandriva for host system, will it work (Mandriva One 2007, not sure if all the packages and patches are installed)
The liveCD is the best host there is: It's made especially for being a host for building (C|H)LFS.
After booting there should be more then a boot directory and a root.ext2 file. Did you (have to) enter extra boot option during startup?
In post 20 you tell me that you did boot from the cd, in post 22 you ask me how to do that? Did or didn't you boot from the cd? You do know how to boot from cd (insert cd in drive, restart/reboot computer)?
well, i opened the cd contents in windows, but when i duild the lfs i boot from cd.
anyway, i'm now in a good way. i haven't noticed at the beggining of the boot, that the location was mentioned (it was /lfs-sources) so i managed to install the packs and the patches. i installed binutils succesfully (about 3 minutes) and i ran the command rm -rf binutils-2.16.1, as u said me. now i'm compiling gcc, it's gonna take too much time!!
Anyway, I'm happy i finally made it!! let's see what the next problem will be. Can i ask you sth more? What will I be able to do when i'll complete the lfs? it will be like any other linux? Or do i have to build blfs as well?
LFS is 'just' a base linux system. After installing it you probably want to install certain parts of BLFS and/or packages that are not mentioned in BLFS. Which packages depend on what you want to do with your linux box.
Most people want a desktop environment, which includes X, a WM (KDE or Gnome is used a lot) and other (GUI based) programs (a browser, mailer etc etc).
Some will want a server environment, which needs other programs (X and all that goes with it isn't needed/wanted).
Just now that I think of it ... At the end of LFS, you'll need to configure and build the kernel ... There are a huge amount of options, so if you have the possibility to gather informations on your hardware and what you use, maybe it's worth doing it ...
Indeed, LFS will bring you the base system (something you can boot and have a console), but if you use DHCP, you won't have networking ready (DHCP comes with BLFS), your mouse won't work as it does on LFS liveCD (GPM is part of BLFS), you won't be able to read correctly HTML files (lynx -> BLFS) and I don't even speak of eye candies in graphical environment (it took me 3 evenings to build a raw Xorg on my old PC)
Cluracan, u deserve especially thanx, coz i didn't know that i can copy all of the contents in the cd and till now i was doing it one by one package!!! Thanx.
Secondly, druuna, thanx for explaining me what lfs will be like when it is complete. so no gui at all, hu? anyway, if i ever finish it, I'll care about the graphical environment.
Thirdly, biniou, what is an Xorg? can you plz explain me how can i build it? thanx
and forthly, just another problem came up: I was compiling gcc package and, because it was gonna take a lil time, i thought i might do sth else. i left the computer to compile, and i went to eat sth. When I returned into my room the screen was off (like it had no signal from the computer) and when i tried to press any key the system wouldn't "wake up". When i also tried to press Num Lock, he green light on my keyboard didn't turn off and on (it was like the sysem crashed). What has happened? Can I avoid turning off the screen?
No, coz i dont know how to. This book is not so good written for newbies. What's the command i have to give to copy all this files? (Oh, god! I don't know what to do! If i start getting on your nerves plz tell me, I know i do alot of questions!)
It's written pretty well, but keep in mind this book assumes you know basic linux commands and basic knowledge on how/why things happen, I don't think it was ever intended for starters.