You have put things in a perfect manner. I appreciate that clarity. Thanks for that.
As on Aug 2020, we had some old shell scripts that would automatically download sources, build them in LFS way(Linux kernel 3.x), create ISO with installation scripts as well.
Then we wanted higher version of Kernel and other packages, those scripts didn't help and we also didn't know what those scripts are doing in different stages. We know how to write programs but didn't know about underlying things. Hence I started this learning.
I learned the following things from LFS 10 and other sources.
- How to create tool chain for X86_64 target system
- How to build basic tools using tool chain
- how to create file system with directory structure
- How to build development packages such Perl,Python etc
- How to build application packages
- How to build kernel
- How to build default init scripts - /etc/rc.d etc
- How to update grub
As mentioned earlier I didn't create partition to build LFS system. Remaining things are how to create ISO and installation script. These things I have to try and understand so that in future I don't have to struggle again though we use other Linux distributions as well.
From LFS hints I see following steps
1. What do you need and what is the idea?
2. Configure & compile Kernel, add packages, other tweaks
3. Add bootloader.
4. Move /etc /var /root /home to /fake/needwrite and make symlinks
5. Create boot script which mounts the ramdisk
6. Tweaks for running with CD as root fs.
7. Create initial ramdisk
8. (Optional) compress /usr
9. Create initial ramdisk
9a. Burn the Boot CD
10. Reboot and enjoy
Let me try
www.linux-live.org as well and get back.