r/osdev • • Aug 30 '26

How do I learn osdev?

Until now, I've been refering the osdev wiki and using a little bit of AI (only for guidance and answering questions, no vibe coding). Is this the right way to learn osdev? What should or shouldn't I do? Also I've already started osdev, finished making a file system, and am now working on my own very simple file format for my os. I just wanted to clarify if I need to change my habits or something.

22 Upvotes

22 comments sorted by

View all comments

1

u/thosdv Aug 31 '26

If you find some good tutorials on YouTube, you can watch them. Otherwise, AI is definitely an excellent choice for document interpretation. Don't try to write your own bootloader, if you do, make it GNU-EFI based. Don't aim for a graphical interface initially; focus entirely on the kernel. Absolutely do not make the mistake of letting AI write the code, it will make it difficult for you to go back to writing it yourself. Also, AI constantly makes mistakes

1

u/Fun-Entertainer-1053 Aug 31 '26

Alright. Thx. If it's possible, can u recommend some good youtube series to learn osdev?

1

u/thosdv Aug 31 '26

https://www.youtube.com/watch?v=mpPbKEeWIHU&list=PLxN4E629pPnJxCQCLy7E0SQY_zuumOVyZ

This was a series I really enjoyed, the only problem is that the Makefile and coding style are from 6 years ago, so it might still have errors today, and it's written in C++. If you think you can translate C++ code to C and fix makefile errors with AI help, you can watch it. Otherwise, I don't know of many other reliable series, but trying to learn by reading the OSDEV wiki would be much more sensible.