Hi guys,
I’m looking for a base to build LFS on (Linux from Scratch).
I have following questions:
- What distro do you recommend?
- On a live or permanent install/ISO?
- Where to build, VirtualBox or physical?
Thanks.
Hi guys,
I’m looking for a base to build LFS on (Linux from Scratch).
I have following questions:
What distro do you recommend? I only use the live Gentoo ISO!!!
On a live or permanent install/ISO? This covers a lot of territory and the machine you are using to install LFS on had better have at 8GB ram and a i7 or equivalent or you will never get through the base LFS compilation.
Where to build, VirtualBox or physical? In my opinion, LFS and VirtualBox, do not play well together, it can be accomplished, but it is not easy!!! LFS on bare-metal, is a lot eaiser, but still time consuming, diffently, requires another PC for ssh.
I have not done it, but LFS and virt-manager may work better.
Virt-manager tends to be less troublesome in Linux than Vbox. Vbox works best in Windows.
Am not using Vbox in Linux, am using Vbox in W11!!! Have LFS SysV booting with Vbox am now compiling LLVM and Mesa. LLvm compiles right at 4000 cmake CXX files, it takes a little time!!!
Yeah, you know what you are doing.
The thing about Vbox is, it was designed for Windows and it works better in Win than in Linux.
Virt-manager was designed for Linux.
I wonder if we could develop a BSD-from-scratch? There is a challenge.
Oh, another important aspect - the Init. Which one to build? SysV or SysD one? And devel or stable-LFS?
I have tried both but after the base compile, SysV just seems to work better in BLFS!!!
Good! Does it have i.e. systemctl or where do I do configs?
None of those. Go for something modern.
What do you mean?
No Systemd in SysV!!!
I mean that sysV is an old init system with issues. Systemd replaced it , so systemd is better in some ways
but
Today there are newer init systems than systemd, and they are better again and should replace it.
IMHO the best init system today for home computers is dinit, followed by OpenRC. The best init system for servers is S6-66. S6-66 can do everything systemd does, without all the unwanted addons.
So if you are going to build LFS, use one of those.
You might have to source it from outside of LFS , but that is possible.
SysV is more stable than Systemd for LFS and one will run into more issues with Systemd!!! You might as well build Gentoo, if you build LFS with OpenRC.
Build it with dinit. That would be a new achievement
Compiling LLVM “[1124/8869] Building CXX objects”
Using Clang to compile LLVM with the “llvm-project” from git-hub!!!
To many errors when using GCC and CXX++!!!
Warnings or real errors?
I might try it, but problems are, the LFS book is fully optimised for either SysD or SysV.
That‘s not a problem, I can manage to get one, I think I have a portable Windows SSD, but need to check.
Oh yeah, you are getting off the main track if you try to use dinit.
I have never done a dinit install in a distro thst did not have it … I did do an S6 install once, with guidance.