Force the use of insmod all_video in grub.cfg so that we do not boot in blind mode in UEFI mode.

This commit is contained in:
Adrian Gibanel Lopez 2016-03-21 19:44:04 +01:00
parent f811656150
commit 2d61dcc53c
1 changed files with 9 additions and 0 deletions

View File

@ -87,6 +87,13 @@ Grub_live_autodetect_entry ()
LINUX_LIVE="${LINUX_LIVE}\n}"
}
Grub_live_video ()
{
LINUX_LIVE="${LINUX_LIVE}\ninsmod all_video\n"
}
if [ -e "config/bootloaders/grub-pc" ]
then
# Internal local copy
@ -201,6 +208,8 @@ do
done
IFS="$OLDIFS"
Grub_live_video
if [ -z ${FOUND_SYSLINUX} ]
then