Skip to content
/ kaos Public

Small, amateur operating system written in C, for learning the basics.

Notifications You must be signed in to change notification settings

cgerardin/kaos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

Overview

Small amateur operating system, to discover the basics.

screenshot.png

Quick start

1 - Dependencies

First, ensure that all dependencies are installed :

Debian / Ubuntu / Windows 10 Linux's subsystem

# apt install git make clang gnu-efi mtools qemu-system-x86 ovmf parted

Fedora

# dnf install git make clang gnu-efi gnu-efi-devel mtools qemu-system-x86 edk2-ovmf parted

2 - Get the source code

Clone the GIT repository :

All distributions

$ git clone https://cgerardin@bitbucket.org/cgerardin/kaos.git

3 - Build and run

Build the kernel, copy it into a disk image and run it in QEMU :

Fedora

  • First, adapte the Makefile according to the comments marked 'Fedora :'.

Windows 10 Linux's subsystem

  • First, install and run an X server like VcXsrv, then run :
$ export DISPLAY=$(awk '/nameserver / {print $2; exit}' /etc/resolv.conf 2>/dev/null):0
$ export LIBGL_ALWAYS_INDIRECT=1

All systems

$ cd kaos
$ make buildrun

About

Small, amateur operating system written in C, for learning the basics.

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages