Questions tagged [linux-from-scratch]

Linux From Scratch (LFS) provides step-by-step instructions for building a custom Linux system from source. Do not confuse this tag with the git-lfs tag.

Linux From Scratch (LFS) provides step-by-step instructions for building a custom Linux system from source. Use this tag for build problems, alternative compile time options and system integration questions.

141 questions
-1
votes
2 answers

How do I get an initrd made out of a cpio archive loaded as the root device by grub2 in a distro-agnostic way?

I'm building an LFS (Linux From Scratch) system in a VM and so far I've managed to get a workable, desktop system, booting from a known device, /dev/sda1 in my case. I'm now trying to make a live system that boots from an ISO image. Instead of using…
-1
votes
1 answer

How can i change yacc to bison (LFS)

I'm currently working on LFS, and have to change yacc to bison. I have tried to install bison, but it did not change anything. this is what i have : /usr/bin/yacc -> /etc/alternatives/yacc and this is what i need /usr/bin/yacc ->…
Lukas.S
  • 41
  • 6
-1
votes
1 answer

missing gd.h header error while building iso via LFS 7.5

I am trying to build centos6 based iso via LFS 7.5 technique. While preparing glibc for compilation (page 38) i am getting error( log at link) "fatal error: gd.h no such file ..." , though the header file is present in my /usr/include. any solution/…
puneet336
  • 433
  • 5
  • 20
-1
votes
1 answer

Can we create Custom Operating system that supports any application?

Can I create a custom operating system that supports both Windows and Linux applications? How can I do that and what knowledge should I have? Is this a good start? Thanks.
gabriel
  • 257
  • 2
  • 4
  • 12
-2
votes
1 answer

Lfs 8.4 ch8. 3 : kernel config fail

I am currently following the book Linux From Scratch v8.4, i am at the kernel configuration part, part 8.3, and when i run make defconfig or make menuconfig, i have this error: ... YACC scripts/kconfig/zconf.tab.c bison: m4 subprocess failed: No…
Stephane
  • 153
  • 1
  • 10
-3
votes
2 answers

Terminal only shows $

I tried building my own linux distribution and I follow the Linux From Scratch book. When I tried entering the following commands in bashrc. set +h umask 022 LFS=/mnt/lfs LC_ALL=POSIX PATH=/tools/bin:/bin:/usr/bin export LFS LC_ALL PATH After…
abinesh s
  • 87
  • 1
  • 2
  • 14
1 2 3
9
10