Skip to content

BastianAsmussen/ROS

Repository files navigation

ROS (Rust Operating System)

My very own OS written in Rust.

Table of Contents

Building

Cloning

You can clone the repository by running the following command:

$ git clone https://github.com/BastianAsmussen/ROS.git

Compilation

When building the OS, I recommend using devenv. You can compile the OS by running the following command:

$ cargo build --release

Running

You must have the bootimage crate installed to generate the bootable disk image, if using devenv, you don't need to do anything else.
Otherwise, you can install it by running the following command:

$ cargo install bootimage

QEMU

You can run the OS in QEMU by running the following command:

$ cargo run

Hardware

You can run the OS on real hardware by running the following commands:

Linux

$ cargo bootimage --release
# dd if=target/x86_64-ros/release/bootimage-os.bin of=/dev/sdX && sync

Where /dev/sdX is the device name of your USB drive.

About

My very own OS in Rust!

Resources

License

Stars

Watchers

Forks

Contributors

Languages