arjun024/mkernel
arjun024/mkernel has 1,339 GitHub stars and 162 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-09 05:43 UTC. Last push 2021-04-27.
A minimalist kernel
Measured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Originalmkernel
This is a minimalist kernel which prints "my first kernel" on the screen and then hangs.
- The kernel is multi-boot compliant and loads with GRUB.
Blog post
Kernel 101 – Let’s write a Kernel
Build commands
nasm -f elf32 kernel.asm -o kasm.o
gcc -m32 -c kernel.c -o kc.o
ld -m elf_i386 -T link.ld -o kernel kasm.o kc.o
Test on emulator
qemu-system-i386 -kernel kernel
Get to boot
GRUB requires your kernel executable to be of the pattern kernel-<version>.
So, rename the kernel:
mv kernel kernel-701
Copy it to your boot partition (assuming you are superuser):
cp kernel-701 /boot/kernel-701
Configure your grub/grub2 similar to what is given in _grub_grub2_config folder.
Reboot.
Voila!

The next step
See mkeykernel repo
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
561,292 starspublic-apis/public-apis
A collective list of free APIs
497,545 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
446,251 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,240 stars