From a0363077d24832007bb2469d2374c9deab338200 Mon Sep 17 00:00:00 2001 From: Gary Lin Date: Fri, 12 Sep 2025 15:49:29 +0800 Subject: [PATCH] Reset to the text console before exiting grub2 (bsc#1248167) The 'Boot from Hard Disk' menu entry exits grub2 and gives back the control to the system firmware, e.g. BIOS or UEFI. Without resetting the terminal output to the text console, SeaBIOS may not clean up the screen and output messages correctly. Signed-off-by: Gary Lin --- live/config-cdroot/fix_bootconfig.x86_64 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/live/config-cdroot/fix_bootconfig.x86_64 b/live/config-cdroot/fix_bootconfig.x86_64 index 3fbadfbe61..26101c3a95 100755 --- a/live/config-cdroot/fix_bootconfig.x86_64 +++ b/live/config-cdroot/fix_bootconfig.x86_64 @@ -85,6 +85,9 @@ menuentry "Boot from Hard Disk" --class opensuse --class gnu-linux --class gnu - fi done fi + if [ "${grub_platform}" != "efi" ]; then + terminal_output console + fi exit } menuentry "Install $label" --class os --unrestricted {