A portable kernel written in Rust.
- Install Rust via
rustup
.
Instructions are available here.
- Install
bootimage
.
cargo install bootimage
- Build the kernel.
cargo bootimage --target x86_64-deus.json -Zbuild-std
Run the disk image using QEMU through bootimage
(requires qemu-system-x86
).
cargo bootimage run
Alternatively, run the generated disk image using QEMU directly.
qemu-system-x86_64 -drive format=raw,file=target/x86_64-deus/debug/bootimage-deus.bin
Alternatively, write the disk image to an external device to boot it on a real machine.
dd if=target/x86_64-deus/debug/bootimage-deus.bin of=/dev/MY_DEVICE && sync
Deus is licensed under the GNU Lesser General Public License version 3 (see LICENSE
).
As a general guide, this means that:
-
Deus may be used in commercial settings
-
Contributions to Deus must fall under the same license
-
Distributed modifications to the project must have their source disclosed
For more detailed information, see here.