(LFS) - Linux From Scratch is a Linux distribution that you build from source (scratch) piece by piece.

learn more… | top users | synonyms

2
votes
0answers
31 views

Can't boot into lfs after completing chapter 9

I faithfully followed all the instructions in the LFS-7.5 book till 8.3. 8.4 is optional as it asks us to install grub or skip it entirely. I skipped this section completely and issued update-grub ...
0
votes
1answer
34 views

Linux Booting with USB File System [closed]

I'm trying to boot a Linux system stored in a USB drive that I got by following the Linux from Scratch manual. I finished all but the booting part, the problem is that when the kernel tries to to ...
0
votes
1answer
177 views

LFS 7.4 chapter 6.7: make: gcc: Command not found

I am (again) trying LFS. The version is 7.4 I am stuck at chapter 6.7, where I must run: make mrproper and I get this error: make: gcc: Command not found. But the gcc is there. I also cannot run ...
0
votes
2answers
96 views

Some errors when building Glibc LFS - are they harmless?

I've finished chapter 5. When I'm building glibc, I get some errors: root:/sources/glibc-build# grep Error glibc-check-log make[2]: *** [/sources/glibc-build/posix/tst-getaddrinfo4.out] Error 1 ...
0
votes
1answer
31 views

Purpose of HLFS

I recently found out about the LFS project and their sub-projects. Is the HLFS Project only for production-quality servers, routers, and firewalls or is it also recommended for securing your ...
2
votes
1answer
272 views

gcc make install error [closed]

I'm trying to compile gcc with make install to a drive wich is an linux from scrach bulid to a directory called tools and it gives me this: make[1]: Entering directory `/media/BOSS/sources/gcc-build' ...
0
votes
1answer
185 views

Building binutils - lfs - error while 'make'

I'm going to build my own Linux from scratch, but I've got an error while running 'make' for binutils in chapter 5 I get some errors. The output of 'make' is here: http://pastebin.com/8aVz6jfd There ...
0
votes
1answer
70 views

Building Linux from Scratch stuck, incompatible sed version? [duplicate]

I am trying to build Linux from Scratch per LFS website While I was able to install all the packages until 6.7.1 without any error, I am stuck at Installation of Linux API headers (This is after I ...
-1
votes
3answers
602 views

How can I create my own distro and include a custom kernel & packages? [closed]

I wanted to know how to add packages to the Linux kernel and then package it to a ISO or CD for friends. Thanks in advance and please don't point me to LFS - Linux From Scratch!
-1
votes
2answers
179 views

Can I name my own LFS distro?

The question is... about LFS (Linux From Scratch), if I would build a Linux system, with LFS, is it 100% mine? Could I say I made all this from scratch?
0
votes
1answer
48 views

Changing the defult directory structure

If I start a new distro (e.g. LFS): How can I change the directory structure? What should I expect after it's ready? (probably can't install most of the packages without modification, right? But, ...
1
vote
1answer
2k views

LFS System not booting or GRUB cannot access /bood/grub on boot

The closest question I could find is this one, however it is still quite a bit different from what I am needing: GRUB fails to install My specific setup and the steps I followed to produce this I am ...
1
vote
1answer
201 views

Why binutils and gcc need to install twice in LFS?

I followed LFS doc. I'm not quite understand why it needs 2 pass of compilation. My guess: We need target system's glibc, if we compile by host's gcc, it will not be able to separate with host ...
2
votes
2answers
2k views

How can I solve this make error when building gcc-4.7.2 for LFS?

Everything was going so well... I'm trying to build gcc-4.7.2, following the instructions in the LFS book. When I run make, I get the following: checking for MPFR... no configure: error: libmpfr ...
0
votes
1answer
73 views

How would I start this public LFS build project?

I had an idea. I want a box with some simple Linux distro on there. I want the box to be completely open to anyone. The idea is, I want to see if a community of online users can build LFS on the ...
4
votes
0answers
370 views

Linux From Scratch 7.2: Error while making binutils-2.22 in chapter 6

I get the following error while executing make tooldir=/usr ../../binutils-2.22/libiberty/regex.c:130:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] ...
2
votes
2answers
3k views

Do I only need one swap partition for multiple Linux distros? (and other questions)

I have Linux Mint 14 installed as my only OS. I have one extended partition containing /swap, / and /home, and I have some unallocated space on my drive. I'm guessing that Mint decided to put this ...
1
vote
0answers
48 views

Linux From Scratch: make no such file or directory, bad interpreter [duplicate]

Possible Duplicate: Getting “Not found” message when running a 32-bit binary on a 64-bit system I have finished the chapter 5 of the book. And after I entered the chroot I realized that ...
1
vote
0answers
401 views

Eglibc cannot compile suffix of object files while trying to cross compile

I'm currently making my way through Trac's CLFS book. When trying to configure the 32-bit version of EGLIBC-2.15, using the options: BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc ${BUILD32}" \ ...
2
votes
1answer
369 views

Build complete Distro with LFS

I want to build distro from source with LFS. Which include default third party tools & tools from different Linux distro. I have following questions: Can I build with LFS? Using LFS can I make ...
2
votes
0answers
566 views

libbfd-2.22.so missing while compiling Binutils/Glibc/Zlib

When I try to compile Binutils, Glibc and Zlib using chroot on my LFS system, I get this error: ar: error while loading shared libraries: libbfd-2.22.so: cannot open shared object file: No such ...
1
vote
1answer
954 views

Why .bash_profile couldn't set PS1 variable?

I set .bash_profile to exec env -i HOME=$HOME TERM=vt100 PS1='\h' /bin/bash But when I login, it also show: lfs@sam:~$ env TERM=vt100 PWD=/home/lfs ...
1
vote
1answer
63 views

Why lfs couldn't use original host environment variables?

From the lfs doc: The exec env -i.../bin/bash command in the .bash_profile replaces the running shell with a new one with a completely empty environment, except for the HOME, TERM, and ...
1
vote
3answers
658 views

LFS can't cd to lfs/source - permission denied

I'm trying to build a LFS using version 7.1. I've followed all of the steps up to 5.3 and now I'm stuck because I can't change to $LFS/sources - I get the message: bash: cd: /mnt/lfs/sources: ...
4
votes
1answer
151 views

Linux from Binaries

I thought Linux from Scratch was a pretty cool tutorial, but I felt having to wait for everything to compile was a bit nerve-wreaking. Is there a tutorial similar to LFS except pre-compiled binaries ...
3
votes
2answers
367 views

Cross LFS - PPC - Error while compiling

I'm trying to build a CLFS for a PPC 8270 processor. All is fine until I use the make ARCH=powerpc CROSS_COMPILE=${CLFS_TARGET}- command. CC arch/powerpc/kernel/align.o ...
1
vote
2answers
1k views

LiveCD for LFS 7.0

Most of the live CD systems I have come across don't seem to have the LFS requirements pre-installed (i.e. everything on this list). Are there any live CD systems that come with the required software ...
3
votes
1answer
467 views

How do I search for Linux distro build tools?

After having worked through Linux From Scratch, I get the eerie feeling that in practice, this is not how new distros are built. How do I search for tools that other distributions are built with? Is ...
2
votes
2answers
565 views

Linux from scratch's bash problem: $() syntax error

When I try to build the glibc following the Linux from scratch instruction Chapter 6.9. Glibc-2.14.1, I get a syntax error about $(command). The simplified problem is that I can type echo `ls` ...
1
vote
0answers
1k views

Thunar using no thumbnailers except built in fonts and images

Linux From Scratch SVN-20111010 Beyond Linux From Scratch Version 2011-11-16 Xfce4 4.8.0 I can't get any thumbnails in Thunar beyond fonts and basic images. After fighting with this I've gone back ...
1
vote
1answer
164 views

How to configure Tcl on Linux From Scratch?

I got this error following LFS 6.8, chapter 5, Tcl-8.5.10 to install Tcl: lfs@sam:/mnt/lfs/sources/tcl8.5.9/tools$ ./configure --prefix=/tools ./configure: line 1208: cd: ../../tcl8.5/unix: No such ...
2
votes
1answer
235 views

How to set parameter i486 on glibc compiling process of x86_64 system?

My host: lfs@sam:/mnt/lfs/sources/glibc-build$ uname -m x86_64 lfs@sam:/mnt/lfs/sources/glibc-build$ In lfs(LFS-BOOK-6.8-HTML/chapter05/glibc.html) It says case `uname -m` in i?86) ...
4
votes
0answers
270 views

Why is there a '.d' in 'init.d'? [duplicate]

Possible Duplicate: What does the .d stand for in directory names? Consider that we have (on many sytems) init.d that contains executable scripts and symbolic links for run levels, sysctl.d ...
5
votes
2answers
717 views

Will I be able to build LFS using dash and mawk?

I decided that I want to learn more about Linux and try building LFS. I'm using Ubuntu 11.04 as host system and Ubuntu uses dash and mawk by default. I've changed mawk to gawk, but considering that ...
1
vote
2answers
140 views

DocBook DSSSL test failure

So I followed these (Linux From Scratch) instructions to test my build of DocBook DSSSL, and I get this: $ onsgmls -sv test.sgm onsgmls:I: "OpenSP" version "1.5.2" onsgmls:test.sgm:1:61:W: cannot ...