From 13a3b367460930288d1632edaaa8e630ca8336d3 Mon Sep 17 00:00:00 2001 From: HimbeerserverDE Date: Fri, 16 Sep 2022 16:54:41 +0200 Subject: [PATCH] Fix build instructions --- README.md | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) 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. -- 2.44.0