Simple UEFI OS Bootloader

Wrote a basic real mode OS back when I was in high school and wanted to see what OS dev was like for modern systems. Not too many simple examples of how to boot into a Kernel so built a Bootloader in Zig.

Threw in an ultra basic C kernel stub as a demonstration - I should convert that to Zig too.

All dev on a MacBook with a Windows VM just for running VIrtualBox, as editing the bootable VHD image was super simple on Windows. (Drag and drop kernel + boot loader onto the disk and click run)

4 Likes

Cool I’ve been wanting to look at a standalone project that makes a UEFI compatible bootloader, especially one that leverages Zig and it’s build system. I might try to take it for a spin.

2 Likes