Questions tagged [lfs]
(LFS) - Linux From Scratch is a Linux distribution that you build from source (scratch) piece by piece.
195
questions
0
votes
1
answer
19
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
23
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
27
views
Cannot install working grub on LFS Linux
I have been trying to install grub for my LSF Linux but I feel a bit lost. That is because every time I install it (no errors shown) it doesn't boot my os but grub rescue shell. I tried searching for ...
0
votes
0
answers
46
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
56
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
94
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
209
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
728
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
1k
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
31
views
Beyond Linux from scratch 11.3 p11-kit not installing using Freebl library
I am going through the BLFS manual. I installed p11-kit-0.24.1 successfully. I then went on to install NSS-3.88.1 also successfully. When I went back to install p11-kit to make use of NSS, ninja ...
0
votes
0
answers
165
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 ...
3
votes
1
answer
26k
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
166
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
77
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 ...
1
vote
1
answer
816
views
Unable to mount root filesystem in LFS
Lately, I've been building an LFS [Linux From Scratch] system for my Raspberry Pi Single Board Computer, and I'm currently on the very last step. I'm attempting to compile Linux 5.19.2 from the ...