From 05a5a702275822ac459d1327e1204814764e5ca7 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Fri, 23 Nov 2018 00:12:27 +0100 Subject: [PATCH] GRUB: drop `insmod vbe` 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 | 1 - templates/secureboot/grub.cfg | 2 -- 2 files changed, 3 deletions(-) diff --git a/templates/boot/grub/header.cfg b/templates/boot/grub/header.cfg index 2b78bbc..fe6382d 100644 --- a/templates/boot/grub/header.cfg +++ b/templates/boot/grub/header.cfg @@ -5,7 +5,6 @@ if loadfont /boot/grub/ascii.pf2 ; then insmod png set gfxmode=auto insmod gfxterm - insmod vbe terminal_output gfxterm fi diff --git a/templates/secureboot/grub.cfg b/templates/secureboot/grub.cfg index b5010f3..a56033d 100644 --- a/templates/secureboot/grub.cfg +++ b/templates/secureboot/grub.cfg @@ -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 -- 2.1.4