This is based on Philipp Oppermann's excellent series of blog posts. It's purely a learning exercise.
First, we need to check out the source and install bootimage
:
# Get our source code.
git clone https://github.com/yogesum/zoros.git
cd zoros
# Set up a Rust compiler.
curl https://sh.rustup.rs -sSf | sh
rustup update nightly
rustup override set nightly
# Install bootimage from crates
cargo install bootimage
# Install qemu
sudo apt-get install qemu
From here, we should be able to build a kernel and run it using QEMU:
bootimage run
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.