Giter Site home page Giter Site logo

kos's Introduction

kOS

Hello everybody! With this project I am getting myself into OS development. And I will do this by writing a small OS. kOS (spoken like chaos) stands for kschmidster OS. Yeah, I know very creativ. The OS will not have many features. For at most it will have a terminal like 'GUI' if you will, and you will only be able to do the most basic things. We will see where it leads me, but my goal here is just to learn more about OS development.

Discaimer: The code I am writting here might not be optimal or even correct. So if you run this code on your machine it could potentially harm your hardware. I do not take any responsibilities if your hardware breaks.

Build kOS

I use Visual Studio Code on Windows 10. There I use WSL (Windows Subsystem for Linux) with Ubuntu 20.04 LTS to compile the OS. On Ubuntu I had to install a few programms to make it work.

sudo apt-get install -y make grub-common grub-pc build-essential xorriso nasm

Since WSL runs a very basic Ubuntu you have to install make. We also use the bootloader GRUB to boot the OS. For that we need grub-common and grub-pc. The build-essentioal for the compiler and also nasm to build the assembler files. xorriso is used to together with GRUB to build a bootable ISO file.

If all those programms are installed you can simply run

make 

to build the OS.

Run kOS

I use VirtualBox to run my OS. Simply create a VM with no hard disk (at the moment we do not need one) and 64MB of RAM (which at this poit is way enough). Select the built ISO file and boot the VM. If you see a 'Hello World!' on a green background everything worked.

To start my VM after the setup I use git-bash

/c/and/wherever/VirtualBoxVM.exe --startvm kOS_x86

to launch the OS

kos's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.