You mean like Tenenbaum's books Modern Operating Systems and Operating Systems Design & Implementation? Or something more like Design of the UNIX Operating System? There are literally tons of them on Amazon!
...Y'know, I'd be interested in buying a good book on writing an OS, if anyone wants to write one and put it up on Amazon.
...Alright, which one of you is right?
And along the way it also gets very frustrating because there are virtually no resources available online or in book stores to help you.