I've also created a boot loader with a native bootable disk image creator tool.
https://news.ycombinator.com/item?id=49685301
My solution is a single, dependency-free, multiplatform CLI tool, which Just Works (tm). It's like using zip or tar from command line, as simple as possible. 100% AI-free.