Skip to content

Commit a036307

Browse files
committed
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 <glin@suse.com>
1 parent 8a724db commit a036307

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

live/config-cdroot/fix_bootconfig.x86_64

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ menuentry "Boot from Hard Disk" --class opensuse --class gnu-linux --class gnu -
8585
fi
8686
done
8787
fi
88+
if [ "${grub_platform}" != "efi" ]; then
89+
terminal_output console
90+
fi
8891
exit
8992
}
9093
menuentry "Install $label" --class os --unrestricted {

0 commit comments

Comments
 (0)