Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
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.


  Search this Thread
Old 05-25-2006, 07:58 AM   #1
LQ Newbie
Registered: May 2006
Posts: 15

Rep: Reputation: 0
suggest version for LFS


This is priya.I tried LFS 6.1.1 November30th,2006 on host's Fedora-5 ,Fedora-4 ,and Suse-10 in X86 processor of 64 bit.every time i am getting problem at glibc-testing .But the main problem starts at installing binutils pass 1.
I hope that any of my host systems are not suporting the LFS version 6.1.1 .
any one can u suggest me in choosing suitable version of LFS for any of these 3 host systems.Or suggest me to overcome the problem
by using the same version .

Fedora -5 linux version-2.6.15 and gcc-4.1.0
Fedora-4 linux version 2.6.11 and gcc- 4.0.0
Suse-10 linux version-2.6.13 and gcc-4.0.2

thanks & regards

krishna priya
Old 05-29-2006, 05:09 PM   #2
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
have your tried the LFS live cd?? it should work almost perfectly...

as for a generic distro to use as a host for LFS 6.1.1, i can recommend slackware 10.2, as it's what i'm using and it's worked great so far...
Old 06-09-2006, 10:05 AM   #3
LQ Newbie
Registered: Jul 2005
Location: Surrey, UK
Posts: 14

Rep: Reputation: 0
Dontt use fedora 4 or 5 (dunno abou others) - the compiler wont do LFS, get the livecd or another distro
Old 06-09-2006, 03:05 PM   #4
Registered: Nov 2003
Posts: 360

Rep: Reputation: 30
Try compiling it from a host with gcc version 3x not 4x , 4x is full of problems. For example I had LFS working using the LFS Live CD and Slackware 10.2 both with gcc 3x. And make sure to read the Errata too, and apply the patches from there every time you compile the packages are listed there... I got into alot of problems for not reading it . Good luck.
Old 06-29-2006, 06:22 PM   #5
Lenard Spencer
Registered: Sep 2004
Location: Florida
Distribution: Slackware, Linux from Scratch
Posts: 329

Rep: Reputation: 199Reputation: 199
I'm in the middle of installing LFS 6.1.1 right now, using Slackware 10.2, and there is something I'd like to add: make SURE you install the 2.6.13 kernel from disk 2, or at least make sure your kernel is at least 2.6.2 or newer, as it says in the book. I have to admit I just glossed over the earlier chapters before starting the install of the temporary tools, and under Slack's 2.4.31 kernel I was getting a rather high number of seg faults. After going back and installing 2.6.13, it took me a little over 2 hours to rebuild all the temp tools.

But yes, definitely, a near-vanilla distro like Slack or Gentoo are the way to go.
Old 06-30-2006, 12:56 PM   #6
Registered: Oct 2004
Distribution: slamd64-current, slackware-current, clfs 6.1, arch-current, ubuntu dapper
Posts: 144

Rep: Reputation: 15
slackware for sure ^^ i did it twice with slack without probs at all (one with 2.4 kernel but that was at book 5.1 >< the other with 2.6.11) but now im trying it on an ubuntu host its like notin but probs >< (first few probs had to do with the fact i had a 64bit turion sooo those dont count but now i am trying clfs-error error error -.-)

Last edited by Youri; 06-30-2006 at 12:58 PM.
Old 07-03-2006, 02:34 PM   #7
Registered: Jul 2005
Distribution: Fedora6 x86_64
Posts: 118

Rep: Reputation: 15
Originally Posted by priya001
This is priya.I tried LFS 6.1.1 November30th,2006 on host's Fedora-5 ,Fedora-4 ,and Suse-10 in X86 processor of 64 bit.every time i am getting problem at glibc-testing.
Skip it. Skip the test. Especially if it has to do with some clock or timing resources in nptl.

Boot with the Live CD and use nALFS. Edit the glibc xml file (use vim from the live CD or scp the files to another machine to edit them) in both Chapter05 and Chapter06 to remove the make check (about three lines). Mount your install partition under /mnt/lfs (create the mount point before), format it, make it bootable, [EDIT: of course, format and make bootable, THEN mount it !! ;-)] copy your kernel config file to the skeleton directory under the name 'linux-kernel-config' and launch './runIt skeleton' from the nALFS directory on the CD.

Then let it cook between 3 to 5 hours. It takes 3 hours inside VmWare 5.5 on an AMD X86_64 dual core with 4 GB of RAM, and 5 hours on a 2.4 GHz Pentium 4 with 1 GB RAM.

Even though you may have Fedora, Slackware, SuSE, etc... You can still use the Live CD to compile and install LFS. I find it's a good way (not the ultimate !) to have a LFS system quickly.

When you've obtained your first LFS system, and then you start to add xorg and all that, then you can ponder how to make it a perfect build by doing all tests, and adding security, and all that. There's so much time that can be spend on only refining to your liking the build process, but first try to have a running system.

Last edited by carcassonne; 07-03-2006 at 02:36 PM.


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
Questions about and errors found in Version 7.0-cross-lfs-20050902-x86_64-Multilib Basel Linux From Scratch 1 09-06-2005 11:10 PM
What version tripwire would you suggest on SuSE 9? Thaidog Linux - Newbie 3 09-08-2004 10:04 AM
suggest kernel version bullwinkle Linux - Software 4 07-12-2004 05:18 AM
How to convert xml version of LFS-5.1.1 book to txt format? jml75 Linux From Scratch 1 06-18-2004 06:51 PM
How many time before a new LFS book version? mullog Linux From Scratch 3 06-11-2004 10:20 AM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 12:37 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration