motet-a / chaos

My own implementation of a kernel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ChaOS Build Status

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.

Build Dependencies

  • nasm
  • make
  • gcc or clang
  • grub-mkrescue and xorriso (generally packed with other binaries as grub)
  • 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

Building an iso

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

Running with QEMU

If you want to run ChaOS through QEMU even if it's boring & useless right now, run

make run

🚀 Wanna participate?

Fork me!

About

My own implementation of a kernel

License:GNU General Public License v2.0


Languages

Language:C 86.4%Language:Assembly 8.5%Language:Shell 3.5%Language:Makefile 1.6%