RustOS
A rust based kernel and bootloader
Install / Use
/learn @SanderJSA/RustOSREADME
RustOS
A pure Rust and inline assembly x86_64 kernel with a custom bootloader with as few dependencies as possible.
Features
- A custom two stage bootloader that loads the kernel, enters protected mode, sets up paging and then enters long mode
- Interrupts
- Page allocation
- VGA driver
- PS2 Keyboard driver
- ATA driver
- Support for unit and integration tests executed on the target system
Requirements
Can be compiled on any Operating System with the following dependencies:
- Qemu
- Rust nightly
rustup default nightly - Llvm-tools-preview, rust-src
rustup component add llvm-tools-preview rust-src
Getting Started
This might be one of the easiest OS to get up and running
git clone https://github.com/SanderJSA/RustOS.git
cd RustOS
cargo build -p kernel_runner --release
cargo xrun Compiles and runs the OS in release mode on qemu
cargo xdebug Compiles and runs the OS in debug mode on qemu
cargo xtest Runs unit and integration tests
Resources
This project wouldn't have been possible without these ressources:
Related Skills
node-connect
343.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
90.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
