Get started

Build the kernel.
Boot the system.

NeoDOS builds on Linux with Rust nightly and boots in QEMU with OVMF. NeoDev handles the bootloader, the GPT image, userland and tests.

Rust nightlyQEMU + OVMFExperimental
Step 1

Prepare the environment

You need a Linux host, Rust nightly with the bare-metal targets, and the virtualization tools.

  • Rust nightly + the x86_64-unknown-none and x86_64-unknown-uefi targets
  • QEMU (system x86_64) and the OVMF firmware
  • util-linux (sfdisk) to generate the GPT table
  • GDB, optional, to debug the kernel on :1234
  • git and the GitHub CLI if you plan to clone and contribute
bash — Fedora / RHEL
sudo dnf install qemu-system-x86 ovmf util-linux gdb git

rustup toolchain install nightly
rustup target add x86_64-unknown-none x86_64-unknown-uefi --toolchain nightly
bash — Debian / Ubuntu
sudo apt install qemu-system-x86 ovmf util-linux gdb git

rustup toolchain install nightly
rustup target add x86_64-unknown-none x86_64-unknown-uefi --toolchain nightly
Step 2

Install NeoDev

NeoDev is the project’s external toolchain. It builds every component with the right target, generates the disk image and orchestrates QEMU and the tests.

bash — install NeoDev
cargo install --git https://github.com/NeoDOS-Project/NeoDev.git

# Check that it is available
neodev --help
NeoDev does not publish releases on crates.io yet. Installing from the Git repository is the recommended path, and you can pin a specific revision.
Step 3

Clone and boot

The main repository contains the kernel, bootloader, drivers, userland and documentation.

bash — build, run and test
gh repo clone NeoDOS-Project/NeoDOS
cd NeoDOS

# kernel + bootloader + userland + GPT image
neodev build --image

# QEMU + OVMF + GDB :1234
neodev run

# test suite (997/997)
neodev test
Rebuild the image before testing. neodev test loads the kernel.elf at the project root. If disk_image.img gets dirty after an interactive boot, run neodev build --image and retry the tests.
Reference

NeoDev commands

Commands run from the repository root and read their configuration from neodev.toml.

CommandDescription
neodev build --imageBuilds bootloader, kernel, userland and the full GPT image.
neodev build --quick --imageIncremental rebuild of kernel + bootloader + image.
neodev runBoots QEMU with OVMF, serial console and GDB listening on :1234.
neodev testRuns the automated kernel suite (997 tests).
neodev listDiscovers the workspace projects and their targets.
neodev check-depsVerifies that layer dependencies only flow downwards.
neodev cleanRemoves build artifacts and generated images.
Configuration

Tune the virtual machine

neodev.toml defines partition sizes, memory, CPUs and the OVMF firmware path. Defaults: 512 MB RAM, 2 CPUs and user-mode networking.

If you prefer VirtualBox, the repository includes a dedicated setup and boot guide.

toml — neodev.toml (excerpt)
[project]
esp_size_mb      = 100
neodos_size_mb   = 100
gpt_padding_mb   = 12
kernel_target    = "x86_64-unknown-none"
bootloader_target = "x86_64-unknown-uefi"

[vm]
backend = "qemu"
memory  = 512
cpus    = 2
network = "user"

[qemu]
kvm  = false
bdm  = false
ovmf_code = "/usr/share/OVMF/OVMF_CODE.fd"
ovmf_vars_template = "/usr/share/OVMF/OVMF_VARS.fd"
Next step

Read the roadmap before touching the kernel.

Every feature, fix or refactor lives in its own branch and references an issue. GitHub Issues is the official planning system.