Beyond Linux from Scratch
linuxfromscratch.org
linuxfromscratch.org
Even just skimming the passages about security and other bits now, this is still an epic resource to get real grounded knowledge about pieces of the complex systems I can merely use nowadays.
Automation is key here. Check dependencies, download archive(s), unpack, apply config options, compile, run tests, (optionally) build binary package, install: it all has to be automated or it quickly becomes unworkable.
I'd love to see more built-from-scratch OSes that include development tools, do something useful on modern hardware, but are small(er) to the point that it's easier to wrap one's head around the whole. Think Forth-based with a simple GUI, Oberon, Plan 9, Inferno or similar.
If you get it working, lfs may consider making it an experimental flavor, like they did with the RPi version.
If you’re not, are you wanting a small, simple Windows install, or are you wanting to know more about how Windows is designed and works?