So what is it that makes up an operating system? (I really don't have a clear cut answer: Too many possible ways to slice things).
By mentioning the idea of skipping the boot loader and kernel, you make it clear that you're experimenting with something less fundamental; so just pick a utility and write it. How about a linker? An editor? A (GUI or command line) shell? A music player? ... the possibilities are endless.
P.S. The first hit from Google for create Operating System
griswolf
Veteran Poster
1,165 posts since Apr 2010
Reputation Points: 344
Solved Threads: 256
OK. As will any programming project, start with a sketch of something, get it running, then extend the sketch until you've matched the specification or run out of time.
Alternatively, and easier, "steal" the kernel code from a Linux distro, and write your own, based on what you see that it does. You can also see how it gets compiled since (at least some) distros are designed to be tuned and (re)compiled for your particular system.
Don't forget the meta issues: Be sure you have source control so you can get back to a useful place; and be sure you write tests so you know it works.
I recommend not trying to use a virtual box for this. There are cheap old computers readily available. If you lived near me (you don't), I'd sell you an old Dell very cheap.
griswolf
Veteran Poster
1,165 posts since Apr 2010
Reputation Points: 344
Solved Threads: 256
For booting, I would recommend you take and use the GRUB bootloader. Study it and figure out how to launch a kernel with it. Then, you can start making your own kernel. Start small and go incrementally.
Making an OS is definitely one of the hardest things to do. Make sure you have a well-planned idea of what exactly you want to do, and try to reuse as much as you can (for example, you should probably try to be able to reuse drivers from another OS, like Linux). You should also comply to a standard API, like POSIX.
mike_2000_17
Posting Virtuoso
2,134 posts since Jul 2010
Reputation Points: 1,634
Solved Threads: 457
rubberman
Posting Virtuoso
1,564 posts since Mar 2010
Reputation Points: 277
Solved Threads: 179