Questions tagged [lfs]
(LFS) - Linux From Scratch is a Linux distribution that you build from source (scratch) piece by piece.
196 questions
2 votes
0 answers
72 views
Using Das U-Boot to boot Linux on x86_64 UEFI platform
I have some troubles booting Linux Kernel from Das U-Boot on x86_64 UEFI Platform. I tried to use default efi application defconfig target (x86-app), with addition scsi, sata and some other config ...
0 votes
0 answers
150 views
Linux from Scratch: custom GUI
If I follow the Linux From Scratch (LFS) manual, how do I go about setting up my own graphical user interface, that is, the "desktop environment"? I'd like to do it by using an HTML solution ...
0 votes
1 answer
120 views
Do I need to extract a source tar file for each pass in LFS, or does creating a seperate named "build" folder suffice (like "build", "build2")?
There's a handful of programs like GCC that not only require two different passes when setting up LFS, but as is the case with GCC, it is also used for Libstdc++. When going thru this setting up for ...
0 votes
1 answer
66 views
LFS booting EFI in macbook pro 2014
I am trying to build linux from scratch (LFS) as an educational project using the main LFS book version 12.1, however, whene i reach the bottable chapter, i found that i have to boot my LFS using EFI ...
0 votes
0 answers
160 views
Compile Failed of gcc 13.2.0 of lfs version 12.1
When i fellow the command of the lfs book 12.1 i chapter 5 to compile gcc 13.2.0 , i got the error. Supported LTO compression algorithms: zlib gcc version 13.2.0 (GCC) configure:3560: $? = 0 ...
0 votes
0 answers
228 views
Linux From Scratch 12.1 GCC testsuite failing and timing out
I'm currently building Linux From Scratch 12.1 with the book, I've followed the instructions line by line. I'm struggling with the GCC testsuite, I have lots of FAIL and timeout. In addition to that, ...
0 votes
0 answers
156 views
Can’t boot into LFS using GRUB
I have made LFS. But unfortunately, when I installed GRUB, I got an error that said ext2 system isn’t supported. But I added --force into grub-install --force /dev/sda and it installed, so I tried ...
0 votes
1 answer
317 views
Git LFS doesn't work anymore with our Yocto: git doesn't fetch "large files" since we upgraded our tools
Git LFS doesn't work anymore with Yocto: git doesn't fetch "large files" since we upgraded our tools to these versions: Yocto kirkstone gitlab 16.7.3 and gitlab 16.8 git version 2.34.1 git-...
0 votes
0 answers
277 views
LFS libstdc failed - make: *** No targets specified and no makefile found. Stop
I am on chapter 5 of LFS. I am trying to compile LibSTDC. After cd'ing into the build directory I created and running: ../libstdc++-v3/configure \ --host=$LFS_TGT \ --build=$(../config.guess) \ --...
0 votes
1 answer
1k views
LFS Chapter 5.5 - Installing Glibc - cannot find /lib64/ld-linux-x86-64.so.2 inside /mnt/lfs
For some background, everything related to LFS has worked so far. After make-installing glibc, I ran these commands to sanity check: echo 'int main(){}' | $LFS_TGT-gcc -xc - readelf -l a.out | grep ld-...
0 votes
1 answer
3k views
Grub Install x86_64-efi doesn't exist - LFS
I've been following along with the stable systemd Linux from Scratch and have got to the final chapter where we configure grub to make the system bootable. So I've run grub-install /dev/sda1 (/dev/...
0 votes
0 answers
273 views
Generate ISO based on LFS image disk file
After finish building a LFS system, installed on a IMG file (system.img) and being able to run the system with qemu with the command: qemu-system-x86_64 -hda system.img -vga std -m 4G I want now ...
4 votes
1 answer
35k views
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown block(0,0)
I have created a image file with this commands: dd if=/dev/zero of=linux.img bs=16M count=1024 cfdisk linux.img mkfs.ext4 linux.img and installed a linux system following the instructions from the ...
0 votes
0 answers
281 views
rtw8822 firware does not load for custom kernel
Hi I am building Linux From Scratch, I managed to get a working linux! but now I cannot get wlan0 working. When I boot ubuntu I can see the wifi is rtw8822be, so I enabled it in .config, recompiled ...
2 votes
1 answer
93 views
Bash stopped working after touching some files, can I recover from it? (LFS)
I am doing as a project for my university; the first phase is to build LFS with some extras; the last requirement I have to meet is to show the prompt, and there I found that I still had to do all the ...