我用“”GRUB2三启IOS制作” 制作了了“GRUB4DOS_GRUB2_X86_X64-EFI.ISO”,用qemu启动测试,biso启动能用上themes主题,而64efi、32efi启动都不能用上主题。我没有改任何cfg配置文件内容。cfg里面的设置主题或背景图片的语句都是一样的。怎么bios启动有主题,efi启动就没有主题,只能是else语句后的背景。
#设置主题或背景图片
if search --no-floppy -f /boot/grub/themes/StylishDark/theme.txt; then
set theme=/boot/grub/themes/StylishDark/theme.txt
else
background_image /boot/grub/background.png
set color_normal=red/black
set color_highlight=magenta/black
fi