diff --git a/README.md b/README.md index 6082fce..2f31b68 100644 --- a/README.md +++ b/README.md @@ -60,16 +60,17 @@ and then run the `./copy_to_fs.sh` script to copy the built files to the filesys ``` note that the script will likely need to be run as root because of linux's requirements for fat32 filesystems; and more importantly that the script expects the binary files to be in the directories above in the build section. -after you do this, the filesystem should be ready for the kernel and you should be able to run a variant of the -following to run the kernel +after you do this, the filesystem should be ready for the kernel and you should be able to run the qemu start script +like so: (note that it may also require root) ```shell -qemu-system-riscv32 -machine virt -bios none -drive if=none,format=raw,file=/dev/loop0,id=disk1 -device virtio-blk-device,drive=disk1 -serial mon:stdio -m 5M -kernel target/riscv32imac-unknown-none-elf/release/lbos +./qemurun.sh /dev/loop0 # or whatever the loopback device you created is called, see losetup -a ``` (note that this will take over your terminal and steal CTRL+C, so you'll need to kill it by closing the terminal or manually killing the process) -in the shell you can currently do two things: +in the shell you can currently do the following: - `ls` will list files in the root directory +- `cd