问题已经解决,我把菜单文件保存为UTF-8就可以了 作者: ge 时间: 2021-2-15 16:41
我也不懂!以前下载的一个GRUB2的安装包,里面看到的
#加载unicode字体显示中文
font=(memdisk)/boot/grub/fonts/unicode.pf2
if loadfont $font; then
set gfxmode=1366x768
set locale_dir=(memdisk)/boot/grub/locale
set lang=zh_CN
fi
有个unicode.pf2文件作者: ge 时间: 2021-2-15 16:41
我看了下UEFI/BIOS都是这样的作者: ge 时间: 2021-2-15 16:50
你可以在论坛上下载个,看看就知道了,我也不懂作者: AndyChen 时间: 2021-2-15 17:42
问题已经解决,我把菜单文件保存为UTF-8就可以了
我的菜单如下:
source $prefix/run/run.cfg
terminal_output gfxterm
loadfont unicode
theme=elegant/theme.txt
timeout=10
default=1
set superusers="AndyChen"
password AndyChen 88888888
menuentry "1.启动 WIN10 OS A" --class windows --hotkey=1 --users "" {
if search --file --set --no-floppy /efi/WIN10_A_CHILD/bootmgfw.efi; then
chainloader /efi/WIN10_A_CHILD/bootmgfw.efi;
fi
}
menuentry "2.启动 WIN10 OS B AUTO RESTORE" --class windows --hotkey=2 --unrestricted {
if search -n -s -f /VHD/CHILD.1; then
if search --file --set --no-floppy /efi/WIN10_B_CHILD1/bootmgfw.efi; then
chainloader /efi/WIN10_B_CHILD1/bootmgfw.efi;
fi
elif search -n -s -f /VHD/CHILD.2; then
if search --file --set --no-floppy /efi/WIN10_B_CHILD2/bootmgfw.efi; then
chainloader /efi/WIN10_B_CHILD2/bootmgfw.efi;
fi
fi
}
menuentry "3.启动 WINPE" --class windows --hotkey=3 --users "" {
if search --file --set --no-floppy /efi/WINPE/bootmgfw.efi; then
chainloader /efi/WINPE/bootmgfw.efi;
fi
} 作者: AndyChen 时间: 2021-2-15 17:44
ge 发表于 2021-2-15 16:41
我也不懂!以前下载的一个GRUB2的安装包,里面看到的
#加载unicode字体显示中文
font=(memdisk)/boot/gru ...