What is an Operating system?
An operating system (OS) is a collection of software that manages
computer hardware resources and provides common services for computer programs. The operating system is a vital component of the system software in a computer system. Application programs usually require an operating system to function. They are usually made with programming languages like C, C++ and Assembly.
How does it work?
To put it simply, an operating system carries out two basic functions: (1) it serves as a manger for the hardware and software resources held in the system and (2) it deals with hardware without the applications having to know every aspect along the way.
If you are interested in knowing more than Howstuffsworksmay help you.
So How can I make my Own OS?
Nearly every true computer geek has, at some point, wanted to write an operating system. However, writing a custom kernel and other bits takes years of study, experience and patience. If you intend to keep your sanity,then may be I could help you today.
Instructable | http://www.instructables.com/id/Create-your-own-operating-system/step2/Creating-the-project/
Got any question? We are always here for you.