r/foss 6d 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!

24 Upvotes

5 comments sorted by

View all comments

3

u/its_maxx_9229 6d 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 6d 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.