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.
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
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 nightlysudo 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 nightlyInstall 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.
cargo install --git https://github.com/NeoDOS-Project/NeoDev.git
# Check that it is available
neodev --helpClone and boot
The main repository contains the kernel, bootloader, drivers, userland and documentation.
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 testNeoDev commands
Commands run from the repository root and read their configuration from neodev.toml.
| Command | Description |
|---|---|
| neodev build --image | Builds bootloader, kernel, userland and the full GPT image. |
| neodev build --quick --image | Incremental rebuild of kernel + bootloader + image. |
| neodev run | Boots QEMU with OVMF, serial console and GDB listening on :1234. |
| neodev test | Runs the automated kernel suite (997 tests). |
| neodev list | Discovers the workspace projects and their targets. |
| neodev check-deps | Verifies that layer dependencies only flow downwards. |
| neodev clean | Removes build artifacts and generated images. |
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.
[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"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.