Do not flag MULTIBOOT_VIDEO_INFO in multiboot header
We do not populate the video mode fields in the multiboot header, therefore we should not request the boot loader to go looking for this information. This is required to boot MentOS using GRUB. Tested with v2.04.
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ MULTIBOOT_VIDEO_MODE equ 0x00000004
|
||||
|
||||
; This is the flag combination that we prepare for Grub
|
||||
; to read at kernel load time.
|
||||
MULTIBOOT_HEADER_FLAGS equ (MULTIBOOT_PAGE_ALIGN | MULTIBOOT_MEMORY_INFO | MULTIBOOT_VIDEO_MODE)
|
||||
MULTIBOOT_HEADER_FLAGS equ (MULTIBOOT_PAGE_ALIGN | MULTIBOOT_MEMORY_INFO)
|
||||
; Grub reads this value to make sure it loads a kernel
|
||||
; and not just garbage.
|
||||
MULTIBOOT_CHECKSUM equ -(MULTIBOOT_HEADER_MAGIC + MULTIBOOT_HEADER_FLAGS)
|
||||
|
||||
Reference in New Issue
Block a user