Hello osdev
I’m autistic and sometimes have trouble articulating what I’m trying to say, so I used AI to help me phrase things more clearly. I’m not trying to fake anything or waste anyone’s time—I just want the technical discussion to be understandable.
I’m building a custom OS on top of Linux and I’m stuck on a bootloader / chain‑of‑trust issue:
- It boots fine as a live OS (from USB).
- When I install to disk and boot from metal, I get kernel panics and trust‑chain failures.
- My guess is that I messed up the shim / Secure Boot chain. I did not write a proper custom boot shim, and I have no prior experience doing that.
- I do have a custom runtime/governance layer (PID1, manifest, etc.), which might be interacting badly with the boot chain.
What I’m looking for is real, technical help from people who’ve actually:
- written or modified a shim
- dealt with Secure Boot + custom manifests
- debugged “works as live image, panics when installed” boot issues
I’m happy to share logs, code snippets, and exact boot flow details. I don’t need sugar‑coating, but I’d really appreciate people assuming good faith—I’m trying to learn and ship something real, not posture.
If you’re willing to help me walk through the boot chain step by step, I’d be very grateful.