Germanymaxdev1/ghost
Ghost, a micro-kernel based hobby operating system.
👻 Ghost OS: A From-Scratch Microkernel Desktop
A hobby OS, not Linux, not BSD — built piece by piece up to a real desktop.
Ghost is an x86-64 operating system written in C, C++, and assembly. Independently developed (not based on Linux, BSD, or any other existing OS), it pairs a microkernel with userspace drivers and the ƒenster desktop. The project ships ISO releases, documentation, and a build path that produces a bootable target/ghost.iso.
✨ Highlights
- Microkernel core: SMP kernel with ELF/shared-library loading, tasks, IPC, and memory management.
- Userspace toolchain:
libapisyscall wrappers, a C runtime, and anx86_64-ghostGCC toolchain. - Hardware and filesystem services: PCI, ACPI, PS/2, AHCI, FAT, boot-framebuffer, and VMSVGA services.
- ƒenster desktop stack: Window server/UI toolkit, desktop, terminal, shell, editor, and file browser.
- Ported libraries: Cairo, FreeType, Pixman, libpng, zlib, and musl mathematical routines.
- Build and boot flow: Docker-based toolchain setup,
./build.sh --cito producetarget/ghost.iso, bootable withqemu-system-x86_64. - Persistent install: Installer copies the live system to an empty AHCI disk for persistent FAT-backed boot.
💡 Why it matters
Ghost shows a full vertical slice of OS work, not just a kernel demo. It moves from microkernel primitives (tasks, IPC, memory management) up through userspace services to a usable ƒenster desktop, with familiar graphics and math libraries ported in.
Best fit for OSdev learners and tinkerers who want to study or run a self-contained x86-64 system. Independent codebase makes architecture choices easier to trace than in a Linux/BSD-derived tree.
#OSDev #Microkernel #x86_64 #HobbyKernel #TiniX
Similar Projects
Discover other similar projects and AI models.
A next-generation cloud native kernel designed to unlock best-in-class performance, security primitives and efficiency savings.
Lightweight, Linux-compatible kernel, written in Rust to leverage the safety of the typesystem. Aiming to remove as much legacy as possible while supporting most usecases
A curated list of awesome things related to HarmonyOS. 华为鸿蒙操作系统。
Learning operating system development using Linux kernel and Raspberry Pi