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 01-25-2011, 03:31 PM   #1
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Base OS to build LFS


Ok this is my 1st post, My aim to build my own distro as a sole working system. I have Ubuntu 9.10 installed on my laptop I was thinking of using this to build with but have found a post http://www.linuxquestions.org/questi...9-10-a-799909/,
That Ubuntu is difficult to use to building with Can someone confirm plz, I also have OpenSuse would this be better? or should I use LFS live cd.
I have 21gig spare on my drive to use for LFS partition will this be enough space to build a system, again I have found different comments on size requirments.
 
Old 01-25-2011, 03:46 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
With 21 GB you have more than enough space to build LFS. I would even recommend to spend 10 GB for a standard installation of Slackware, this way you have a system that is perfect for LFS, it comes with all tools you need for this task.
 
Old 01-25-2011, 04:03 PM   #3
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511

Original Poster
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Thanks TobiSGD just out of curiosity is there a reason why I have seen Posts reports etc to use 30/50 gigs, even the LFS book states 30/50gigs. Ok the other question about Ubuntu or OpenSuse or do they need tools added?
 
Old 01-25-2011, 04:55 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by spiky0011 View Post
even the LFS book states 30/50gigs.
I don't know where you get that from. Quote from the current LFS 6.7 book, chapter 2.2 Creating a new partition:
Quote:
A minimal system requires a partition of around 1.3 gigabytes (GB). This is enough to store all the source tarballs and compile the packages. However, if the LFS system is intended to be the primary Linux system, additional software will probably be installed which will require additional space (2-3 GB). The LFS system itself will not take up this much room. A large portion of this requirement is to provide sufficient free temporary storage. Compiling packages can require a lot of disk space which will be reclaimed after the package is installed.

Quote:
Ok the other question about Ubuntu or OpenSuse or do they need tools added?
Yes, you need tools added with both. If you want to choose between Ubuntu and openSuse, I would go for openSuse, I have heard (but that may be wrong) that Ubuntu has some problems with LFS because of patched libraries. You can see wwhat you need for building LFS in the LFS book under Host System Requirements.
 
Old 01-25-2011, 05:04 PM   #5
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511

Original Poster
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
thanks again I think I will follow your advice as i,m totally new, I would like to say I hope this is my last post on this but I can see I will need further help later on.
 
Old 01-26-2011, 01:49 AM   #6
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
Hi,

You mention the LFS liveCD in your first post and that really is the best way to go.

The LFS liveCD was especially build to function as host for building a LFS environment. No need to add anything, all needed is present and accounted for.

If you do want to use another Distro as host: I've used the following over the years and they can be used after adding packages and in some cases some other changes: Debian, Slackware and Ubuntu.
 
Old 01-27-2011, 01:09 PM   #7
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511

Original Poster
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Ok I have decided to go with the live cd, I have downloaded & md5sum checked, I have downloaded 6.7 scr tar. In the 6.7 book section 3.3 Needed patches, is there somewhere to download them in 1 go "a tar"? As this is my 1st attempt would you suggest making all the partitions as in section 2.2.1.3?
If all gose well I would like this to end up as my main OS.
I will be installing on a 30 gig drive with nothing else on it. The drive will be formatted ext3, Or can it be ext4 would this cause problems?
Any other little bits of advice would be appreciated Thks
 
Old 01-27-2011, 01:28 PM   #8
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
Hi,
Quote:
Originally Posted by spiky0011 View Post
Ok I have decided to go with the live cd, I have downloaded & md5sum checked, I have downloaded 6.7 scr tar. In the 6.7 book section 3.3 Needed patches, is there somewhere to download them in 1 go "a tar"?
You can download a tarball that holds all (packages and patches), there's no separate tarball for each to my knowledge. LFS Packages / tarballs

Quote:
As this is my 1st attempt would you suggest making all the partitions as in section 2.2.1.3?
The easiest way is to have 1 swap partition and 1 partition for the rest (2.2.1.1 + 2.2.1.2). Although you are reminded at some places, the book does assume that all is on one partition.

Quote:
The drive will be formatted ext3, Or can it be ext4 would this cause problems?
Over the years I ran without problems on ext2 and ext3. I haven't tried ext4 yet on LFS (my main OS). I haven't had problems with ext4 on other distro's.

Quote:
Any other little bits of advice would be appreciated Thks
Stick to the book, especially on the first try.

Have fun building!
 
  


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
Which Distribution is Best as a Base to Build on? t8rsalad Linux From Scratch 4 10-12-2009 08:11 PM
LFS with Slackware base GasPipe Slackware 4 10-01-2009 08:29 AM
LXer: Microsoft to build new search base in Norway LXer Syndicated Linux News 0 10-06-2008 05:30 AM
Will compiling LFS on an 64 bit distro build an 64 bit LFS? Vampirite Linux From Scratch 4 08-31-2007 02:48 PM
image file of Debian 3.0 Woody base build on kernel 2.6 harlemno1 Linux - Software 1 03-09-2005 04:37 PM

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

All times are GMT -5. The time now is 08:21 AM.

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