Revert "core: 使用 grub 2.12"

hyper-v 无法启动 grub 2.12 生成的 efi
This commit is contained in:
bin456789 2023-12-23 23:46:02 +08:00
parent 57f560dbab
commit f34b199bd8
No known key found for this signature in database
GPG Key ID: EE301B386DE6C11B

View File

@ -1081,7 +1081,7 @@ install_grub_linux_efi() {
install_grub_win() {
# 下载 grub
info download grub
grub_ver=2.12
grub_ver=2.06
is_in_china && grub_url=https://mirrors.tuna.tsinghua.edu.cn/gnu/grub/grub-$grub_ver-for-windows.zip ||
grub_url=https://ftpmirror.gnu.org/gnu/grub/grub-$grub_ver-for-windows.zip
curl -Lo /tmp/grub.zip $grub_url