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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
01-17-2004, 04:43 AM
|
#1
|
LQ Newbie
Registered: Jan 2003
Posts: 21
Rep:
|
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  .
|
|
|
01-17-2004, 06:07 AM
|
#2
|
Member
Registered: Apr 2002
Posts: 549
Rep:
|
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.
|
|
|
01-17-2004, 07:55 AM
|
#3
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
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.
|
|
|
01-17-2004, 08:26 AM
|
#4
|
LQ Newbie
Registered: Jan 2003
Posts: 21
Original Poster
Rep:
|
That's cool,
I am running RH8 at the moment but I also have slackware 9.1 which I have tried,and liked  .
Duncan
|
|
|
01-17-2004, 09:10 AM
|
#5
|
Member
Registered: Apr 2002
Posts: 549
Rep:
|
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.
|
|
|
01-17-2004, 09:13 AM
|
#6
|
Member
Registered: Apr 2002
Posts: 549
Rep:
|
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.
|
|
|
01-17-2004, 11:27 AM
|
#7
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
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.
|
|
|
01-19-2004, 09:02 PM
|
#8
|
Senior Member
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914
Rep:
|
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
|
|
|
01-22-2004, 12:30 PM
|
#9
|
Senior Member
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577
Rep:
|
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........
|
|
|
01-24-2004, 01:43 AM
|
#10
|
Member
Registered: Sep 2003
Distribution: Red Hat 9 or Gentoo 1.4 whatever I can get to work first
Posts: 105
Rep:
|
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.
|
|
|
01-30-2004, 03:52 PM
|
#11
|
LQ Newbie
Registered: Oct 2003
Distribution: LFS-5.0-pre1
Posts: 18
Rep:
|
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.
|
|
|
02-02-2004, 08:35 PM
|
#12
|
Member
Registered: Oct 2003
Location: USA
Distribution: Slackware 9.1
Posts: 50
Rep:
|
I don't like the idea of using a previous distro to create this.....is there any "minimal" way to do this "from scratch?"
|
|
|
02-02-2004, 08:37 PM
|
#13
|
LQ Newbie
Registered: Oct 2003
Distribution: LFS-5.0-pre1
Posts: 18
Rep:
|
If you look around on their website you can find a boot CD that you can build it from.
|
|
|
02-17-2004, 10:50 PM
|
#14
|
LQ Newbie
Registered: Dec 2002
Location: San Diego
Posts: 11
Rep:
|
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.
|
|
|
02-18-2004, 01:51 PM
|
#15
|
LQ Newbie
Registered: Feb 2004
Distribution: LFS 5.0
Posts: 14
Rep:
|
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 
|
|
|
All times are GMT -5. The time now is 08:11 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|