From: HimbeerserverDE Date: Fri, 16 Sep 2022 14:54:41 +0000 (+0200) Subject: Fix build instructions X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=13a3b367460930288d1632edaaa8e630ca8336d3;p=loadnothing.git Fix build instructions --- diff --git a/README.md b/README.md index 1946d1a..424a0cb 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,27 @@ # loadnothing Can I run boot code? -Requires parted, dosfstools and qemu-system-x86. +Requires nasm, parted, dosfstools and qemu-system-x86. + +Rust nightly needs to be installed. If no nightly toolchain shows up +when you run `rustup toolchain list`, install it: + +```sh +rustup toolchain install nightly +``` + +# Building +Follow the instructions below to build the project without running it. + +```sh +rustup default nightly +rustup component add rust-src + +make nothing.img +``` + +# Running +Simply type `make` to build and run the project. +QEMU may require a VNC viewer. + +If it's working you should see "Hello Stage2!" on the screen.