summaryrefslogtreecommitdiff
path: root/config/binary_grub
diff options
context:
space:
mode:
Diffstat (limited to 'config/binary_grub')
-rw-r--r--config/binary_grub/grub.cfg10
1 files changed, 7 insertions, 3 deletions
diff --git a/config/binary_grub/grub.cfg b/config/binary_grub/grub.cfg
index 7ea53d0..be60ad3 100644
--- a/config/binary_grub/grub.cfg
+++ b/config/binary_grub/grub.cfg
@@ -5,10 +5,14 @@ set boot_en='boot=live config utc=yes locales=us'
set boot_de='boot=live config utc=no timezone=Europe/Berlin locales=de keyboard-layouts=de keyboard-variant=nodeadkeys'
if loadfont /boot/grub/unicode.pf2 ; then
- # set gfxmode=auto
set gfxmode=800x600
- insmod vbe
- insmod vga
+ if [ $efi != 1 ] ; then
+ insmod vbe
+ insmod vga
+ else
+ insmod efi_gop
+ insmod efi_uga
+ fi
insmod video_bochs
insmod video_cirrus
insmod gfxterm