Well, can you type in some text before you hit the upload button.
That would give people some idea what it is about
You are missing out on reads because people cant fathom it.
Have to have qt6 to get the GUI for the VLC/XFCE DE, so I used the “vlc -I ncurses” command for the CLI for and a “ B “ to navigate “ enter “ to the “ OGG “ file I wish to play !! You also have to have “ CONFIG_SND__HDA_INTEL=y and the CONFIG_SND_HDA_GENERIC=y “ for LFS VirtualBox to play audio, and virtualbox has to be set to “ intel hd “
It is VLC that nees qt. Xfce uses GTK.
If you used Celluloid/mpv, or MPV alone, instead of vlc, you could get away without qt.
Yes, I know, both are working now, but is it worth the trouble to give VLC a GUI !!! I like VLC because it plays my mp4 video files!!
I needed to modify one accounting app (only App image available) from qt5 to qt6 on my Gentoo. Took a bit time to find the appimage’s dependencies, find the tar file etc and to make an ebuild for portage which worked. I used Google’s Gemini for trouble shooting. I hope we don’t have qt7 soon!
I had some old imaging software that required qt5, and I had to go backwards, but not in Gentoo.
My journey with LinuxFromScratch has finally succeeded with a VirtualBox VM running XFCE!!I first installed a Gentoo VM and used it for the host to build LFS, with Gentoo and LFS on separate VDI’s and booting LFS with Gentoo grub!! While the base LFS, is not that hard to build, taking LFS into the minefield, called BLFS, can be, intimidating, to say the least!! For any Linux user, that wants something, that is not the product of someone else’s labor, then build your own Linux!! It is doable!!!
Let me get this straight….. Gentoo and LFS are both VM’s, so the host running Vbox must be Win11 . Correct?
And the whole thing is in your new youbeaut Win11 PC ?
And you moved to there , because all the compiling took too long in those older PC’s that you first tried LFS in?
Have I got it right?
Lets all give @4dandl4 a big cheer. That is a huge effort. It demonstrates that open source gives you freedom to build your own Linux, if you so desire.
Well done Daniel, and thank you for showing us.
Close W11 is the host for VirtualBox!!! You set up VirtualBox with two VDI’s and they become /sda and /sdb, you install Gentoo on /sda, with the sys-kernel/gentoo-sources kernel and do a manual kernel config!! Why, because the sys-kernel/gentoo/sources does not drag in what isn’t needed, and you can make sure, the needed tools to build LFS are built in the Gentoo kernel!!
Once Gentoo is built you mount /sdb as /mnt/lfs and partition /sdb !! I now have /sources dir with 94 packages, to build the LFS base and /sources/BLFS dir, with 356 packages for building LFS, for what it is now!!
W11 is also used to ssh into LFS, to give me copy and paste for commands to build LFS!!
OK, I get it … two linuxes in one VM. Yes I remember now from when you started this 6 montha ago.
So LFS building requires more than the usual build-tools package?
Takes a little time to actually build Linux !!
Almost any distro will build LFS, but some require packages to be updated or installed!! Gentoo, for the most part, already has most of the tools required, it just has to compiled and installed and updated in VirtualBox for the host for LFS!! On bare metal, a live usb can be used to install LFS, but it needs to be a persistent usb!!
Some more questions
- why is the Gentoo build process different from the LFS build process.
- other distros that build binary linuxes … do they each have a build process? Are they all using different build processes ?
- what is unique about the LFS build process?
- I the old days in BSD, you. collected all the source code in the /usr/src directory and typed
make… then waited. Why has it got more complicated?
I am asking so people will get some idea of ways to build DIY linux versus ways to build a distro.
Gentoo is just the host for building mounting and building LFS!!
other distros that build binary linuxes … do they each have a build process? Are they all using different build processes ?
Other distros have software to build and install the distro, LFS does not!!
You build LFS from a host, that has the tools for the LFS build!! You build LFS from a dedicated LFS user, until Chapter 7 and you then chroot and build the rest of the LFS base!!
other distros that build binary linuxes … do they each have a build process? Are they all using different build processes ?
You compile LFS from tarballs, there is no “make” command and then just wait, each tarball is extracted using “tar -xvf >tarfile<“ “cd >tarfile< “ls” and run the make commands!!
This is how it’s done when not using any package manager on Linux. It’s the same process with BSDs too. You may need to edit the config file before make. I think Neville was explaining it also. If we think the Gentoo install we download the stage3 which has all the needed tar files for building the system where you can chroot. So it’s similar to LFS but more automated. On LFS you download every tar file and do manual make. (Maybe you can download the files as a bunch I don’t know)
I doubt it, the LFS Systemd-13.0 book has no provision for that!! You can use wget and get a wget-list and download all the tarballs and patches, needed for the LFS base install, but again each tarball is installed separately!!
OK … first big difference … LFS is build by hand
So it is just like the way BSD used to be built. … only Linux is a much bigger heap of source code than old BSD, and you have to do it in stages.
In old BSD , the BSD binary was both the host and the recipient of compiled code.
I imagine the very first compile had to be done from some other host … just like LFS.
OK, so every distro’s build will be different… Void actualy publishes its build script … it goes right down to putting together the. .iso file.
What are you doing, with what looks like a gentoo vm!!
Yes, I made a Gentoo VM inside my Gentoo to try to build LFS. I just can’t get the copy + paste from host to vm to work. So I now try to make a window manager (Sway) for my virtual Gentoo so I can open a browser to read the LFS handbook.
Edit: Sway is now running. Needed to modify the make.conf, add VIDEO_CARDS=”intel” and then re-emerge the linux-firmware and gentoo-kernel-bin
Here’s a screenshot
If you have Gentoo installed, why not just make a partition and mount it as /mnt/lfs!! I know KVM/QEMU will work for LFS, but I mostly use Windows 11 and virtualbox!!



