+
Skip to content

ottogiron/ottoos

Repository files navigation

OttoOS Toy OS kernel

This is a simple implementation of a kernel using as (gnu assembler) and c++.

Dependencies

The kernel must be built on a Linux machine (tested on ubuntu 16.04 xenial vagrant machine).

Install the dependencies:

$ sudo apt-get install g++ binutils libc6-dev-i386

Install and configure the kernel

to build and install the kernel (mykernel.bin)

$ sudo make install

note: it will show some warnings but it should work

the kernel should be under /boot with name mykernel.bin

ls /boot

Add the grub entry for the kernel

$ sudo vim /etc/grub.d/40_custom

add the following at the end of the file:

menuentry 'OttoOS' {
    multiboot /boot/mykernel.bin
    boot
}

apply the grub configuration

sudo update-grub

Restart your machine and you should see the "OttoOS" entry

ottoos_grub

ottoos_output

About

Simple as (gnu assembler) and c++ kernel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载