Files
x86-bare-metal-examples/multiboot/osdev
2015-09-11 12:12:31 +02:00
..
2015-09-11 12:12:31 +02:00
2015-09-11 12:12:31 +02:00
2015-09-11 12:12:31 +02:00
2015-09-11 12:12:31 +02:00
2015-09-11 12:12:31 +02:00

Hello world multiboot C

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

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.