mayant15 / bottleos

A bare bones OS kernel made for educational purposes
MIT License
1 stars 1 forks source link
kernel os

BottleOS

build clippy

Teaching myself OS internals by building a kernel.

Build

Get build requirements

# Compile the limine submodule
./setup.sh

# Use Rust nightly for experimental features
rustup override set nightly

# Recompile core libraries
rustup component add rust-src

# For using the bootloader package
rustup component add llvm-tools-preview

And build with cargo

cargo build

The repo also contains a few helper scripts to help build a bootable ISO (iso.sh) and for running it with QEMU (run.sh).

Documentation

The complete documentation can be found here

References