Page 1 of 1

grub 0.97 + multiboot specification

Posted: Thu Apr 21, 2011 6:27 am
by 500mhz
Hi all

im set multiboot flags to 0x10007 (for non elf binary)

MB_HEADER_MAGIC equ 0x1BADB002
MB_HEADER_FLAGS equ 0x10007

_kheader:
dd MB_HEADER_MAGIC
dd MB_HEADER_FLAGS
dd -(MB_HEADER_MAGIC + MB_HEADER_FLAGS)
dd _kheader
dd _kheader
dd 0x0
dd 0x0
dd start
dd 0 LFB video mode
dd 640
dd 480
dd 8

but grub dont set gfx mode 640*480*8, what is wrong?


ps
sorry for bad english

Re: grub 0.97 + multiboot specification

Posted: Thu Apr 21, 2011 8:39 am
by Love4Boobies
GRUB won't do that without some patch, I'm afraid. Note that the Multiboot specification does not require this, it's only a recommandation (the word "should" is used, term defined in section 2 of the document). However, it shouldn't be the job of the boot loader to switch video modes, IMO.