I have a problem and can't find anything about it: I am using grub2 to boot my kernel on bochs. So far it works - But whenever I set the multiboot2 framebuffer header tag, grub2 in bochs is only displaying a console, instead of loading my kernel. When I remove the framebuffer header tag, it works again.
I made sure I only request a video mode which grub2 is reporting as supported by modeinfo, but even that doesn't work.
Here is my Header:
Code: Select all
.section ".multiboot"
.align 8
_multiboot_header:
.long MULTIBOOT2_HEADER_MAGIC # Multiboot magic number
.long MULTIBOOT2_ARCHITECTURE_I386 # Architecture (0 = i386)
.long _multiboot_header - _multiboot_header_end # Size of Headers
.long -MULTIBOOT2_HEADER_MAGIC - MULTIBOOT2_ARCHITECTURE_I386 - (_multiboot_header - _multiboot_header_end) # Checksum
.short MULTIBOOT2_HEADER_TAG_FRAMEBUFFER # Type 5 = Framebuffer request
.short MULTIBOOT2_HEADER_TAG_OPTIONAL # Flags
.long 20 # Size
.long 1024 # Width
.long 768 # Heigth
.long 32 # Depth
.short MULTIBOOT2_HEADER_TAG_MODULE_ALIGN # Type 6 = Modules must be page aligned
.short MULTIBOOT2_HEADER_TAG_MANDATORY # Flags
.long 8 # Size
.short MULTIBOOT2_HEADER_TAG_END # Type 0 = end of tags
.short MULTIBOOT2_HEADER_TAG_MANDATORY # Flags
.long 8 # Size
_multiboot_header_end:
Best regards
Sebi