Well I broke the Vbox LFS install, which I knew I would, but gained some info!!
While LFS, can indeed be compiled in Vbox, the only problem, and a game-breaker, is the virtualbox-guest-additions, that Vbox is in need of to work correctly, and LFS, has no tarball for the vga!!!
Unless you do what I did and break LFS!!! One can indeed create a vga cd and mount it in LFS and ./ the vga .run, but the next LFS boot will be so full of errors, it will break LFS. So I guess this takes me back to plan b, whatever that is!!!
Can you steal the vga source code from Debian or Gentoo and compile it in LFS?
That would probably do no good!!! LFS only supports the compile to Vbox, not the Vbox addons.
I dont get it.
In virt-manager the guest additions are just another program called ‘spice-vdagent’ that you install in the guest.
Can you not install the vbox guest admditions in the guest?
No!!! LFS does not work that way!!! I could have ran the Vbox install, but without the vga, it would be severely restricted.
Well, how do you add software to LFS.?
You must be able to copy in a binary and put it in a bin directory?
All software has to be compiled using tarballs!!!
I dont believe it.
It is linux. You can just use gcc to compile something. You can copy files anywhere you want to install things.
Maybe this is already clear to you but I searched virtualbox guest additions for LFS and found this:
https://forums.virtualbox.org/viewtopic.php?t=69402
And some scripts:
https://www.virtualbox.org/ticket/758#no1
The download page has a .iso file but I assume you can’t use it:
https://download.virtualbox.org/virtualbox/7.1.0_BETA1/
And also found this (a package manager for LFS)
Please note: I haven’t used LFS so these are just some searches for LFS and package manager
Well, here I am. and my fascination with compiling LFS!!! I have decided to use my Dell Inspiron 15 laptop, update the ram to 16GB, and use the i3 cpu to compile LFS, the only problem I see will be GCC
Already have Gentoo compiled and working
My Linux partitions for Gentoo, the unallocated will be used for LFS.
@Skywalker71 these are the Linux partitions I need for running Gentoo, you can use gparted, cfdisk or even parted to create the partitions, you then create mount points to mount the partitions, Windows will not do this.
Actually I used Windows to partition the SSD I am using dedicatedly for Linux only, into 2 primary partitions because I thought if that would be a single disk with ‘UNALLOCATED’ partition, Linux may not ‘see’ the disk in the first place because as a newbie my concepts are primarily based on Windows behaviour. So, first I partition the disk into two partitions in either exFAT or NTFS file system. Then while installing Linux, I first delete the partition in which I will install Linux and reclaim the space i.e. make a partition and format it with ext4, always as this filesystem is widely used by almost every Linux distros which I have seen so far and tried to install and then I install Linux into it. But as you have advised, I will again partition using gparted from a live USB and then I will install either Debian or any other derivative of Debian and Fedora. But this will be the last try. If it be successful, then okay. If not, then I will stick with Fedora and will move on as I am an user mainly, not an experimenter and I am losing valuable time and I am getting distracted from my original goal of use Linux for all of my works like website and web app development, photo editing, video editing, sound editing. I have to spend lot of times to search for proper alternatives of Adobe applications, make them work in Linux, specially in Fedora (as it is working with all the embedded hardwares) and learn them thoroughly. That needs a significant amount of time and till I linger with tinkering the dual boot problem, I will have less time to spend on my primary goal. I think you will understand.
Why in the world would you Windows to partition a Linux Disk? And what filesystem did Windows use for your partitions?
Please read the whole post. I have explained in detail what did I do.
I did, and the first mistake was using Windows, forget Windows when it comes to installing Linux.
So you have Fedora working?
And at what point, and just how are you doing this? Are you still using Windows or are you booting with a live Fedora?
I understand. What has to be done, has to be done.
Yes. Fedora is working.
When the Fedora installation starts, after selecting the language and keyboard layout, it gives option ‘Installation destination’. When I click on it, it shows the disk(s) to choose from, in my case it is a single disk with two partitions and the disk was preselected. Then I click on ‘Done’ button on the top left corner and then Fedora shows a window with a button named ‘Reclaim space’. When I click that button, it opens another window which shows all the partitions on the disk. There I select the partition, click on ‘Delete’. It deletes the partition, virtually, and shows the total disk space is going to be allocated for Fedora and again a button ‘Reclaim space’. I click on that button and it then physically deletes that partition and installs automatically. Now with the Fedora 41 this scenario has been changed a bit. Now, in the ‘Installation destination’ window, I can choose the filesystem, btrfs, ext4 and mountpoints. This time I changed the filesystem from btrfs to ext4 and installed Fedora. After installation, the grub menu is showing Fedora 1st and Debian below it but when I try to enter Debian, it shows this:
Then I press any key and it goes back to the grub menu but if I now try to enter Fedora, it shows the same error. Then on the grub menu page, I have to go to command-line and which shows
grub >
and I have to type reboot to reboot the PC and after rebooting, I have to let Fedora boot automatically. If I press enter with Fedora entry selected, it will again show the above error. Looks like at this point, Fedora doesn’t want any human interaction while booting. Have they integrated an AI?
I have two separate SSDs, one dedicatedly for Windows 10 and another dedicatedly for Linux. I use BIOS to choose in which disk I want to boot into.
Does the Linux disk have its own EFI boot partition?
Have you put the kernels and initrds of both OS’ on that single boot partition? Grub needs to have the kernel and initial ramdisk available so it can boot the OS’.
I don’t know which install script is smarter, that of Fedora or Debian, but one of those (if not both) ought to be bright enough to just add an entry to the grub menu, install the kernel and initrd, and leave it at that. If you want two distributions, you may need to figure out how to manage grub.
If you are having to use the bios to choose which OS boots then Fedora is not working!! Could you please post a screenshot of your Linux disk!!
I have decided to postpone this dual booting project as it is distracting me from my primary goal. Please read my post here: How to dual boot Debian 12 with existing another Linux installation by manual partitioning? - #107 by Skywalker71 and thank you for trying to help. I will need it in my way of learning Linux.