LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This 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.

Notices


Reply
  Search this Thread
Old 03-10-2007, 04:57 PM   #1
Kelean
Member
 
Registered: Dec 2004
Location: G. R. Michigan
Distribution: Absloute 12.x and Slackware 12.0
Posts: 71

Rep: Reputation: 15
LFS is not for me!


I have been tring to install lfs 6.2 on a vector box for almost 2 weeks and no longer need hair cuts. Honestly it seems the more I read the less I understand. I cant believe all of the simple mistakes I have made. From forgetting commands to missing steps in the book.

I think that lfs is a very cool distro but, right now its not for me. I thought I could work through it but after 2 weeks I am only through chapter 5.6 and am stuck again.

Maybe I'll be back again for another go.

kelean
 
Old 03-10-2007, 05:40 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Howdy neighbor (from Kalamazoo here) LFS isn't for everyone, but it can be done. Have patience and work slowly the first couple of times you roll your own. I'm replying to your post using a Cross LFS system I built four or five months ago.
 
Old 03-10-2007, 05:46 PM   #3
Kelean
Member
 
Registered: Dec 2004
Location: G. R. Michigan
Distribution: Absloute 12.x and Slackware 12.0
Posts: 71

Original Poster
Rep: Reputation: 15
Arrow,

well I was haveing a hard time deciding between lfs and gentoo. I want to try something Different. I am wanting to learn more about how linux works, but I think lfs might be a little to much for me.
 
Old 03-10-2007, 05:57 PM   #4
DragonSlayer48DX
Registered User
 
Registered: Dec 2006
Posts: 1,454
Blog Entries: 1

Rep: Reputation: 75
Quote:
Originally Posted by Kelean
Arrow,

well I was haveing a hard time deciding between lfs and gentoo. I want to try something Different. I am wanting to learn more about how linux works, but I think lfs might be a little to much for me.

I agree... jumping from Slack10 or Deb3 to LFS is quite a leap. Gentoo would be an excellent "next step". Once you've mastered Gentoo, then try LFS again.

Cheers
Bill
 
Old 03-10-2007, 06:39 PM   #5
davimint
Member
 
Registered: Jan 2006
Distribution: Slackware Current
Posts: 272

Rep: Reputation: 33
Hello all:
Was wondering why dragonslayer48dx made reference to Gentoo as being a better next step after slackware and debain. I use Slackware 11 and have also tried fedora, Zenwalk, debain, Dsl and others but never have tried Gentoo. What's different about Gentoo other than the install and package management?. Well anyway the reason I'm here is because I am trying my first attempt at LFS from the LiveCd which is going ok so far but I have got a question. At what point is it safe to stop my work and continue later on. I'm going to assume since the instructions say after each compile to delete the source and build directory that it's ok at that point but just wanted to make sure that nothing is in memory anywhere. Couldn't find anything up to this point that I've read that said this.
Thanks...
 
Old 03-11-2007, 11:03 AM   #6
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Gentoo is source-based so similar in that respect to (C)LFS. You can adjust compiler and linker options to suit your particular system and you have finer control over optional package dependencies. Other distros like Slackware and Debian have to provide packages that are compiled to work on most systems. There is no way anyone could manage the myriad of possible combinations for a single package, let alone thousands.

On the other hand, someone else is typically figuring out any issues with a given package and "fixing" them when they write the build script for a source-based distro like Gentoo. With (C)LFS you'll be the package maintainer. (C)LFS will also give you even greater control over optional dependencies with packages that you add after the base system. I use both and periodically find Gentoo 'requiring' packages that truly aren't needed by a particular package.

That being said, using Gentoo or Arch or Sourcemage for awhile will help when you decide to try (C)LFS but a "Gentoo phase" certainly isn't necessary to successfully build a (C)LFS system. Patience and attention to detail will give you a successful build of the base (C)LFS system and beyond.
 
Old 03-11-2007, 11:25 AM   #7
DragonSlayer48DX
Registered User
 
Registered: Dec 2006
Posts: 1,454
Blog Entries: 1

Rep: Reputation: 75
Quote:
Originally Posted by Arow
Gentoo is source-based so similar in that respect to (C)LFS. You can adjust compiler and linker options to suit your particular system and you have finer control over optional package dependencies. Other distros like Slackware and Debian have to provide packages that are compiled to work on most systems. There is no way anyone could manage the myriad of possible combinations for a single package, let alone thousands.

On the other hand, someone else is typically figuring out any issues with a given package and "fixing" them when they write the build script for a source-based distro like Gentoo. With (C)LFS you'll be the package maintainer. (C)LFS will also give you even greater control over optional dependencies with packages that you add after the base system. I use both and periodically find Gentoo 'requiring' packages that truly aren't needed by a particular package.

That being said, using Gentoo or Arch or Sourcemage for awhile will help when you decide to try (C)LFS but a "Gentoo phase" certainly isn't necessary to successfully build a (C)LFS system. Patience and attention to detail will give you a successful build of the base (C)LFS system and beyond.
Very well stated... Thank you.

And while a "Gentoo phase" isn't necessary for everyone, I never recommend quitting. One deserves to learn at one's own pace, regardless how many distros they must master to reach their goal.

Cheers
Bill
 
Old 03-11-2007, 11:28 AM   #8
davimint
Member
 
Registered: Jan 2006
Distribution: Slackware Current
Posts: 272

Rep: Reputation: 33
Thanks Arow,
Finished section five ( the tool chain ) last night and will probably start working on the rest later this week. Maybe it will go well but if it doesn't then I will have something to put in my knowledge base for later on. Gentoo & Arch sounds interesting because I love learning how it all works that's the reason for my attempt at LFS. I will probably give Gentoo a try in a week or two depending on my success for failure of LFS.
Thanks again.
 
Old 03-14-2007, 01:01 AM   #9
elementadiobam
LQ Newbie
 
Registered: Sep 2006
Distribution: Sabayon Linux 3.2(x64 drivers good??)
Posts: 10

Rep: Reputation: 0
I'm installing Sabayon tomorrow. Sabayon is based on Gentoo so mastering sabayon would be like mastering Gentoo right???
 
Old 03-14-2007, 07:49 PM   #10
Duneatreides
LQ Newbie
 
Registered: Feb 2006
Location: San Antonio , Texas
Distribution: Ubuntu 6.06LTS {Dapper Drake}
Posts: 3

Rep: Reputation: 0
LFS can be a beast

Around a year ago I tried LFS and it was a major pain. The main thing it was just tedious as hell. I was also working 60 hours a week at the time so I just gave up. The biggest discouragment is the lack of a package management system and a way to resolve software dependcies.

I tried to create , on paper, the installation order for the dependencies for gnu cash, and it quickly became unmanagable. Dependency hell is truly hellish.
 
Old 03-14-2007, 09:39 PM   #11
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Quote:
Originally Posted by Duneatreides
I tried to create , on paper, the installation order for the dependencies for gnu cash, and it quickly became unmanagable. Dependency hell is truly hellish.
That's why there's the Beyond Linux from Scratch (BLFS) and Community BLFS http://cblfs.cross-lfs.org/index.php/Main_Page.
 
Old 03-21-2007, 04:02 PM   #12
Zention
Member
 
Registered: Mar 2007
Posts: 119

Rep: Reputation: 16
Is LFS really a distro?

I think it is more of a concept - a guide and not a prescription.

To me that is the appeal.

Sure, if you follow every step to the letter you end up with an LFS distribution, but you would take very similar steps even if LFS did not exist to build a Linux system from the ground up, in fact there is some quote floating around to that affect.

Package management tends to define a distribution - but of course that is open to debate as well - still currently that is the state of play.

With ALFS and the LiveCD we do see an LFS distribution of sorts.
 
Old 03-23-2007, 02:12 PM   #13
nybronx
LQ Newbie
 
Registered: Feb 2007
Location: Austin, Texas
Distribution: PCLOS-Opensuse-Vector-XP-Vista Ultimate...Whatever is installed on test box that day...ha !
Posts: 4

Rep: Reputation: 0
Sabayon

Quote:
Originally Posted by elementadiobam
I'm installing Sabayon tomorrow. Sabayon is based on Gentoo so mastering sabayon would be like mastering Gentoo right???
I found this Distro way easier to install and maintain then Gentoo install (was a while back though) perhaps this goes against my "geek" quotient but the GUI frontend for emerge. Was the main reason I tried it. Learning is great but having your head explode. I,m still picking up the pieces...
 
Old 03-23-2007, 06:11 PM   #14
na5m
Member
 
Registered: Jan 2005
Location: california
Distribution: O.A.M. (Overmonitoring Address Matrix) Release 2.2 with 2120 Patch
Posts: 37

Rep: Reputation: 17
"Success is the ability to go from one failure to another with no loss of enthusiasm." I just made that up. Just kidding! That is from Winston Churchill. Building LFS is a great learning experience. You don't need to complete the entire book in order to learn about Linux. And it's not like you're building LFS because you need a distro. If worse comes to worse, simply reformat your partition and start the book over again at page one.

Most of us didn't wind up with a bootable system the very first time we built our LFS. Most of play with LFS for the joy of learning. In fact, I think LFS is easier than most modern, DVD-sized distros. They have so so many layers of complexity that it is difficult to see and understand the underlying structure of the OS.

Typos are a huge problem when compiling and in programming in general. Go slow and cut-n-paste your commands from the book. And I recommend using the LiveCD versus your present distro, just to help avoid any build issues. Keep working at it, don't give up. Keep posting. And keep using LFS, because it is the least complex way to learn Linux.

Last edited by na5m; 03-23-2007 at 06:12 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
lfs - old laptop - clfs or lfs tallmtt Linux From Scratch 2 12-23-2006 08:56 PM
LFS 6.2: made mistake when going from lfs to root setup oldgeek Linux From Scratch 4 11-12-2006 09:00 PM
LFS question - lack of activity in LFS Forum nykey Slackware 4 06-05-2006 05:54 PM
LFS Book Chapter 6 - 1st step (chroot to /mnt/lfs) doens't work bauld Linux From Scratch 11 03-15-2006 12:31 AM
LFS-7.0-cross-lfs-20050902-x86_64-Multilib Basel Linux From Scratch 0 09-03-2005 05:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 03:13 PM.

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