DEV Community

Cover image for ErfanOS
Mr 3
Mr 3

Posted on

ErfanOS

ErfanOS: The Path to Total Control

ErfanOS is a custom OS project by ErfanKeyhani-1 (Me) aimed at ditching the need for government-controlled and corporate-run systems. It’s a completely DIY operating system that boots up with a custom assembly bootloader, runs in 32-bit protected mode, and has a C-based kernel. You can test it on QEMU, and it’s all about total freedom. The goal is To build a fully functional OS, one piece at a time.

Why ErfanOS?

Sick of bloated systems that track everything you do? ErfanOS is built to put the user back in control. It’s lean, it’s fast, and it’s open-source. This project is about freedom—freedom from surveillance, control, and unnecessary features. The OS started with a basic kernel that could print out "Welcome to Freedom" on boot, and from there, it’s growing into a serious contender (at least hopefully).

Current Features:

  • 32-bit Mode: Runs in protected mode, allowing more memory access than 16-bit.
  • Custom Bootloader: Loads the system into memory and hands control over to the kernel.
  • Basic Kernel: Written in C and some assembly, capable of basic functionality like text output.
  • QEMU Testing: Can be run and debugged in a virtual environment.

Recent Struggles and Future Plans

Recently, I have been wrestling with implementing a keyboard driver, which caused some setbacks in the kernel. However, that's part of the grind, and there’s no stopping the progress. Once the basics are stable, ErfanOS will eventually move to 64-bit, with plans for a file system, multitasking, and more.

What's Next?

  • Keyboard driver fix: Gotta get input working smoothly again.
  • 64-bit Transition: Move to the future with better memory management and performance.
  • Multitasking & File System: Create a fully functional OS capable of handling multiple tasks and organizing files efficiently.

ErfanOS is all about learning by doing, and if you’re into low-level system programming, OS dev, or just like sticking it to the man, it’s worth checking out.

Link to project: ErfanOS on GitHub

Top comments (0)