insmod efi_gop
insmod png
insmod jpeg
GRUB_GFXMODE=1280x1024x32
GRUB_BACKGROUND="$kdir/ironman.png"
This has no effect on the grub menu.
I've aslo tried insmod all_video. I know efi_gop should work because it works with Manjaro Linux and shows the supported screen resolutions with that mod.
What am I doing wrong? Is it even possible to change the resolution and display a background image in this version of grub.
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod video_bochs
insmod video_cirrus
fi
}
#if [ x$feature_default_font_path = xy ] ; then
#font=unicode
#else
##Scrapped if-then-else above required? - NO?
insmod part_msdos
search --no-floppy --set=root --label SYS/DRV
font=/boot/grub/fonts/unicode.pf2
fi
if loadfont $font ; then
set gfxmode=1280x1024x32
load_video
insmod gfxterm
set locale_dir=/boot/grub/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
insmod part_msdos
search --set=root --label SYS/DRV
### Begin Background setup ###
insmod png
set menu_color_normal=red/black
set menu_color_highlight=black/light-gray
if background_image /boot/grub/splash.png; then
true
else
set menu_color_normal=red/black
set menu_color_highlight=black/light-gray
fi
### END Background setup ###
### BEGIN setup graphics ###
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
### End setup graphics ###I also had to add the mods,font,and locales -whew!