ChaOS is a fun project that i'm doing to entertain myself during 2017's summer vacations.
It's a unix-like featureless kernel, that only supports x86 (Intel 32 bits). My goal is to end-up having a basic shell that can handle simple userland commands like ls
, cat
and echo
.
nasm
make
gcc
orclang
grub-mkrescue
andxorriso
(generally packed with other binaries asgrub
)qemu
(cpu emulator) optional
If you are using apt-get
as your package manager (Debian
, Ubuntu
etc.), you can use this command to install all dependencies:
apt-get install qemu grub-pc-bin xorriso nasm
If you are using pacman
as your package manager (ArchLinux
, Manjaro
etc.), you can use this command instead:
pacman -Sy qemu grub libisoburn nasm
If you are using an other package manager, well... Good luck! :p
To build the kernel, run
make kernel
To build a complete iso with grub installed (suitable for USB flash drives or virtual machines), run
make iso
If you want to run ChaOS through QEMU even if it's boring & useless right now, run
make run
Fork me!