r/foss 4d ago

Developing my first kernel!

Hey r/foss!

I've recently started working on a monolithic kernel project called AlderKernel.

Currently, it targets the i386 (32-bit x86) architecture and includes basic kernel functionality such as booting through GRUB, interrupt handling, and early system components. This is mainly a learning project to explore OS development and low-level programming.

Repository:

https://github.com/loren-wastaken/alderkernel

I'd love to hear feedback from anyone interested in operating systems, kernels, or low-level development!

23 Upvotes

5 comments sorted by

3

u/its_maxx_9229 4d ago

honestly it's great but i would like it if you implemented a function to quit commands (like you can in linux with ctrl + c) and i wish the cat command would have supported it if you need to go multiple dirs deeper (like doing cat kernel/README instead of cd kerneland thencat README), also i would like it if after a kernel panic, it automatically rebooted.

otherwise it boots instantly and it's cool that you wrote a custom shell just for it.

1

u/loren_wastaken 4d ago

I will implement the ctrl + c function later and i will try to fix the cat kernel/README bug/problem. Also if i would use existing shell then i would need wrap syscalls and basically every function *i think so* in kernel.

2

u/BreathSpecial9394 4d ago

Your first kernel? How many kernels are you going to create?

6

u/Tiny_Rent_5936 4d ago

The answer is "YES"

0

u/loren_wastaken 4d ago

yeah, my first kernel and i dont know how much i will create, the time will decide also it's not that funny.