+ 3

Please pals am a toddler in programming and am learning how build an OS from scratch, please where do I start as a beginner?

Operating System

5th Jul 2018, 8:12 PM
Victor Nwosunneji
Victor Nwosunneji - avatar
9 Answers
+ 16
If you are "toddler in programming" why do you need to build your own OS from scratch? It is not an easy thing to do. You must be very experienced programmer to do this.
6th Jul 2018, 9:34 AM
Igor Makarsky
Igor Makarsky - avatar
+ 4
An OS will take a lot of experience and knowledge to make, work your way up to it.
6th Jul 2018, 4:04 AM
Caleb Hale
Caleb Hale - avatar
+ 4
Victor Nzube Yes you can build an OS, but it'll take years of programming experience, an expert understanding of the desired architecture, etc. I'd recommend reading this: https://wiki.osdev.org/Beginner_Mistakes You can start experimenting by modifying an existing Linux distro like nonzyro said. Just make sure to run it in a VM so you don't harm your computer.
9th Jul 2018, 12:10 AM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
+ 3
There's a _big_ difference between "OS Programming" and "Making an OS". Linus did _not_ make what you call "Linux". He wrote a kernel (which was tiny compared to today). At the same time the GNU people had written a whole collection of software to create an OS and were working on a kernel. Someone decided to get Linux and GNU working and ta-dah, a Unix-alike OS. Hence GNU/Linux or Lignux being preferred terms. Do you know how many people maintain the GNU utils and contribute to the mainline Linux kernel? Writing a "complete" OS is different from getting a glorified hello world ASM program to load in an emulator.
9th Jul 2018, 12:11 AM
non
+ 2
1.Learn some networking, frameworks there are many to choose from. 2. Choose your language and go wild.
5th Jul 2018, 9:11 PM
Anthony Perez
+ 2
You cannot build an OS until you have decades of experience and understand how the parts of an OS come together and interact with hardware. At the least, know how a CPU works. NB: If you can boot into an interactive CLI it will be a serious achievement. If you want to make your own OS simply for the perceived shortcomings in others, start by building off an existing Linux distro, example Debian. To do this properly you'll need to be a very capable sysadmin.
5th Jul 2018, 9:28 PM
non
+ 2
I hate the break it to you, but you're not going to be successful building an OS. Building an OS is one of the hardest things to do. It requires decades of experience minimum. I wouldn't even attempt it without proper experience first because you could end up ruining your computer.
8th Jul 2018, 4:32 AM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
+ 2
Victor Nzube , don't worry. It may be complicated but as long as you stick with it you can do it.
8th Jul 2018, 10:36 PM
Caleb Hale
Caleb Hale - avatar
+ 1
Why is everybody telling me that OS programming is so difficult? I am 18years old boy learning programming and my dream is OS programming but I'm scared of people's speech about the way of OS programming. I don't know where to start and I don't know what to do again.
8th Jul 2018, 10:26 PM
Victor Nwosunneji
Victor Nwosunneji - avatar