Skip to main content

Questions tagged [lfs]

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

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 ...
user943998's user avatar
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 ...
Kyrie Cheng's user avatar
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 ...
Crazegi Contact's user avatar
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, ...
noxen's user avatar
  • 1
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 ...
Crazegi Contact's user avatar
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-...
Jean-Loup Sabatier's user avatar
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) \ --...
lfsthrowaway's user avatar
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-...
lfsthrowaway's user avatar
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/...
ScottishTapWater's user avatar
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 ...
jrima12's user avatar
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 ...
Kleber Mota's user avatar
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 ...
Kleber Mota's user avatar
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 ...
exebook's user avatar
  • 202
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 ...
Joan Casals's user avatar
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 ...
rando's user avatar
  • 125

15 30 50 per page
1
2 3 4 5
13