« BackMinimal x86 Kernel Ziggithub.comSubmitted by lopespm 4 hours ago
  • csense 2 hours ago

    Very neat. To clarify, Qemu can boot it, but I'm pretty sure you need some bootloader (e.g. Grub) to boot it on a physical system.

    • toast0 an hour ago

      Looks like it's multiboot compliant, so you can pick your favorite multiboot loader. ipxe, grub, pretty sure there's some other ones out there.

      As it's multiboot, it should likely run on v86 too. It's always fun to have an in browser demo of a little OS like this.

      • anta40 42 minutes ago

        If you want to use Grub, this tutorial works (see "Booting the kernel"):

        https://wiki.osdev.org/Zig_Bare_Bones

        Yes, just tried it.

        • flopsamjetsam an hour ago

          From the GitHub page:

          > It boots on an x86 (i386) machine via the Multiboot 1 protocol

          Yes, it does need a compliant bootloader on virtual or physical hardware.

        • throwaway27448 an hour ago

          Why choose intel? Let's build bootable software in 2026

          • xx__yy 30 minutes ago

            I'm not that cluey, but from the README it sounds like it can be compiled for a bunch of arches

          • xx__yy 33 minutes ago

            Gold! I see Zig, I upvote!

            • ajxs 2 hours ago
              • xx__yy 32 minutes ago

                Thanks for sharing

                • anta40 2 hours ago

                  Both tutorials work fine on latest stable zig (0.15.2)