Files
x86-bare-metal-examples/hello-world-multiboot-c/README.md
2015-09-06 16:22:10 +02:00

845 B

Hello world multiboot C

Originally from: http://wiki.osdev.org/Bare_Bones, should be a reasonable way to start a serious OS.

TODO get working

sudo aptitude install -y build-essential gcc-multilib qemu xorriso
make run

QEMU opens the boot menu, but if I select main it fails with: "no multiboot header found". Things which might be wrong:

  • not using cross compiler
  • generated .bin does not contain the multiboot section. TODO why?

Related questions:


A hello world, with multiboot and a C interface.

The multiboot interface is prepared in GAS assembly.

Generates a bootable disk image by using grub-mkrescue on the multiboot binary.