Skip to content

Hrishavvv/kosos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kosos

Kosos or Kinda Okayish & Sluggish Operating System

Kosos is a small hobby OS made completely from scratch, it can read/write files using a FAT-like filesystem layout. It can do some basic maths and has its own set of commands for the kosos console. You can create files and write into them using a basic file editor. The KOSOS kernel is entirely made from scratch so this OS needs custom drivers for every other stuff and I'm still tryna figure out a lot of stuff :)

Kosos console

Build

make

Build a bootable image

make iso

The ISO will be written to build/kosos.iso.

Create a persistent disk image

make disk

This creates build/kosos-disk.img (16 MB raw IDE disk).

Run in QEMU

make run

Flashing & Running in VirtualBox

To test Kosos in VirtualBox or to write the ISO to a USB stick for real-hardware testing, follow these steps.

  • Run the ISO directly in VirtualBox:
# Create a new VM (Linux/Other 64-bit) and set the CD/DVD to use build/kosos.iso
# Recommended: EFI off, enable IO APIC, 1-2 CPUs, 512MB-1GB RAM
# Boot the VM and Kosos will start from the ISO
  • Write the ISO to a USB drive (careful: this will erase the drive). Replace /dev/sdX with your device:
sudo dd if=build/kosos.iso of=/dev/sdX bs=4M status=progress && sync
  • In VirtualBox you can also attach the USB drive to the VM (use the VirtualBox USB passthrough) and boot from it. Alternatively, configure the VM to boot from the virtual CD using the ISO file.

About

A simple Operating System built from scratch

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages