File tree:
Code: Select all
-iso:
-boot:
-boot32.bin
-grub:
grub.cfg
menuentry "OS" {
multiboot /boot/boot32.bin
boot
}
The command I'm using to make the image:
grub-mkrescue --modules="multiboot biosdisk iso9660 sh" -o boot.iso iso
When I try this, GRUB brings up its menu with the proper entry, but it gives the error "unsupported flag: 0xb."
Running the code with qemu's -kernel flag works just fine, so I'm not sure what could be wrong. I'm thinking that my Multiboot header might be misaligned, but that seems doubtful because it's right at the beginning of the .text section.