GRUB: drop `insmod vbe`
authorMichael Prokop <mika@grml.org>
Thu, 22 Nov 2018 23:12:27 +0000 (00:12 +0100)
committerMichael Prokop <mika@grml.org>
Thu, 22 Nov 2018 23:12:27 +0000 (00:12 +0100)
When booting in EFI mode this error message is visible for a
very short period of time:

| error: file `/boot/grub/x86_64-efi/vbe.mod' not found

This is annoying, especially because it's hard to read and identify.

It's for sure not relevant within Secure Boot mode, as it's forbidden
there. Let's also disable it by default for Non-Secure-Boot-mode,
if it's relevant for anyone or on specific systems we'll find out.

templates/boot/grub/header.cfg
templates/secureboot/grub.cfg

index 2b78bbc..fe6382d 100644 (file)
@@ -5,7 +5,6 @@ if loadfont /boot/grub/ascii.pf2 ; then
    insmod png
    set gfxmode=auto
    insmod gfxterm
-   insmod vbe
    terminal_output gfxterm
 fi
 
index b5010f3..a56033d 100644 (file)
@@ -27,8 +27,6 @@ else
     insmod efi_uga
     insmod gfxterm
     insmod png
-    # this is forbidden to be loaded under Secure Boot:
-    #insmod vbe
     terminal_output gfxterm
   fi