No.878
linux from scratch might be something to look into
http://www.linuxfromscratch.org/ No.879
I would recommend first looking into ASM DOS development, because you can mostly ignore the OS and interact direcly with the hardware. If you want to use protected mode making your Kernel multiboot compliant makes everything a bit faster. Also you need to learn Assembly, at least some bits need to be written in Assembly (and some parts are easier or need some ASM glue, like ISRs). The OSDev Wiki has quite good tutorials for beginners as well.
Books:
Operating Systems: Design and Implementation
The Indispensable PC Hardware Book
Links:
http://wiki.osdev.org/http://www.sandpile.org/https://www.gnu.org/software/grub/manual/multiboot/multiboot.html