LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-29-2012, 03:41 AM   #1
amr_salah944
LQ Newbie
 
Registered: Feb 2012
Posts: 20

Rep: Reputation: Disabled
How to Get benefit ?


Hello
I am wondering how to get benefit from LFS project , I found myself turned to a copy-paste-machine , I can't find or determine any simple steps to follow , I feel it's only tons of packages to compile and some files to copy .
where can I find a summary or a blueprint for this project and a simple explanation for each step and the main points to build a linux .

Thnx in advance
 
Old 05-29-2012, 04:18 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Which parts of the following links are unclear:
- http://www.linuxfromscratch.org/lfs/
- http://www.linuxfromscratch.org/lfs/view/stable/

"Why?", "How?", "Audience?" and all the steps are mentioned/explained.
 
Old 05-29-2012, 04:29 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
I assume that you have been to the LFS website---in particular this page:
http://www.linuxfromscratch.org/lfs/download.html

Have you downloaded and read the book? If not, that's the place to start. to me, it seems quite complete and well written.

After you have read the book, you might want to post a specific question on whatever you are stuck on.
 
Old 05-29-2012, 06:21 AM   #4
amr_salah944
LQ Newbie
 
Registered: Feb 2012
Posts: 20

Original Poster
Rep: Reputation: Disabled
Hello
I already read all the book n applied half of it , but actually I lost the concept between these tons of details , I think I need a small version , may be a minimal LFS first before going into these details .
Thnx 4 your replies
 
Old 05-29-2012, 06:43 AM   #5
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Quote:
Originally Posted by amr_salah944 View Post
I found myself turned to a copy-paste-machine
Check out TobiSGD's reply in this thread: http://www.linuxquestions.org/questi...cratch-940965/
 
Old 05-29-2012, 07:46 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by amr_salah944 View Post
Hello
I already read all the book n applied half of it , but actually I lost the concept between these tons of details , I think I need a small version , may be a minimal LFS first before going into these details .
Thnx 4 your replies
Again---specific questions will always get better answers here.

How about this for a simple summary?
A Linux OS has four basic components:
the kernel--can be thought of the minimum functionality to interface with the hardware. In the interest of simplicity, assume that all HW drivers are built into the kernel
the shell---this is what gives us a usable interface to the kernel. the common shell in Linux is BASH, and includes basic utilities sometimes called the "core utilities". (If you cannot find the man page for a function, it's probably part of BASH
Other utilities
Applications (OK--not really part of the OS, but part of most actual installations)

The idea behind things like LFS is to build up a system in increments---at any stage of the process, if you don't know what something is or why you need it, then don't install it.
 
Old 05-29-2012, 08:13 AM   #7
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 628

Rep: Reputation: 185Reputation: 185
Quote:
Originally Posted by amr_salah944

...I lost the concept between these tons of details...
I think that happened because you don't know why you started in the first place. To me, LFS and BLFS are not things one should do just to find out if they have any benefits. Of course you can always do that, but the chances of finding any are low for most people IMO. Unlike trying out a "distro", it's hard and time consuming to try out LFS. Most people will get plowed under well before they find a benefit. I think it's better to build an LFS system because you already see a benefit and have decided that you need it. That's what happened to me. I used distros like Fedora, Debian, Ubuntu, Arch for years. Then one day (probably the day systemd became non-optional in Fedora) I just decided I wanted more control over what my Linux system contains and can do. It wasn't easy at first, but I had something powerful motivating me. Now my BLFS system is my main daily system, and Arch is my last remaining distro (which I now use only to backup my BLFS system).

I hope you make it through your first run at the LFS book and find your benefit.

Last edited by stoat; 05-29-2012 at 09:28 PM.
 
Old 05-29-2012, 08:55 AM   #8
amr_salah944
LQ Newbie
 
Registered: Feb 2012
Posts: 20

Original Poster
Rep: Reputation: Disabled
Hi again n thnx 4 ur wonderful replies , I think my problem is that I wanted to make a small linux project just to strengthen the concept of linux , but LFS gave me more details that I am not keen about now , so I need a small basic version of LFS .. any suggestions ?
 
Old 05-29-2012, 09:08 AM   #9
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Quote:
Originally Posted by amr_salah944 View Post
so I need a small basic version of LFS .. any suggestions ?
There's no such thing.

A by-the-book LFS system is very basic/minimal. To a point where it isn't very usable as-is (you need to do at least a few chapters from BLFS). You could make it smaller, but not much more basic.
 
Old 05-29-2012, 09:34 AM   #10
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
amr;

I did not notice this so much before---please don't use the SMS shorthand here. What you meant to say was "...and thank you for your wonderful....etc."

Echoing what druuna says (or what I think he is saying... )---you can use any Linux distro to get a mimimal system. "minimal" could mean removing things, or it could mean simply that you stop installing when you have what you want.

You might also be interested in Arch.
 
Old 05-29-2012, 09:51 AM   #11
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Quote:
Originally Posted by pixellany View Post
Echoing what druuna says (or what I think he is saying... )---you can use any Linux distro to get a mimimal system. "minimal" could mean removing things, or it could mean simply that you stop installing when you have what you want.
Just to make sure:

Compared to a minimal distribution installation, LFS would be even more bare bones. Among others: No shell startup files like /etc/profile, /etc/profile.d/*, ~/bashrc etc are yet present. No PAM, ssh etc.

LFS isn't a distribution. LFS + BLFS chapters 3 + (parts of) chapter 4 ~= minimal distribution install.
 
Old 05-29-2012, 10:01 AM   #12
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
I think we're saying the same thing.

I could create the same product with Arch---just start removing things. (and fixing whatever broke in the process.... )
Would I actually DO this??---probably not....
 
  


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
Is any benefit of UTC? sluge Linux - Software 5 03-29-2012 08:55 PM
Compiling the kernel, is there a benefit? Mustafa Ismail Mustafa Linux - General 1 04-20-2010 05:03 PM
[SOLVED] What's the benefit of using 64 bit slackware? zyli2006 Slackware 6 09-05-2009 04:16 PM
Real Benefit of 64-bit fatrandy13 Linux - Hardware 1 11-06-2006 11:24 PM
Email clients, what's the benefit? unityxx311 Linux - Software 3 10-27-2005 11:19 AM

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

All times are GMT -5. The time now is 12:18 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