Skip to content

Latest commit

 

History

History
66 lines (40 loc) · 1.13 KB

README.md

File metadata and controls

66 lines (40 loc) · 1.13 KB

RustKernel

RustKernel latest progress

Getting Started

Follow these steps to build and run the RustKernel project. Ensure that you have Rust installed on your system. If not, you can install it from rustup.rs.

Prerequisites

Make sure you have Rust nightly installed:

rustup override set nightly

Building the Project

To build the project, run:

cargo build

Creating a Bootable Disk Image

To create a bootable disk image, use the following command:

cargo bootimage

Installing QEMU

If you don't have QEMU installed, you can install it using Homebrew:

brew install qemu

Running the Disk Image on QEMU

Finally, to run the disk image on QEMU, use the command:

qemu-system-x86_64 -drive format=raw,file=target/x86_64-RustKernel/debug/bootimage-RustKernel.bin

To run all the tests, use the command:

cargo test

To run the OS in QEMU, use the command:

cargo run