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

learn more… | top users | synonyms

1
vote
0answers
26 views

Create a UEFI bootable persistent USB Livesystem

After a copple of tries with Ubuntu that failed to be persistent, and the hint to create a fresh question form the community to find I easier. I am try a new attemp. My Goal: A USB stick live ...
0
votes
0answers
29 views

Error building LiveCD for LFS

I've build an LFS with systemd recently and went to make a liveCD for it using this hint I've previously built an LFS with sysvinit and used that hint which worked perfectly. But this time I got a ...
1
vote
0answers
37 views

LFS Kernel Panic on first boot

I recently finally finished my build of LinuxFromScratch version 7.9-SYSTEMD. There is one change I had to make from the book. I needed to aquire a patch for the package inettools that caused ...
0
votes
0answers
22 views

No keyboard input upon boot

I have just finished Linux-from-scratch (7.9). I followed the instructions exactly, and ran into no problems during the build. However, when I booted for the first time, it seemed to boot okay; it got ...
1
vote
0answers
53 views

Building kernel for BeagleBone Black lead me hdmi problems

I have successfully followed CLFS book to build RPi and BBB embedded systems. In RPi case the bootloader did not give me problems with device tree. Some years ago I would have to patch Torvalds' ...
0
votes
1answer
123 views

GCC 5.1.0 fails to compile following the LFS guide — pass 2; linking errors?

I'm trying to follow the LFS guide for compiling the GCC 5.1 with binutils 5.25 and glibc 2.21 and the process fails when reaching the "gcc pass 2" step giving me the error: ld: /tools/lib/../lib64/...
1
vote
0answers
41 views

Auto-detect video card driver

I've recently made a Linux From Scratch with Kernel 4.5.0 on virtualbox. In the /etc/X11/xorg.conf I have listed my video driver as vesa However when I boot into the live session in my laptop, the ...
0
votes
1answer
51 views

Bash script to change password in chroot

I have build a Linux From Scratch live CD and wrote an installer script for it. There is a step in that script in which I take an username and password from the user and create an user. The installed ...
0
votes
1answer
41 views

Install Linux From Live CD

I have made a Linux From Scratch and built a live CD from it. I also wrote a script in /usr/sbin named install-lfs. When I want to install Linux, I just have to open a terminal in the live session and ...
0
votes
1answer
246 views

GRUB error- no suitable video mode found

I recently made an LFS and made some changes in GRUB. I added the update-grub command. I'm able to set background color and highlight color. But when I add a custom theme- update-grub gives- ...
0
votes
1answer
24 views

Possible problems deleting /tools in LFS

I recently made a Linux From Scratch and now I want to delete the /tools directory. But before rushing through it, I ran ldd /bin/* | grep '/tools' Which gave me this liblzma.so.5 => /tools/...
0
votes
0answers
14 views

Change The Default Settings In KDE4

I have build a Linux From Scratch following LFS book 7.8. I have installed KDE4 in /opt/kde I have made some changes to the settings of root user and now want it to be default for every user. How ...
4
votes
0answers
30 views

Adding custom option in kde settings

I recently made a Linux From Scratch and installed KDE4. Now I want to add an option named "about" in the KDE settings, which will display info about my LFS. My question is "Is it possible?" If yes ...
0
votes
0answers
16 views

KDM Login Problem On LFS

I recently made an LFS 7.8 I've installed lxdm , sddm and kde workspace.However, when I try t login via KDM, I get some errors- Logging in as root shows "Login failed" Logging in as user lfs(...
0
votes
0answers
48 views

KDM and SDDM login problem on Linux From SCratch

I recently made an LFS using LFS book 7.8 and added KDE4 and SDDM. But the problem is that I cannot login using SDDM or KDM. Using SDDM shows "login failed" for every user. KDM shows "login failed " ...
0
votes
0answers
19 views

Unable to compile gnome-shell (clutter error)

I am compiling gnome-shell on LFS (http://www.linuxfromscratch.org/blfs/view/systemd/gnome/gnome-shell.html) I have compiled and installed clutter 1.24.2 as they said it requires it. however the ...
0
votes
0answers
37 views

KDE Framework 5 buid problem on Beyond Linux From Scratch

I was building KDE Framework 5 according to the BLFS book Version 2016-02-16. The link is here http://linuxfromscratch.org/blfs/view/svn/kde/krameworks5.html But the build process stoppd at ...
0
votes
0answers
52 views

Xterm and User problem on Linux From Scratch

I made a linux system using LFS book 7.8 and then went to BLFS 7.8. I installed lxdm and xfce4 desktop. All the necessary drivers and libraries are installed. Now when I log in as root, I get no ...
1
vote
1answer
51 views

Building an LFS system using ELLCC

Firstly, this isn't my first attempt at building an LFS system - I've already successfully built LFS 7.8 and LFS 7.8-systemd. I would like to replace GCC+GlibC with ELLCC, which is Clang/LLVM+musl. ...
0
votes
0answers
25 views

LFS Building - coreutils test suite - 5.18

Was running this part of the coreutils page (section 5.18): make RUN_EXPENSIVE_TESTS=yes check In this process, one of the tests came back as failed. FAIL: tests/ls/stat-free-color In checking, ...
2
votes
1answer
62 views

Why install gcc again in chapter 6 linux from scratch

I am trying to follow the LFS book, and couldn't get my mind around this question: we built the GCC compiler in chapter 5 in the target partition, why do we do that again after entering the chroot ...
0
votes
0answers
18 views

Gnome Terminal runs from xterm but not from the desktop

Okay...so I built GNOME on my system. It runs fine except for gnome-terminal. I can open other applications like gedit and file manager, but not gnome-terminal. When I click on it, the terminal stars ...
0
votes
0answers
82 views

LFS error - Coreutils (step 6.29)

As succinctly as I can put, I've gotten all the way to 6.29 in the book (Coreutils) and I seem to be receiving the following error when running the "make" command. Full output is as follows: root:/...
0
votes
1answer
69 views

Error while compiling “5.9. Binutils-2.25 - Pass 2 ”

When I try to build binutils, I get the following error make[1]: *** [configure-bfd] Error 1 make[1]: Leaving directory `/mnt/lfs/sources/binutils-build' make: *** [all] Error 2 Here is the full ...
1
vote
2answers
38 views

LFS Troubles - Applying Patch in Section 5.7.1

0 down vote favorite Apologize in advance if this has been asked before, and if it is very obvious. I'm following the guide pretty literally at this point to get started. The page in question is this:...
1
vote
0answers
94 views

E2fsprogs undefined reference to symbol - LFS

I'm building an LFS system, and I've gotten to this page, but when I run make it says: make[2]: Entering directory '/sources/e2fsprogs-1.42.13/build/e2fsck' LD e2fsck /usr/bin/ld: journal.o: ...
0
votes
1answer
61 views

How can I troubleshoot what is happening with the console mouse program gpm?

I am trying to get gpm working in a minimalist, built from scratch, linux environment. I have installed version 1.20.7 into an LFS (Linux from Scratch) 7.8 system that is running in a Virtualbox 4.3....
0
votes
1answer
327 views

LFS 7.6 GCC make error

I do not have much experience with Linux systems, but I decided to work on an LFS system for a bit. I understand that this was a large undertaking for my limited knowledge, but I thought I was ...
2
votes
1answer
67 views

Running make for LFS complains about [ and about missing gawk

I'm having a strange error when I'm trying to start the make process for LFS using the LiveCD SVN Trunk. When I go to run make it gives me; $ make /bin/sh: 1: [: -ne: unexpected operator -e Missing ...
1
vote
1answer
463 views

Add and Compile apt-get package manager for LFS

I'm trying to add apt-get package manager to LFS (LINUX FROM SCRATCH) system. I have found a solution explaining how to 'compile apt-get and dpkg' for LFS. But it's very old and unusable. I searched ...
1
vote
0answers
989 views

NVIDIA GLX is not working under a Optimus Laptop

First I would emphasize that I am using a Linux From Scratch 7.7 Systemd (Now running kernel 3.14.39) I built these two days, so I don't want to touch anything about glibc/gcc and there is no package ...
4
votes
1answer
367 views

Linux from Scratch to bootable disk image

I competed LFS 7.6. I want to know is it possible to make it into a bootable disk image that can boot in to different systems?
2
votes
1answer
186 views

Pacman(Arch linux) on LFS

Is it possible to have a package manager(in my case pacman) on LFS? Not just compiling it will it work?
2
votes
0answers
74 views

configure port for dhcp request in uboot

We are fetching ip using DHCP in u-boot. we need to send via same interface (eg eth1) every time. but DHCP request sent via any configured interface(eth1/eth2..). How can we configure u-boot to send ...
1
vote
1answer
70 views

Realtek 8160 not detected on LFS

I completed LFS and it boots but I'm not able to get the networking to work. When I do a ifconfig it list the lo that is the loopback network but doesn't detect eth0 and also says doesn't exist. If i ...
1
vote
0answers
211 views

Pacman Package manager in LFS

I'm trying to install a Linux From Scratch system. I know LFS doesn't come with a package manager. I want to use pacman as my package manager. I googled bout it and found some links bt they are old, ...
5
votes
1answer
146 views

What Did Users Do or Use Before the Make Command?

I use Gentoo as my primary home Desktop OS. I have since ~2004. I appreciate the emerge command for managing a source based OS as well as it does. Every now and then I check on other distributions, ...
0
votes
1answer
111 views

Can we separate commands in LFS?

I am trying to build a Linux by using Linux from scratch tutorial ,but i can't explain this,when i run multiple command as this step describe: CC=$LFS_TGT-gcc \ AR=$LFS_TGT-ar ...
2
votes
1answer
2k views

How to provide crt1.o and crti.o for LFS?

I have tried to create a Linux distribution with the Linux From Scratch (LFS) website. Everything went good until step 5.7. Glibc-2.19, but when I tried: $LFS_TGT-gcc dummy.c I get: /tools/lib/gcc/...
3
votes
1answer
55 views

Can we change packages in Linux from scratch?

I've tried to compile Linux through Linux from scratch Version 7.5 and I can't compile some packages because as I realize and googled them, they have some bugs, for example I couldn't compile gcc 4.8. ...
0
votes
1answer
493 views

Getting error during Installation of Cross Binutils in Linux From Scratch -7.5

I am building my first LFS 7.5 using Linux Mint-13 (32-bit) While preparing Binutils for compilation(5.4.1): ../binutils-2.24/configure \ --prefix=/tools \ --with-...
2
votes
1answer
107 views

LFS-7.5 util-linux `make check` fails

When I run make check in util-linux, it fails saying: 3 tests of 127 FAILED According to LFS - 7.5 test logs found here, 2 tests fail and that is acceptable. But my cal command fails while ...
0
votes
1answer
2k views

LFS-7.5 chapter 6.9 `make check` fails

I am building and installing glibc-2.19 in chapter 6.9 and I encountered this error while executing TIMEOUTFACTOR=16 make -k check | tee glibc-check-log: mv -f /sources/glibc-build/nptl/libpthread....
1
vote
2answers
895 views

6.7 Linux headers `make mrproper` fails in lfs 7.5

I'm building lfs-7.5. When I run make mrproper in chapter 6.7, it says: make: gcc: command not found and on running bash /tools/bin/gcc, it says: bash: /tools/bin/gcc: no such file or ...
3
votes
3answers
5k views

Linux From Scratch: libgmp.la, libmpfr.la, and libmpc.la not found during version-check

I'm trying to build a Linux From Scratch system on my host Linux Mint machine. However, when I run the version-check.sh file, it returns that my system is missing libgmp.la, libmpfr.la, and libmpc.la, ...
2
votes
1answer
581 views

LFS 7.5 - Glibc-2.19 compile errors at section 6.9, are they fatal to my LFS build?

I am using a host Ubuntu 14.04 system, and I am currently going through the Linux From Scratch guide here. At section 6.9, http://www.linuxfromscratch.org/lfs/view/stable/chapter06/glibc.html, after ...
1
vote
1answer
492 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 ...
3
votes
2answers
1k 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
635 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 make[...
0
votes
1answer
54 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 ...