forked from AbleOS/ableos
GKGOAT FORK: A non-unix-like micro-kernel written in rust! Support for this OS is not currently planned by portal, if you want, use https://github.com/portal-co/portal instead.
TheOddGarlic
10646959fa
These repbuild subcommands mount the filesystem root to the userland/root_fs/mnt folder, and this makes editing the initial file system easier. This also renames userland/root_rs to userland/root_fs. |
||
---|---|---|
.cargo | ||
.github/workflows | ||
.vscode | ||
ableos | ||
facepalm | ||
kernel | ||
repbuild | ||
shadeable | ||
userland | ||
.gitignore | ||
data.txt | ||
LICENSE | ||
README.md | ||
rust-toolchain |
ableOS
Set up
Install Qemu
On Windows be sure to add
C:\Program Files\qemu
to yourPATH
variable
rustup component add rust-src
rustup component add llvm-tools-preview
cargo install bootimage
Running
repbuild can be used to run and build docs for able os
cargo repbuild doc
cargo repbuild run
Testing on real hardware
I recommend using an old x86_64 computer
cargo run --release
to generate a binary image that is bootable- flash it to a USB device via
dd
or balenaEtcher - Remove said USB device and plug into test machine
- assure test machine boots from USB devices