Small 32-bit x86 kernel project that boots via Multiboot, with a VGA text-mode fallback for diagnostics.
- i686-elf cross toolchain:
i686-elf-g++,i686-elf-as,i686-elf-ld - GRUB tools:
grub-mkrescue - A host system capable of building a 32-bit kernel (Linux recommended)
Build the ELF kernel:
make omskernel.elfBuild a bootable ISO (also cleans temporary build artifacts as part of the target):
make omskernel.isoInstall the ELF to /boot (requires sudo):
make installBoot omskernel.iso with your emulator or hypervisor of choice.
- The kernel expects a 32bpp linear framebuffer. If unavailable, it stays in text mode and prints a message.
- The ISO target generates a minimal GRUB config with
multiboot /boot/omskernel.elf.