bigos — barely implemented general operating system
You have to install the following tools yourself:
- qemu
- llvm tools
bootimagetool:cargo install bootimage
If you are on Debian system, install the required packages with:
sudo apt-get install -y qemu-system-x86 llvm-14-tools- lefthook: for pre-commit and pre-push hooks.
To install the hooks:
- install lefthook
- run
lefthook installin the project root
If you want to skip hooks, use git commit --no-verify or git push --no-verify
- Using
bootimage runner:
- build and run the kernel:
cargo run
- Running qemu explicitly:
- build the kernel:
cargo build - run qemu:
qemu-system-x86_64 -drive format=raw,file=target/x86_64-bigos/debug/bootimage-bigos.bin