Skip to content

manu-r12/RustOS

Repository files navigation

Rust OS

Rust OS Logo

Team Members

  • Manu – Systems Developer
  • Ayush – Memory & Process Management
  • Manish – Bootloader & Architecture
  • Adnan – Debugging & Optimization

Resources We’re Using


Inspiration

This project is fueled by our curiosity to deeply understand how systems work under the hood.
We aim not only to build but to truly understand every piece of the stack — from booting the hardware to managing processes and memory.


About the Project

Rust OS is a fully handcrafted operating system project, built completely from scratch using the Rust programming language.
We have successfully completed all major components of the blog_os tutorial and are now taking the next steps: extending the OS with advanced features like a basic graphical interface and a simple filesystem.

Our journey so far:

  • Bootstrapped with a custom bootloader
  • Set up memory management (heap, paging)
  • Implemented interrupt handling and basic multitasking
  • Built dynamic memory allocation without a standard library
  • Added process/task switching and timer interrupts

Current Focus

We are now extending the operating system with:

  • 🖥️ Basic GUI: Framebuffer graphics, simple windows, mouse cursor
  • 📂 Simple Filesystem: In-memory filesystem with basic file operations

Tech Stack

  • Language: Rust
  • Bootloader: bootimage
  • Tooling: QEMU for virtualization, Cargo for building
  • Architecture: x86_64, arm (coming soon)
  • Framework: no_std environment

How to Build and Run

Prerequisites: Rust nightly, QEMU, bootimage

# Install Rust Nightly
rustup override set nightly
rustup component add rust-src

# Install bootimage
cargo install bootimage

# Build the OS
cargo bootimage

# Run it using QEMU
qemu-system-x86_64 -drive format=raw,file=target/x86_64-blog_os/debug/bootimage-blog_os.bin

About

⚙️ A simple operating system built from scratch in Rust.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •