I started making LFS on Ubuntu using terminal on the host machine. I did not use Virtual Box or any other similar software. Later, to give more space to the LFS, I deleted the Ubuntu using a disk partition tool, it means that till I had made a GUI and a web browser, I had to type in every command of the book from my phone. This is how I managed to have only one OS i.e. BLFS on my laptop.
I thought again about it and now I just want to transfer the BLFS into another machine. If I tar up the whole system and untar it on an empty partition then I think that I would have to download `Super Grub 2` as it can search for all the operating systems in all the partitions. On Wed, Dec 9, 2020, 03:38 Scott Andrews via blfs-support < [email protected]> wrote: > On Tue, 8 Dec 2020 14:55:44 -0600 > Bruce Dubbs via blfs-support <[email protected]> > wrote: > > > On 12/8/20 2:29 PM, Scott Andrews via blfs-support wrote: > > > On Tue, 8 Dec 2020 14:03:51 -0600 > > > Bruce Dubbs via blfs-support > > > <[email protected]> wrote: > > > > > >> On 12/8/20 1:22 PM, Scott Andrews via blfs-support wrote: > > >>> On Tue, 8 Dec 2020 12:33:48 -0600 > > >>> Bruce Dubbs via blfs-support > > >>> <[email protected]> wrote: > > >>> > > >>>> On 12/8/20 12:00 PM, Scott Andrews via blfs-support wrote: > > >>>> > > >>>>> The only sane way ( successful way ) to build LFS for it to be > > >>>>> installed onto other machine is to.... > > >>>>> > > >>>>> 1. Use a package manager > > >>>>> > > >>>>> 2. Build ALL the packages in a clean chroot > > >>>>> > > >>>>> 3. Create a base system of packages and all the add on > > >>>>> packages needed. You have to merge LFS and BLFS > > >>>>> together. You will have issues with controlling dependencies > > >>>>> between the various packages. > > >>>>> > > >>>>> 4. Build an installation script to install the binary > > >>>>> packages from the package manager (repository). Formatting a > > >>>>> drive and installation of binaries going to the formatted drive > > >>>>> included in this step. > > >>>>> > > >>>>> 5. Fix up the configuration files for each machine. > > >>>>> > > >>>>> 6. Transfer drive to the target machine. > > >>>>> > > >>>>> 7. A way to update the target machine(s). > > >>>> > > >>>> > > >>>> Not true. You can tar up the LFS system and untar it on an empty > > >>>> partition on the target machine. One caveat is if the target > > >>>> machine is less capable than the build system, you need to build > > >>>> gmp generically. > > >>> > > >>>> > > >>>> Other minor things are to change the host name, ip address, > > >>>> fstab, grub.cfg, and maybe unprivileged user(s). Also any > > >>>> kernel modules and (potentially) firmware for the target system > > >>>> must be available. > > >>>> > > >>>> -- Bruce > > >>> > > >>> That is a straw man argument and you know it. > > >> > > >> It is not. I've done it. I didn't say your way doesn't work. > > >> It's just that using tar does not require the overhead of a package > > >> manager. I does require you to know what you are doing. > > >> > > >> -- Bruce > > >> > > > > > > It is NOT an answer that the OP is looking for, nor is it a process > > > the OP could be successful with. > > > > > > How does grub get installed correctly? > > > > From the host: > > mount virtual file systems > > chroot into the LFS system > > grub-install > > > > > If the PARTID or UUID is different does it work? > > > > I said you have to edit grub.cfg. > > > > > UEFI, BIOS? something else? > > > > > > Grub config setup to work? > > > > > > Again the OP is looking for an iso ( or something like that ) that > > > he can install and have it boot. Your answer is woefully > > > incorrect. > > > > It is not incorrect. It is different and requires some manual > > configuration. > > > > > My method works as described, batteries are included, yours ????? > > > > I will not respond to any more replies. > > > > -- Bruce > > > > I will not post here starting 12/09/2020....Too hostile > > Good luck with LSBTools > -- > http://lists.linuxfromscratch.org/listinfo/blfs-support > FAQ: http://www.linuxfromscratch.org/blfs/faq.html > Unsubscribe: See the above information page >
-- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
