Linux From ScratchThis 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.
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.
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.
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.
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?
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.
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.
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.
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
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.