I'm interested in just a barebone system that can boot, and that's all. Do you know any resource so I can document myself? The programming language doesn't really matter, as far as it's not ASM I'm not interested on kernels already built, like LFS book or any pre-build software. Thanks!
Can start here: http://linuxgazette.net/issue85/mahoney.html It deals with building an OS. Course I don't know if that's what you want or if you after building a bootloader, which is a project in itself. Lots of links at the end of the article pointing to better sources for the information you are after.
Well, I told that I don't want to build a LFS system (in which the kernel is already built). I want to write my own from line 0 of code
Look at this page, it should help you alot. It comes from the page I linked to earlier. Resources exist for what you want, Plus you might want to give a clearer idea of what you want after it boots. A simple command line environment? I'd lay odds you will have to do ASM at some point before you could switch to C code. http://www.nondot.org/sabre/os/articles