My Simple OS(chinthy OS)

K.G.C.Chathuranga
2 min readJul 26, 2020

--

As an undergraduate student I have created a simple operating system(OS) “chinthy OS” as one of my assignment and this article about that.I used windows as my operating system so first of all I have to install a virtual-box and install Ubuntu in it. However having some knowledge of assembly language is very helpful for understand some function to creating this.

Before starting we have to install QEMU emulator and nasm as prerequisites. To install them we can run the following code in terminal.

sudo apt-get install build-essential qemu nasm

For develop “chinthy OS” I mainly referred the reference material that provided about JOSH operating system. As shown in there I created the kernel.asm file. Then I want a bootloader program to boot this OS. So I Used the bootloder.asm from the JOSH.(JOSH is an operating system that created for educational purpose)

Next step is compiling the program. For compile the program I used build-linux.sh of JOSH because it is more essay to run. By using following command we can compile the program.

sudo bash ./build-linux.sh

Then we can run the OS in QEMU emulator by using this commend

qemu-system-x86_64 -cdrom disk_images/chinthyOs.iso

Then after I run this OS by installing in virtual-box.

I think it would be a big mistake if I will not mention the references.

References :

Source code :

You can find the “chinthy OS” source code from git hub.

--

--

K.G.C.Chathuranga

Undergraduate student of Software engineering-University of Kelaniya.