Skip to content

Commit

Permalink
do not try to load uniconde font and background image
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrfai committed Jan 6, 2020
1 parent 809cf6c commit 485f081
Showing 1 changed file with 9 additions and 17 deletions.
26 changes: 9 additions & 17 deletions conf/grub.cfg.autodiscover
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,22 @@
set default="Boot OS from first partition on first disk"
set timeout=20

insmod all_video
if loadfont /boot/grub/unicode.pf2 ; then
insmod png
insmod gfxterm
set gfxmode=auto
fi

if background_image /boot/grub/fai.png ; then
set color_normal=black/black
set color_highlight=red/black
set menu_color_normal=black/black
set menu_color_highlight=black/yellow
else
set menu_color_normal=white/black
set menu_color_highlight=black/yellow
fi

# make sure we can access partitions
insmod part_msdos
insmod part_gpt
insmod all_video
insmod gfxterm

set gfxmode=auto
set color_normal=white/black
set color_highlight=red/black
set menu_color_normal=white/black
set menu_color_highlight=black/yellow

menuentry "" --unrestricted {
set timeout=20
}

menuentry " +------------------------------------------------------+" --unrestricted {
set timeout=20
}
Expand Down

0 comments on commit 485f081

Please sign in to comment.