From a69258f422491ebe5ca1c408ba3f040a9f294af4 Mon Sep 17 00:00:00 2001 From: bin456789 Date: Wed, 25 Oct 2023 14:19:27 +0800 Subject: [PATCH] =?UTF-8?q?core:=20=E8=AE=BE=E7=BD=AE=20win32-loader=20?= =?UTF-8?q?=E5=9B=BD=E5=86=85=E5=A4=96=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- reinstall.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reinstall.sh b/reinstall.sh index 1bccb89..995f0ca 100644 --- a/reinstall.sh +++ b/reinstall.sh @@ -904,7 +904,8 @@ install_grub_win() { # 解决方法2 生成少于64K的 g2ldr + 动态模块 # g2ldr.mbr - curl -LO http://ftp.cn.debian.org/debian/tools/win32-loader/stable/win32-loader.exe + is_in_china && host=ftp.cn.debian.org || host=deb.debian.org + curl -LO http://$host/debian/tools/win32-loader/stable/win32-loader.exe 7z x win32-loader.exe 'g2ldr.mbr' -o/tmp/win32-loader -r -y -bso0 find /tmp/win32-loader -name 'g2ldr.mbr' -exec cp {} /cygdrive/$c/ \;