LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 01-17-2004, 04:43 AM   #1
DuncanM
LQ Newbie
 
Registered: Jan 2003
Posts: 21

Rep: Reputation: 15
Question How long will it take me?


Hi there,

Very interested in the idea of creating my own OS from scratch!

I have a laptop and I don't mind how long it takes to do this as I can use damnsmalllinux to access the net and e-mail whilst using the LFS book.

Considering I am fairly new to Linux, but am comfortable with the CL (prefer it infact) how long will the LFS process take?

I will be looking at it as a great learning experience and won't be impatient .
 
Old 01-17-2004, 06:07 AM   #2
ugenn
Member
 
Registered: Apr 2002
Posts: 549

Rep: Reputation: 30
personally, i wouldn't recommend LFS from, well...scratch. Start with an existing distro, then slowly replace each package with the source built equivalent. that's what i did anyway.
 
Old 01-17-2004, 07:55 AM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by ugenn
personally, i wouldn't recommend LFS from, well...scratch. Start with an existing distro, then slowly replace each package with the source built equivalent. that's what i did anyway.
You actually have to have an existing distro to build LFS so I guess your getting the best of both worlds.

LFS is great to start off with to learn more about the Linux OS. I recommend it to anyone who already has a distro installed, can read and follow directions and wants to learn more.

Regards.
 
Old 01-17-2004, 08:26 AM   #4
DuncanM
LQ Newbie
 
Registered: Jan 2003
Posts: 21

Original Poster
Rep: Reputation: 15
That's cool,

I am running RH8 at the moment but I also have slackware 9.1 which I have tried,and liked .

Duncan
 
Old 01-17-2004, 09:10 AM   #5
ugenn
Member
 
Registered: Apr 2002
Posts: 549

Rep: Reputation: 30
Quote:
Originally posted by trickykid
You actually have to have an existing distro to build LFS so I guess your getting the best of both worlds.

LFS is great to start off with to learn more about the Linux OS. I recommend it to anyone who already has a distro installed, can read and follow directions and wants to learn more.

Regards.
True. But doing it strictly the LFS-way is only practical if you have a spare machine. The existing distro is useful for creating the "1st stage" build environment. When you start working on the actual system, and if you're working on your "primary" machine, you'll be using a semi-cripped machine with only the most basic tools for the rest of the build.
 
Old 01-17-2004, 09:13 AM   #6
ugenn
Member
 
Registered: Apr 2002
Posts: 549

Rep: Reputation: 30
Quote:
Originally posted by DuncanM
That's cool,

I am running RH8 at the moment but I also have slackware 9.1 which I have tried,and liked .

Duncan
One more thing, a good part (IMO) of learning how to fit together a Linux OS is to understand how the init process and startup scripts work. You might want to go thru your existing distro's initscripts to get an idea of what's going on first before attempting LFS.
 
Old 01-17-2004, 11:27 AM   #7
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by ugenn
True. But doing it strictly the LFS-way is only practical if you have a spare machine. The existing distro is useful for creating the "1st stage" build environment. When you start working on the actual system, and if you're working on your "primary" machine, you'll be using a semi-cripped machine with only the most basic tools for the rest of the build.
I don't necessarily agree in the practical way for LFS is to have a spare machine. There are plenty of people who dual boot for many reasons, have multiple distro's installed, etc.

Some do LFS to learn more about Linux, some do it to create their own distro for special needs or projects and then others do it just to have their own distro how they see fit instead of installing a cluttered existing distro that installs a bunch of packages they will never use.

Oh well.. my two cents.
 
Old 01-19-2004, 09:02 PM   #8
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Actually, you don't have to have a linux distro installed already. This is how I'm doing it as we speak, using a Gentoo x86 Basic CD.... Which reminds me, I came here cause I have a problem... :-) I get sidetracked easy...

Jon
 
Old 01-22-2004, 12:30 PM   #9
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
Quote:
Originally posted by trickykid
...........so I guess your getting the best of both worlds.

LFS is great to start off with to learn more about the Linux OS. I recommend it to anyone who already has a distro installed, can read and follow directions and wants to learn more.
Tricky is right, everyone should make an LFS at least once, even if you don't use/keep it on your main box, do it from start to finish and keep notes on what you learned.........
easy peasy........
 
Old 01-24-2004, 01:43 AM   #10
ElementNine
Member
 
Registered: Sep 2003
Distribution: Red Hat 9 or Gentoo 1.4 whatever I can get to work first
Posts: 105

Rep: Reputation: 15
Well I installed LFS using a knoppix cd and two blank HD's of course you also have to have two cd-roms. one for knoppix and one for the sources, Took me about 4 days to get the LFS system up. Great learning experience(frustrating as all hell at points though). But sadly when i was done i had to install red hat 9 cuz of work, being as that you have to go through BLFS in order to get a X system up and running and i just didnt have the time. But even if you dont finish the system its a great project just to see how things work.
 
Old 01-30-2004, 03:52 PM   #11
binarynova
LQ Newbie
 
Registered: Oct 2003
Distribution: LFS-5.0-pre1
Posts: 18

Rep: Reputation: 0
I dual-boot Windows XP and LFS.

I had toyed with other distros before but decided that I couldn't stand them. Felt like I had no control. So, as a Linux n00b I downloaded an LFS Boot CD and went to town. I've learned more about Linux than ever, and everyday the learning continues.

I have X installed, along with Fluxbox, Opera, the Gimp, KDE (for software requiring it), the ZSnes emu, Xmms, etc... I'll soon be installing Gnome (or at least the parts needed for Gnome based software) and Open Office and even more.

In my opinion LFS makes a great usable permanent distro. It's not for everyone, but it's great for me.

Back on topic... If I remember right it took me (from start to complete system using X) around a week, but my memory could easily be failing me.
 
Old 02-02-2004, 08:35 PM   #12
dhrivnak
Member
 
Registered: Oct 2003
Location: USA
Distribution: Slackware 9.1
Posts: 50

Rep: Reputation: 15
I don't like the idea of using a previous distro to create this.....is there any "minimal" way to do this "from scratch?"
 
Old 02-02-2004, 08:37 PM   #13
binarynova
LQ Newbie
 
Registered: Oct 2003
Distribution: LFS-5.0-pre1
Posts: 18

Rep: Reputation: 0
If you look around on their website you can find a boot CD that you can build it from.
 
Old 02-17-2004, 10:50 PM   #14
dbh21
LQ Newbie
 
Registered: Dec 2002
Location: San Diego
Posts: 11

Rep: Reputation: 0
DuncanM,
If you are serious about LFS then I'd recommend learning to build your own kernel on another distro first. I think this might help take some of the pain away when you build LFS.
 
Old 02-18-2004, 01:51 PM   #15
njs12345
LQ Newbie
 
Registered: Feb 2004
Distribution: LFS 5.0
Posts: 14

Rep: Reputation: 0
LFS is absolutely great. It took me, if I remember correctly, about a week or two. But I had slight problems installing awk(it didn't link statically).

Now I've got KDE working
 
  


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
printf unsigned long long int? blackzone Programming 9 03-04-2008 12:41 PM
I've come a long way... linmix LinuxQuestions.org Member Success Stories 0 10-18-2005 05:13 PM
how long does it take? qanopus Linux From Scratch 1 04-14-2003 12:09 PM
How long can you??? cli_man General 19 03-31-2003 12:55 AM
so long, and thanks for the help... bjb123 Linux - General 16 02-28-2003 12:06 AM

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

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