How to make Operating System | Sololearn: Learn to code for FREE!


How to make Operating System

After learning C/C++ and Assembly language from where to start learning building Operating System??

7 Answers

New Answer


"A Hard Truth No one who isn't already a seasoned developer with years of experience in several languages and environments should even be considering OS Dev yet. A decade of programming, including a few years of low-level coding in assembly language and/or a systems language such as C, is pretty much the minimum necessary to even understand the topic well enough to work in it." For more information on operating system development see


@HBhZ_C No it does not require a good linux system, or nasm, or require a boot sector to create an operating system. I have written operating systems using a selection of cross assemblers and compilers for several different architectures. None of them were written on linux or used nasm.


Your time maybe better spent on other projects unless you are capable of something ground-breaking.


I have try sometimes but it requires a good linux system to run a nasm files with boot sector and other functionality written in c and assembly code.Loock for a simple youtube channel to build an os from scrach.If you have a good knowledge in assembly you can do it.


I wish writing codes for building an OS would be easily available on YouTube.. Although I got to hear some jargons in my 1st semester, subject Operating System, I read something in a reference book named Mordern Operating System by Andrew S. Tannenbaum Which had quite explanation on breaking down operating system, which tells don't run for OS straight, learn the basics of C, assembly Language, start writing small codes. Then gradually proceed for learning memory allocation, system calls, thread and processes, routines, synchronisation mechanism, much more fundamentals.. And then after some more long list comes to the development.. Start by writing small compilers, kernel, bootloader, and again the list goes on


This is a bit off topic for the question, but Rust is a programming language that is very safe and rising in popularity. It is very good for low level development, which includes OS building.