[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Booting in text mode under GRUB2/EFI

From: Udo Steinberg
Subject: Booting in text mode under GRUB2/EFI
Date: Thu, 8 Dec 2011 16:27:59 +0100

[ Please CC: me as I'm not subscribed to the list ]


I'm trying to load a multiboot2-compliant OS kernel using GRUB2-1.99 on a UEFI
machine in 80x25 text mode. However, I'm getting the following error message:

        "OS requires a console but none is available"

The kernel includes the MULTIBOOT_HEADER_TAG_CONSOLE_FLAGS tag in the
multiboot header with console flags set to

The kernel does NOT include a MULTIBOOT_HEADER_TAG_FRAMEBUFFER tag, because
a graphical console is not desired.

The relevant code in grub-core/loader/multiboot.c that causes load failure is:

grub_multiboot_set_console (int console_type, int accepted_consoles,
                            int width, int height, int depth,
                            int console_req)
  console_required = console_req;
  if (!(accepted_consoles 

Because GRUB_MACHINE_HAS_VGA_TEXT is not set for an EFI platform in
include/grub/multiboot.h, this causes the only available console
GRUB_MULTIBOOT_CONSOLE_EGA_TEXT to be removed from accepted_consoles.

So my question:
Is 80x25 text mode not supported with GRUB2 on the EFI platform? Otherwise,
how do I convince GRUB2 to boot the kernel in text mode?


        - Udo

Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]