LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 10-07-2003, 02:13 PM   #1
flamesrock
Member
 
Registered: Aug 2003
Distribution: Gentoo 2006.1
Posts: 405

Rep: Reputation: 30
Can I make my own distro using LFS?


I'm not completely sure I understand how LFS works. I've read the website, and from what I gather, LFS is basically a customized distro that you build from the ground up. For personal use.

My dream has always been to create my own distro. Originally I was planning on basing it on something like Slackware, but was later told that LFS isn't that hard to make. About 4 or 5 hours of work.

So I guess my question is-- could I make my own distro and then turn it into something distributable? With an installer and all of that?

Also, how difficult would such an undertaking be? Would it really be 4 or 5 hours of work?

I have other distributions of linux running on my computer, so getting all of the necessary packages is only a matter of mounting the LFS partition and moving the packages into the /usr/share/src. I don't even need an internet connection.

Finally, has anybody had any sort of success doing this? It's true, I am fairly recent to linux but in the past month I have soaked up knowledge on it like a sponge and am willing to learn whatever more that is necessary.
 
Old 10-07-2003, 02:20 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Sure, LFS is a start really. Helps you understand how Linux works, what is required for a working OS, etc. Creating your own custom installation CD and such is up to you for your own distro.

You could probably easily create your own distro and base it off of Slackware.. lots of work though and really the only reason I see anyone in to building or making their own distro is you might want to think how yours will be different from all the others..

Good luck..
 
Old 10-07-2003, 02:30 PM   #3
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
Re: Can I make my own distro using LFS?

LFS is not a customized distribution. It's a book that teaches you how to build a Linux system from the source code of the packages you are installing.

You said something about copying packages from your existing distributions to LFS. If those are binary packages such as RPM, DEB or other formats, you can't use them. You need the source code. Unless you happen to have a source code CD with a distribution. Then you have to make sure the packages are the same versions as we use in LFS.

Yes you can distribute your Linux system if you want, install an installer program (or create your own).
 
Old 10-07-2003, 02:32 PM   #4
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
Re: Can I make my own distro using LFS?

Time needed to install LFS largely depends on your processing speed.

It takes about 5 hours (give or take some, I haven't time this in a while) on my P4-2.2 Ghz with 512 MB RAM.

If you install LFS for the first time you probably want to spend more time to really learn what's going on. LFS isn't primary about getting a Linux system as soon as possible. It's about teaching you the 'why' and 'how'. And along the way you can of course change to suit your own needs (it's going to be your Linux system, not ours. We just present _a_ way of doing it. Not necessarily the way _you_ should be doing it).
 
Old 10-07-2003, 05:32 PM   #5
Crazed123
Member
 
Registered: Jul 2003
Location: You'll never take me alive!!!!!
Distribution: Snootix
Posts: 73

Rep: Reputation: 15
You can do it. That's what I'm doing. There's a hint on the LFS web site about making a LFS bootable CD. I'd recommend doing it with a newly installed, pristine LFS so you don't put unnecessary stuff on your CD.
 
Old 03-17-2013, 09:39 AM   #6
pethead
LQ Newbie
 
Registered: Mar 2013
Posts: 13

Rep: Reputation: Disabled
Is there a some instruction about to build boot LFS's CD to transfer & install my LFS to other system without repeating to rebuild LFS from zero?
http://www.linuxfromscratch.org/hint...ot-cd_easy.txt
 
Old 03-17-2013, 09:45 AM   #7
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Centos6.3/Debain
Posts: 1,762
Blog Entries: 1

Rep: Reputation: 245Reputation: 245Reputation: 245
Hi

This can be done but not as easy as a live cd "which is not possible" without a lot of work.
I use dd to copy the lfs system and then dd it to new system, There is also work involved in this as well. The new pc would have to have the same architect i.e 32 bit also there might be different hardware which would not be enabled in the kernel, but i have done it.
 
1 members found this post helpful.
Old 03-17-2013, 09:53 AM   #8
pethead
LQ Newbie
 
Registered: Mar 2013
Posts: 13

Rep: Reputation: Disabled
Yes, I talk about transferring LFS between the same arhitects only.
Building my own CLFS (for ARM) is next step after LFS.
 
Old 03-17-2013, 09:57 AM   #9
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Centos6.3/Debain
Posts: 1,762
Blog Entries: 1

Rep: Reputation: 245Reputation: 245Reputation: 245
I just use dd to make a copy then dd onto new machine
 
Old 03-17-2013, 11:39 AM   #10
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Devon,UK
Distribution: Linux From Scratch, Slackware64,
Posts: 1,000

Rep: Reputation: 218Reputation: 218Reputation: 218
Quote:
Originally Posted by pethead View Post
Yes, I talk about transferring LFS between the same arhitects only.
Building my own CLFS (for ARM) is next step after LFS.
There is a lfs embedded book which works ok but uses uclibc instead of glibc which does rather limit what you can install I have been trying to build a full lfs for my pi on and off but have not yet done it I will try again later.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Making a Distro with LFS rmckayfleming Linux From Scratch 7 10-30-2005 03:59 AM
My LFS 'installable' Distro ? decentpakistani Linux From Scratch 13 09-17-2005 08:22 PM
distributing lfs distro? urbanwks Linux From Scratch 2 08-11-2005 12:51 AM
How long does it take to make a LFS Distro mikeymorgan Linux From Scratch 6 03-29-2005 04:29 AM
LFS based distro Crazed123 Linux From Scratch 13 11-19-2003 04:48 PM


All times are GMT -5. The time now is 09:34 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration