MINIX from Scratch
I promise that this is a good-faith question: is MINIX still the best OS teaching tool? Personally, I enjoyed the lectures of <a href="https://rust-class.org/" rel="nofollow">https://rust-class.org/</a>, though the Rust code itself may be a little outdated (it's from 2014).